WordPress.org

Make WordPress Core

Ticket #23178: class-wp-admin-bar.php.diff

File class-wp-admin-bar.php.diff, 1.0 KB (added by Marko-M, 9 years ago)
  • wp-includes/class-wp-admin-bar.php

     
    348348
    349349                ?>
    350350                <div id="wpadminbar" class="<?php echo $class; ?>" role="navigation">
    351                         <a class="screen-reader-shortcut" href="#wp-toolbar" tabindex="1"><?php _e('Skip to toolbar'); ?></a>
     351                        <a rel="nofollow" class="screen-reader-shortcut" href="#wp-toolbar" tabindex="1"><?php _e('Skip to toolbar'); ?></a>
    352352                        <div class="quicklinks" id="wp-toolbar" role="navigation" aria-label="<?php esc_attr_e('Top navigation toolbar.'); ?>" tabindex="0">
    353353                                <?php foreach ( $root->children as $group ) {
    354354                                        $this->_render_group( $group );
    355355                                } ?>
    356356                        </div>
    357                         <a class="screen-reader-shortcut" href="<?php echo esc_url( wp_logout_url() ); ?>"><?php _e('Log Out'); ?></a>
     357                        <a rel="nofollow" class="screen-reader-shortcut" href="<?php echo esc_url( wp_logout_url() ); ?>"><?php _e('Log Out'); ?></a>
    358358                </div>
    359359
    360360                <?php