WordPress.org

Ready to get started?Download WordPress

Forums

Point and Stare CMS Functions
[resolved] siteurl and blog title output on wp-login.php when activated (4 posts)

  1. Vic
    Member
    Posted 1 year ago #

    as the title says when the plugin is activated for me with my install(s) there is an output in the head of the code that cant be removed, is there a way to fix this error? - Thanks

    http://wordpress.org/extend/plugins/point-and-stare-cms-functions/

  2. Vic
    Member
    Posted 1 year ago #

    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!';
    }
    
       }
  3. Vic
    Member
    Posted 1 year ago #

    Around line 697 or so it begins

  4. Lee Rickler
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.