Make WordPress Core

Changeset 33011


Ignore:
Timestamp:
06/30/2015 11:25:46 PM (11 years ago)
Author:
obenland
Message:

Site Icon: Move admin icon filter to its rightful place.

The action is unrelated to WP_Site_Icon itself.

Props kraftbj.
See #16434.

Location:
trunk/src/wp-admin/includes
Files:
2 edited

Legend:

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

    r32865 r33011  
    4848add_action( 'admin_head', 'wp_admin_canonical_url'   );
    4949add_action( 'admin_head', 'wp_color_scheme_settings' );
     50add_action( 'admin_head', 'wp_site_icon'             );
    5051add_action( 'admin_head', '_ipad_meta'               );
    5152
  • trunk/src/wp-admin/includes/class-wp-site-icon.php

    r33001 r33011  
    5959
    6060                // Add the favicon to the backend.
    61                 add_action( 'admin_head', 'wp_site_icon' );
    62 
    6361                add_action( 'admin_menu', array( $this, 'admin_menu_upload_site_icon' ) );
    6462
Note: See TracChangeset for help on using the changeset viewer.