Skip to content

Commit

Permalink
Docs: Fix some docblock syntax errors and add a missing canonical ref…
Browse files Browse the repository at this point in the history
…erence.

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


git-svn-id: https://develop.svn.wordpress.org/trunk@52034 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
johnbillion committed Nov 8, 2021
1 parent 9c00ed2 commit a247caa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/wp-includes/class-wp-image-editor.php
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,6 @@ protected function get_output_format( $filename = null, $mime_type = null ) {
* }
* @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 );

Expand Down
1 change: 1 addition & 0 deletions src/wp-includes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
2 changes: 1 addition & 1 deletion src/wp-includes/theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -1234,7 +1234,7 @@ function get_header_image_tag( $attr = array() ) {
}
}

/*
/**
* Filters the list of header image attributes.
*
* @since 5.9.0
Expand Down

0 comments on commit a247caa

Please sign in to comment.