mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Site Icon: Move admin icon filter to its rightful place.
The action is unrelated to `WP_Site_Icon` itself. Props kraftbj. See #16434. git-svn-id: https://develop.svn.wordpress.org/trunk@33011 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -47,6 +47,7 @@ add_filter( 'media_upload_tabs', 'update_gallery_tab' );
|
||||
// Misc hooks.
|
||||
add_action( 'admin_head', 'wp_admin_canonical_url' );
|
||||
add_action( 'admin_head', 'wp_color_scheme_settings' );
|
||||
add_action( 'admin_head', 'wp_site_icon' );
|
||||
add_action( 'admin_head', '_ipad_meta' );
|
||||
|
||||
add_action( 'post_edit_form_tag', 'post_form_autocomplete_off' );
|
||||
|
||||
@@ -58,8 +58,6 @@ class WP_Site_Icon {
|
||||
public function __construct() {
|
||||
|
||||
// Add the favicon to the backend.
|
||||
add_action( 'admin_head', 'wp_site_icon' );
|
||||
|
||||
add_action( 'admin_menu', array( $this, 'admin_menu_upload_site_icon' ) );
|
||||
|
||||
add_action( 'admin_action_set_site_icon', array( $this, 'set_site_icon' ) );
|
||||
|
||||
Reference in New Issue
Block a user