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:
parent
3dc76d614a
commit
4c3a23ba40
|
@ -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 );
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -1234,7 +1234,7 @@ function get_header_image_tag( $attr = array() ) {
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
/**
|
||||
* Filters the list of header image attributes.
|
||||
*
|
||||
* @since 5.9.0
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue