WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Point and Stare CMS Functions] siteurl and blog title output on wp-login.php when activated

[Resolved] [Plugin: Point and Stare CMS Functions] siteurl and blog title output on wp-login.php when activated

Viewing 3 replies - 1 through 3 (of 3 total)
  • Vic

    @jakejackcall

    Actually untested at present but I think I fixed it

    // CUSTOM ADMIN LOGIN HEADER LINK & ALT TEXT
    function change_wp_login_url() {
    //added 8.4.2012
    if ( is_user_logged_in() ) {
       $options = get_option('pands_script_plugin_options');
    if ($options['custom_admin_login_header_link'] == ""){
     echo bloginfo('url');  // OR ECHO YOUR OWN URL}
     }
    else {
    echo $options['custom_admin_login_header_link'];
    }
    } else {
        // echo 'Not Logged in!';
    }
    
       }
    
    function change_wp_login_title() {
    //added 8.4.2012
    if ( is_user_logged_in() ) {
    
       $options = get_option('custom_admin_login_header_link_alt_text');
    if ($options['custom_admin_login_header_link_alt_text'] == ""){
    echo get_option('blogname'); // OR ECHO YOUR OWN ALT TEXT
    }
    else {
    echo $options['custom_admin_login_header_link_alt_text'];
    }    	
    
    } else {
       // echo 'Not Logged in!';
    }
    
       }
    Vic

    @jakejackcall

    Around line 697 or so it begins

    Plugin Author Lee Rickler

    @bigbadboy

    Hi Vic. Not seen this before so let me test.

    Edit: I see what you mean now.
    I’m looking at removing that function anyway so will probably refine your code above.
    I’ll mark this as resolved, if that’s ok, and will include it in the next release.

    Thanks for reporting.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: Point and Stare CMS Functions] siteurl and blog title output on wp-login.php when activated’ is closed to new replies.