Make WordPress Core


Ignore:
Timestamp:
06/08/2011 04:49:27 PM (13 years ago)
Author:
nacin
Message:

Admin Bar: Add View Site/Dashboard links, 'View X' links in the admin, 'View' action link for terms. New custom taxonomy string: view_item, defaulting to 'View Tag' and View Category'. fixes #17705.

File:
1 edited

Legend:

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

    r17435 r18194  
    181181    function add_menus() {
    182182        add_action( 'admin_bar_menu', 'wp_admin_bar_my_account_menu', 10 );
     183        add_action( 'admin_bar_menu', 'wp_admin_bar_dashboard_view_site_menu', 15 );
    183184        add_action( 'admin_bar_menu', 'wp_admin_bar_my_sites_menu', 20 );
    184185        add_action( 'admin_bar_menu', 'wp_admin_bar_edit_menu', 30 );
Note: See TracChangeset for help on using the changeset viewer.