WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/08/2015 08:02:44 PM (7 years ago)
Author:
helen
Message:

Toolbar: Disambiguate links to the dashboard vs. to the customizer.

All links in the site name menu now point to admin screens, and Customize is its own top-level link. This makes it clear which context you are about to enter.

fixes #32924. see #32678.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-admin-bar.php

    r32657 r33130  
    557557        add_action( 'admin_bar_menu', 'wp_admin_bar_my_sites_menu', 20 );
    558558        add_action( 'admin_bar_menu', 'wp_admin_bar_site_menu', 30 );
    559         add_action( 'admin_bar_menu', 'wp_admin_bar_updates_menu', 40 );
     559        add_action( 'admin_bar_menu', 'wp_admin_bar_customize_menu', 40 );
     560        add_action( 'admin_bar_menu', 'wp_admin_bar_updates_menu', 50 );
    560561
    561562        // Content related.
Note: See TracChangeset for help on using the changeset viewer.