Changeset 32671
- Timestamp:
- 05/31/2015 01:59:45 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/admin-filters.php
r32653 r32671 1 1 <?php 2 2 /** 3 * 3 * Administration hooks 4 4 * 5 5 * @package WordPress 6 * @subpackage Hooks 6 7 * 7 8 * @since 4.3.0 8 9 */ 9 10 10 / ** Bookmark hooks */11 // Bookmark hooks. 11 12 add_action( 'admin_page_access_denied', 'wp_link_manager_disabled_message' ); 12 13 13 / ** Dashboard hooks */14 // Dashboard hooks. 14 15 add_action( 'activity_box_end', 'wp_dashboard_quota' ); 15 16 16 / ** Media hooks */17 // Media hooks. 17 18 add_filter( 'media_upload_tabs', 'update_gallery_tab' ); 18 19 add_filter( 'image_send_to_editor', 'image_add_caption', 20, 8 ); … … 39 40 add_action( 'attachment_submitbox_misc_actions', 'attachment_submitbox_metadata' ); 40 41 41 / ** Misc hooks */42 // Misc hooks. 42 43 add_action( 'update_option_home', 'update_home_siteurl', 10, 2 ); 43 44 add_action( 'update_option_siteurl', 'update_home_siteurl', 10, 2 ); … … 54 55 add_action( 'admin_head', 'wp_admin_canonical_url' ); 55 56 56 / ** Nav Menu hooks */57 // Nav Menu hooks. 57 58 add_action( 'admin_head-nav-menus.php', '_wp_delete_orphaned_draft_menu_items' ); 58 59 59 / ** Plugin hooks */60 // Plugin hooks. 60 61 add_filter( 'whitelist_options', 'option_update_filter' ); 61 62 62 / ** Plugin Install hooks */63 // Plugin Install hooks. 63 64 add_action( 'install_plugins_featured', 'install_dashboard' ); 64 65 add_action( 'install_plugins_upload', 'install_plugins_upload' ); … … 71 72 add_action( 'install_plugins_pre_plugin-information', 'install_plugin_information' ); 72 73 73 / ** Template hooks */74 // Template hooks. 74 75 add_action( 'admin_enqueue_scripts', array( 'WP_Internal_Pointers', 'enqueue_scripts' ) ); 75 76 add_action( 'user_register', array( 'WP_Internal_Pointers', 'dismiss_pointers_for_new_users' ) ); 76 77 77 / ** Theme hooks */78 // Theme hooks. 78 79 add_action( 'customize_controls_print_footer_scripts', 'customize_themes_print_templates' ); 79 80 80 / ** Theme Install hooks */81 // Theme Install hooks. 81 82 // add_action('install_themes_dashboard', 'install_themes_dashboard'); 82 83 // add_action('install_themes_upload', 'install_themes_upload', 10, 0); … … 87 88 add_action( 'install_themes_pre_theme-information', 'install_theme_information' ); 88 89 89 / ** User hooks */90 // User hooks. 90 91 add_action( 'admin_init', 'default_password_nag_handler' ); 91 92 add_action( 'profile_update', 'default_password_nag_edit_user', 10, 2 ); 92 93 add_action( 'admin_notices', 'default_password_nag' ); 93 94 94 / ** Update hooks */95 // Update hooks. 95 96 add_filter( 'update_footer', 'core_update_footer' ); 96 97 add_action( 'admin_notices', 'update_nag', 3 ); … … 101 102 add_action( 'network_admin_notices', 'maintenance_nag' ); 102 103 103 / ** Update Core hooks */104 // Update Core hooks. 104 105 add_action( '_core_updated_successfully', '_redirect_to_about_wordpress' ); 105 106 106 / ** Upgrade hooks */107 // Upgrade hooks. 107 108 add_action( 'upgrader_process_complete', array( 'Language_Pack_Upgrader', 'async_upgrade' ), 20 );
Note: See TracChangeset
for help on using the changeset viewer.