From 4c3a23ba408a4e3b2bb00d63a6ba55e36115e8ca Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Mon, 8 Nov 2021 10:44:59 +0000 Subject: [PATCH] Docs: Fix some docblock syntax errors and add a missing canonical reference. See #53399, #52867, #38942, #53668 Built from https://develop.svn.wordpress.org/trunk@52034 git-svn-id: http://core.svn.wordpress.org/trunk@51626 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-image-editor.php | 1 - wp-includes/functions.php | 1 + wp-includes/theme.php | 2 +- wp-includes/version.php | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/class-wp-image-editor.php b/wp-includes/class-wp-image-editor.php index b9e580c46f..67bb5d35db 100644 --- a/wp-includes/class-wp-image-editor.php +++ b/wp-includes/class-wp-image-editor.php @@ -363,7 +363,6 @@ abstract class WP_Image_Editor { * } * @param string $filename Path to the image. * @param string $mime_type The source image mime type. - * } */ $output_format = apply_filters( 'image_editor_output_format', array(), $filename, $mime_type ); diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 9e0398cf1e..667049aa3f 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -2635,6 +2635,7 @@ function wp_unique_filename( $dir, $filename, $unique_filename_callback = null ) // Check if an image will be converted after uploading or some existing images sub-sizes file names may conflict // when regenerated. If yes, ensure the new file name will be unique and will produce unique sub-sizes. if ( $is_image ) { + /** This filter is documented in wp-includes/class-wp-image-editor.php */ $output_formats = apply_filters( 'image_editor_output_format', array(), $_dir . $filename, $mime_type ); $alt_types = array(); diff --git a/wp-includes/theme.php b/wp-includes/theme.php index 86db220d78..a7bc431c37 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -1234,7 +1234,7 @@ function get_header_image_tag( $attr = array() ) { } } - /* + /** * Filters the list of header image attributes. * * @since 5.9.0 diff --git a/wp-includes/version.php b/wp-includes/version.php index 7309971045..12f76b23a8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-52033'; +$wp_version = '5.9-alpha-52034'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.