[wp-trac] [WordPress Trac] #23178: Screen reader shortcut links generated by _render() from WP_Admin_Bar class should use rel="nofolow"

WordPress Trac noreply at wordpress.org
Fri Jan 11 13:07:29 UTC 2013


#23178: Screen reader shortcut links generated by _render() from WP_Admin_Bar class
should use rel="nofolow"
-----------------------------+-------------------------
 Reporter:  Marko-M          |       Type:  enhancement
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Toolbar
  Version:                   |   Severity:  normal
 Keywords:                   |
-----------------------------+-------------------------
 Screen reader related links generated by _render() from WP_Admin_Bar class
 assume toolbar is being shown only to logged in users. When toolbar is
 being shown to visitors using

 {{{
 function my_set_current_user() {
     if(!is_user_logged_in()){
         add_filter('show_admin_bar', '__return_true');
     }
 }
 add_action('set_current_user', 'my_set_current_user');
 }}}

 search engines report 403 error code on every page of the website when
 trying to follow wp_logout_url() from one of these links (Logout link).
 Including rel="nofollow" into _render() should avoid this.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23178>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list