diff --git a/wp-admin/includes/image-edit.php b/wp-admin/includes/image-edit.php index 701473679e..1ae07c348e 100644 --- a/wp-admin/includes/image-edit.php +++ b/wp-admin/includes/image-edit.php @@ -372,7 +372,12 @@ function wp_save_image_file( $filename, $image, $mime_type, $post_id ) { * @param string $mime_type The mime type of the image. * @param int $post_id Attachment post ID. */ - $saved = apply_filters_deprecated( 'wp_save_image_file', array( null, $filename, $image, $mime_type, $post_id ), '3.5.0', 'wp_save_image_editor_file' ); + $saved = apply_filters_deprecated( + 'wp_save_image_file', + array( null, $filename, $image, $mime_type, $post_id ), + '3.5.0', + 'wp_save_image_editor_file' + ); if ( null !== $saved ) { return $saved; diff --git a/wp-admin/js/password-strength-meter.js b/wp-admin/js/password-strength-meter.js index a2e0510862..867a3f6602 100644 --- a/wp-admin/js/password-strength-meter.js +++ b/wp-admin/js/password-strength-meter.js @@ -62,7 +62,7 @@ window.wp = window.wp || {}; userInputBlacklist : function() { window.console.log( sprintf( - /* translators: 1: Deprecated JSfunction name, 2: Version number, 3: Alternative function name. */ + /* translators: 1: Deprecated function name, 2: Version number, 3: Alternative function name. */ __( '%1$s is deprecated since version %2$s! Use %3$s instead. Please consider writing more inclusive code.' ), 'wp.passwordStrength.userInputBlacklist()', '5.5.0', diff --git a/wp-admin/options.php b/wp-admin/options.php index 5623fca9ee..63f01adbd2 100644 --- a/wp-admin/options.php +++ b/wp-admin/options.php @@ -207,7 +207,13 @@ if ( ! is_multisite() ) { * * @param array $allowed_options The allowed options list. */ -$allowed_options = apply_filters_deprecated( 'whitelist_options', array( $allowed_options ), '5.5.0', 'apply_filters_deprecated', __( 'Please consider writing more inclusive code.' ) ); +$allowed_options = apply_filters_deprecated( + 'whitelist_options', + array( $allowed_options ), + '5.5.0', + 'apply_filters_deprecated', + __( 'Please consider writing more inclusive code.' ) +); /** * Filters the allowed options list. diff --git a/wp-includes/capabilities.php b/wp-includes/capabilities.php index e3c28a1cf1..a19487757c 100644 --- a/wp-includes/capabilities.php +++ b/wp-includes/capabilities.php @@ -372,7 +372,12 @@ function map_meta_cap( $cap, $user_id, ...$args ) { * @param string $cap Capability name. * @param string[] $caps Array of the user's capabilities. */ - $allowed = apply_filters_deprecated( "auth_{$object_type}_{$object_subtype}_meta_{$meta_key}", array( $allowed, $meta_key, $object_id, $user_id, $cap, $caps ), '4.9.8', "auth_{$object_type}_meta_{$meta_key}_for_{$object_subtype}" ); + $allowed = apply_filters_deprecated( + "auth_{$object_type}_{$object_subtype}_meta_{$meta_key}", + array( $allowed, $meta_key, $object_id, $user_id, $cap, $caps ), + '4.9.8', + "auth_{$object_type}_meta_{$meta_key}_for_{$object_subtype}" + ); } if ( ! $allowed ) { diff --git a/wp-includes/comment.php b/wp-includes/comment.php index 158f09840b..880578d198 100644 --- a/wp-includes/comment.php +++ b/wp-includes/comment.php @@ -1325,7 +1325,13 @@ function wp_blocklist_check( $author, $email, $url, $comment, $user_ip, $user_ag * @param string $user_ip Comment author's IP address. * @param string $user_agent Comment author's browser user agent. */ - do_action_deprecated( 'wp_blacklist_check', array( $author, $email, $url, $comment, $user_ip, $user_agent ), '5.5.0', 'wp_blocklist_check', __( 'Please consider writing more inclusive code.' ) ); + do_action_deprecated( + 'wp_blacklist_check', + array( $author, $email, $url, $comment, $user_ip, $user_agent ), + '5.5.0', + 'wp_blocklist_check', + __( 'Please consider writing more inclusive code.' ) + ); /** * Fires before the comment is tested for disallowed characters or words. diff --git a/wp-includes/ms-site.php b/wp-includes/ms-site.php index 56d14f7eb5..5124c4ad50 100644 --- a/wp-includes/ms-site.php +++ b/wp-includes/ms-site.php @@ -132,7 +132,12 @@ function wp_insert_site( array $data ) { * @param int $network_id Network ID. Only relevant on multi-network installations. * @param array $meta Meta data. Used to set initial site options. */ - do_action_deprecated( 'wpmu_new_blog', array( $new_site->id, $user_id, $new_site->domain, $new_site->path, $new_site->network_id, $meta ), '5.1.0', 'wp_insert_site' ); + do_action_deprecated( + 'wpmu_new_blog', + array( $new_site->id, $user_id, $new_site->domain, $new_site->path, $new_site->network_id, $meta ), + '5.1.0', + 'wp_insert_site' + ); } return (int) $new_site->id; diff --git a/wp-includes/version.php b/wp-includes/version.php index 7fdecc472d..3d1e718062 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-48166'; +$wp_version = '5.5-alpha-48167'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.