mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Site Icon: Move admin icon filter to its rightful place.
The action is unrelated to `WP_Site_Icon` itself. Props kraftbj. See #16434. Built from https://develop.svn.wordpress.org/trunk@33011 git-svn-id: http://core.svn.wordpress.org/trunk@32982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7cc9a4c092
commit
f18fabc300
@ -47,6 +47,7 @@ add_filter( 'media_upload_tabs', 'update_gallery_tab' );
|
|||||||
// Misc hooks.
|
// Misc hooks.
|
||||||
add_action( 'admin_head', 'wp_admin_canonical_url' );
|
add_action( 'admin_head', 'wp_admin_canonical_url' );
|
||||||
add_action( 'admin_head', 'wp_color_scheme_settings' );
|
add_action( 'admin_head', 'wp_color_scheme_settings' );
|
||||||
|
add_action( 'admin_head', 'wp_site_icon' );
|
||||||
add_action( 'admin_head', '_ipad_meta' );
|
add_action( 'admin_head', '_ipad_meta' );
|
||||||
|
|
||||||
add_action( 'post_edit_form_tag', 'post_form_autocomplete_off' );
|
add_action( 'post_edit_form_tag', 'post_form_autocomplete_off' );
|
||||||
|
@ -58,8 +58,6 @@ class WP_Site_Icon {
|
|||||||
public function __construct() {
|
public function __construct() {
|
||||||
|
|
||||||
// Add the favicon to the backend.
|
// 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_menu', array( $this, 'admin_menu_upload_site_icon' ) );
|
||||||
|
|
||||||
add_action( 'admin_action_set_site_icon', array( $this, 'set_site_icon' ) );
|
add_action( 'admin_action_set_site_icon', array( $this, 'set_site_icon' ) );
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.3-alpha-33010';
|
$wp_version = '4.3-alpha-33011';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user