Changeset 48167
- Timestamp:
- 06/25/2020 12:04:05 PM (3 years ago)
- Location:
- trunk/src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/_enqueues/wp/password-strength-meter.js
r48142 r48167 63 63 window.console.log( 64 64 sprintf( 65 /* translators: 1: Deprecated JSfunction name, 2: Version number, 3: Alternative function name. */65 /* translators: 1: Deprecated function name, 2: Version number, 3: Alternative function name. */ 66 66 __( '%1$s is deprecated since version %2$s! Use %3$s instead. Please consider writing more inclusive code.' ), 67 67 'wp.passwordStrength.userInputBlacklist()', -
trunk/src/wp-admin/includes/image-edit.php
r47808 r48167 373 373 * @param int $post_id Attachment post ID. 374 374 */ 375 $saved = apply_filters_deprecated( 'wp_save_image_file', array( null, $filename, $image, $mime_type, $post_id ), '3.5.0', 'wp_save_image_editor_file' ); 375 $saved = apply_filters_deprecated( 376 'wp_save_image_file', 377 array( null, $filename, $image, $mime_type, $post_id ), 378 '3.5.0', 379 'wp_save_image_editor_file' 380 ); 376 381 377 382 if ( null !== $saved ) { -
trunk/src/wp-admin/options.php
r48121 r48167 208 208 * @param array $allowed_options The allowed options list. 209 209 */ 210 $allowed_options = apply_filters_deprecated( 'whitelist_options', array( $allowed_options ), '5.5.0', 'apply_filters_deprecated', __( 'Please consider writing more inclusive code.' ) ); 210 $allowed_options = apply_filters_deprecated( 211 'whitelist_options', 212 array( $allowed_options ), 213 '5.5.0', 214 'apply_filters_deprecated', 215 __( 'Please consider writing more inclusive code.' ) 216 ); 211 217 212 218 /** -
trunk/src/wp-includes/capabilities.php
r47902 r48167 373 373 * @param string[] $caps Array of the user's capabilities. 374 374 */ 375 $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}" ); 375 $allowed = apply_filters_deprecated( 376 "auth_{$object_type}_{$object_subtype}_meta_{$meta_key}", 377 array( $allowed, $meta_key, $object_id, $user_id, $cap, $caps ), 378 '4.9.8', 379 "auth_{$object_type}_meta_{$meta_key}_for_{$object_subtype}" 380 ); 376 381 } 377 382 -
trunk/src/wp-includes/comment.php
r48154 r48167 1326 1326 * @param string $user_agent Comment author's browser user agent. 1327 1327 */ 1328 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.' ) ); 1328 do_action_deprecated( 1329 'wp_blacklist_check', 1330 array( $author, $email, $url, $comment, $user_ip, $user_agent ), 1331 '5.5.0', 1332 'wp_blocklist_check', 1333 __( 'Please consider writing more inclusive code.' ) 1334 ); 1329 1335 1330 1336 /** -
trunk/src/wp-includes/ms-site.php
r48121 r48167 133 133 * @param array $meta Meta data. Used to set initial site options. 134 134 */ 135 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' ); 135 do_action_deprecated( 136 'wpmu_new_blog', 137 array( $new_site->id, $user_id, $new_site->domain, $new_site->path, $new_site->network_id, $meta ), 138 '5.1.0', 139 'wp_insert_site' 140 ); 136 141 } 137 142
Note: See TracChangeset
for help on using the changeset viewer.