X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/03f2fa83c13c1b532284205fa7efcab9b8b2c41f..refs/tags/wordpress-4.5.3:/wp-includes/default-filters.php diff --git a/wp-includes/default-filters.php b/wp-includes/default-filters.php index 1faa084c..99cd9825 100644 --- a/wp-includes/default-filters.php +++ b/wp-includes/default-filters.php @@ -249,6 +249,7 @@ if ( isset( $_GET['replytocom'] ) ) // Login actions add_action( 'login_head', 'wp_print_head_scripts', 9 ); +add_action( 'login_head', 'print_admin_styles', 9 ); add_action( 'login_head', 'wp_site_icon', 99 ); add_action( 'login_footer', 'wp_print_footer_scripts', 20 ); add_action( 'login_init', 'send_frame_options_header', 10, 0 ); @@ -341,6 +342,7 @@ add_filter( 'heartbeat_nopriv_send', 'wp_auth_check' ); // Default authentication filters add_filter( 'authenticate', 'wp_authenticate_username_password', 20, 3 ); +add_filter( 'authenticate', 'wp_authenticate_email_password', 20, 3 ); add_filter( 'authenticate', 'wp_authenticate_spam_check', 99 ); add_filter( 'determine_current_user', 'wp_validate_auth_cookie' ); add_filter( 'determine_current_user', 'wp_validate_logged_in_cookie', 20 ); @@ -369,6 +371,7 @@ add_action( 'parse_request', 'rest_api_loaded' ); */ // Theme add_action( 'wp_loaded', '_custom_header_background_just_in_time' ); +add_action( 'wp_head', '_custom_logo_header_styles' ); add_action( 'plugins_loaded', '_wp_customize_include' ); add_action( 'admin_enqueue_scripts', '_wp_customize_loader_settings' ); add_action( 'delete_attachment', '_delete_attachment_theme_mod' ); @@ -473,5 +476,6 @@ add_filter( 'the_excerpt_embed', 'wp_embed_excerpt_attachment' ); add_filter( 'oembed_dataparse', 'wp_filter_oembed_result', 10, 3 ); add_filter( 'oembed_response_data', 'get_oembed_response_data_rich', 10, 4 ); +add_filter( 'pre_oembed_result', 'wp_filter_pre_oembed_result', 10, 3 ); unset( $filter, $action );