mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-09 22:29:05 +02:00
a51dfa3971
`admin-filters.php` `ms-admin-filters.php` There are random actions and filters littered among files like `misc.php`. These files contain functions that won't work outside of admin context and are typically only loaded in files that have already loaded the admin bootstrap. See #32529. Built from https://develop.svn.wordpress.org/trunk@32653 git-svn-id: http://core.svn.wordpress.org/trunk@32623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
31 lines
934 B
PHP
31 lines
934 B
PHP
<?php
|
|
/**
|
|
* Multisite Administration hooks
|
|
*
|
|
* @package WordPress
|
|
*
|
|
* @since 4.3.0
|
|
*/
|
|
|
|
add_filter( 'wp_handle_upload_prefilter', 'check_upload_size' );
|
|
|
|
add_action( 'update_option_new_admin_email', 'update_option_new_admin_email', 10, 2 );
|
|
add_action( 'add_option_new_admin_email', 'update_option_new_admin_email', 10, 2 );
|
|
|
|
add_action( 'personal_options_update', 'send_confirmation_on_profile_email' );
|
|
|
|
add_action( 'admin_notices', 'new_user_email_admin_notice' );
|
|
|
|
add_action( 'wpmueditblogaction', 'upload_space_setting' );
|
|
|
|
add_filter( 'get_term', 'sync_category_tag_slugs', 10, 2 );
|
|
|
|
add_action( 'admin_page_access_denied', '_access_denied_splash', 99 );
|
|
|
|
add_filter( 'import_allow_create_users', 'check_import_new_users' );
|
|
|
|
add_action( 'admin_notices', 'site_admin_notice' );
|
|
add_action( 'network_admin_notices', 'site_admin_notice' );
|
|
|
|
add_filter( 'wp_insert_post_data', 'avoid_blog_page_permalink_collision', 10, 2 );
|