diff --git a/wp-includes/class-wp-image-editor.php b/wp-includes/class-wp-image-editor.php index 823501eb46..649d021b55 100644 --- a/wp-includes/class-wp-image-editor.php +++ b/wp-includes/class-wp-image-editor.php @@ -549,11 +549,11 @@ abstract class WP_Image_Editor { * @since 3.5.0 * * @param string $filename - * @param callable $function + * @param callable $callback * @param array $arguments * @return bool */ - protected function make_image( $filename, $function, $arguments ) { + protected function make_image( $filename, $callback, $arguments ) { $stream = wp_is_stream( $filename ); if ( $stream ) { ob_start(); @@ -562,7 +562,7 @@ abstract class WP_Image_Editor { wp_mkdir_p( dirname( $filename ) ); } - $result = call_user_func_array( $function, $arguments ); + $result = call_user_func_array( $callback, $arguments ); if ( $result && $stream ) { $contents = ob_get_contents(); diff --git a/wp-includes/version.php b/wp-includes/version.php index 6a03ebb24f..a61bcdfcf5 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.0-beta2-53270'; +$wp_version = '6.0-beta2-53271'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.