Docs: Fix some docblock syntax errors and add a missing canonical reference.

See #53399, #52867, #38942, #53668


git-svn-id: https://develop.svn.wordpress.org/trunk@52034 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2021-11-08 10:43:52 +00:00
parent 9c00ed2069
commit a247caa0af
3 changed files with 2 additions and 2 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