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
This commit is contained in:
John Blackbourn 2021-11-08 10:44:59 +00:00
parent 3dc76d614a
commit 4c3a23ba40
4 changed files with 3 additions and 3 deletions

View File

@ -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 );

View File

@ -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();

View File

@ -1234,7 +1234,7 @@ function get_header_image_tag( $attr = array() ) {
}
}
/*
/**
* Filters the list of header image attributes.
*
* @since 5.9.0

View File

@ -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.