mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-14 13:50:24 +00:00
Coding Standards: Reformat some long apply_filters_deprecated() and do_action_deprecated() calls for better readability.
See #49542. git-svn-id: https://develop.svn.wordpress.org/trunk@48167 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user