Plugin Directory

Changeset 2060223


Ignore:
Timestamp:
03/30/2019 08:06:14 PM (7 years ago)
Author:
Antoniocampos
Message:

deprecated message

Location:
wp-costum-login-logo
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wp-costum-login-logo/branches/1.1/readme.txt

    r603888 r2060223  
    33Tags: login, admin, image, logo
    44Requires at least: 2.7
    5 Tested up to: 3.4.2
     5Tested up to: 5.1.1
    66Stable tag: 1.1
    77
     
    1010== Description ==
    1111
     12This plugin is deprecated! It works but no further development.
     13
    1214Just create one image called wp-custom-login-logo.png and put in the plugin folder. After this Activate the plugin.
    1315I've created this because i use wordpress as a CMS and sometimes users like their logo in the login form.
    14 For more plugins visit [My WP Blog](http://antoniocampos.no-ip.com)
     16For more plugins visit [my wordpress blog](https://antoniocampos.net)
    1517
    1618== Installation ==
  • wp-costum-login-logo/branches/1.1/wp-custom-login-logo.php

    r603888 r2060223  
    88Author URI: http://antoniocampos.no-ip.com
    99
    10  Copyright 2012  Antonio Campos  (email : [email protected])
     10Copyright 2012  Antonio Campos  (email : [email protected])
    1111
    12     This program is free software; you can redistribute it and/or modify
    13     it under the terms of the GNU General Public License as published by
    14     the Free Software Foundation; either version 2 of the License, or
    15     (at your option) any later version.
     12This program is free software; you can redistribute it and/or modify
     13it under the terms of the GNU General Public License as published by
     14the Free Software Foundation; either version 2 of the License, or
     15(at your option) any later version.
    1616
    17     This program is distributed in the hope that it will be useful,
    18     but WITHOUT ANY WARRANTY; without even the implied warranty of
    19     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    20     GNU General Public License for more details.
     17This program is distributed in the hope that it will be useful,
     18but WITHOUT ANY WARRANTY; without even the implied warranty of
     19MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     20GNU General Public License for more details.
    2121
    22     You should have received a copy of the GNU General Public License
    23     along with this program; if not, write to the Free Software
    24     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    25 */
    26 function login_css() { 
    27     echo '<style type="text/css">
    28     #login h1 a { background-image: url('.get_bloginfo('url').'/wp-content/plugins/wp-costum-login-logo/wp-custom-login-logo.png) !important; }
     22You should have received a copy of the GNU General Public License
     23along with this program; if not, write to the Free Software
     24Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     25 */
     26if (!defined('ABSPATH')) {
     27    exit;
     28}
     29function login_css()
     30{
     31    echo '<style type="text/css">
     32    #login h1 a { background-image: url(' . get_bloginfo('url') . '/wp-content/plugins/wp-costum-login-logo/wp-custom-login-logo.png) !important; }
    2933    </style>';
    3034}
    3135add_action('login_head', 'login_css');
    3236
    33 function my_login_logo_url() {
    34     return get_bloginfo( 'url' );
     37function my_login_logo_url()
     38{
     39    return get_bloginfo('url');
    3540}
    36 add_filter( 'login_headerurl', 'my_login_logo_url' );
     41add_filter('login_headerurl', 'my_login_logo_url');
    3742
    38 function my_login_logo_url_title() {
     43function my_login_logo_url_title()
     44{
    3945    return '';
    4046}
    41 add_filter( 'login_headertitle', 'my_login_logo_url_title' );
    42 
    43 ?>
     47add_filter('login_headertitle', 'my_login_logo_url_title');
  • wp-costum-login-logo/tags/1.1/readme.txt

    r2060222 r2060223  
    11=== WP Custom Login Form Image ===
    2 Contributors: antoniocampos
     2Contributors: Antoniocampos
    33Tags: login, admin, image, logo
    44Requires at least: 2.7
     
    66Stable tag: 1.1
    77
    8 This plugin changes the image in the top of login form.
     8[deprecated] This plugin changes the image in the top of login form.
    99
    1010== Description ==
    1111
     12This plugin is deprecated! It works but no further development
     13
    1214Just create one image called wp-custom-login-logo.png and put in the plugin folder. After this Activate the plugin.
    1315I've created this because i use wordpress as a CMS and sometimes users like their logo in the login form.
    14 For more plugins visit [My WP Blog](https://antoniocampos.net)
     16For more plugins visit [my wordpress blog](https://antoniocampos.net)
    1517
    1618== Installation ==
  • wp-costum-login-logo/tags/1.1/wp-custom-login-logo.php

    r603888 r2060223  
    88Author URI: http://antoniocampos.no-ip.com
    99
    10  Copyright 2012  Antonio Campos  (email : [email protected])
     10Copyright 2012  Antonio Campos  (email : [email protected])
    1111
    12     This program is free software; you can redistribute it and/or modify
    13     it under the terms of the GNU General Public License as published by
    14     the Free Software Foundation; either version 2 of the License, or
    15     (at your option) any later version.
     12This program is free software; you can redistribute it and/or modify
     13it under the terms of the GNU General Public License as published by
     14the Free Software Foundation; either version 2 of the License, or
     15(at your option) any later version.
    1616
    17     This program is distributed in the hope that it will be useful,
    18     but WITHOUT ANY WARRANTY; without even the implied warranty of
    19     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    20     GNU General Public License for more details.
     17This program is distributed in the hope that it will be useful,
     18but WITHOUT ANY WARRANTY; without even the implied warranty of
     19MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     20GNU General Public License for more details.
    2121
    22     You should have received a copy of the GNU General Public License
    23     along with this program; if not, write to the Free Software
    24     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    25 */
    26 function login_css() { 
    27     echo '<style type="text/css">
    28     #login h1 a { background-image: url('.get_bloginfo('url').'/wp-content/plugins/wp-costum-login-logo/wp-custom-login-logo.png) !important; }
     22You should have received a copy of the GNU General Public License
     23along with this program; if not, write to the Free Software
     24Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     25 */
     26if (!defined('ABSPATH')) {
     27    exit;
     28}
     29function login_css()
     30{
     31    echo '<style type="text/css">
     32    #login h1 a { background-image: url(' . get_bloginfo('url') . '/wp-content/plugins/wp-costum-login-logo/wp-custom-login-logo.png) !important; }
    2933    </style>';
    3034}
    3135add_action('login_head', 'login_css');
    3236
    33 function my_login_logo_url() {
    34     return get_bloginfo( 'url' );
     37function my_login_logo_url()
     38{
     39    return get_bloginfo('url');
    3540}
    36 add_filter( 'login_headerurl', 'my_login_logo_url' );
     41add_filter('login_headerurl', 'my_login_logo_url');
    3742
    38 function my_login_logo_url_title() {
     43function my_login_logo_url_title()
     44{
    3945    return '';
    4046}
    41 add_filter( 'login_headertitle', 'my_login_logo_url_title' );
    42 
    43 ?>
     47add_filter('login_headertitle', 'my_login_logo_url_title');
Note: See TracChangeset for help on using the changeset viewer.