Skip to content

Commit a247caa

Browse files
committed
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
1 parent 9c00ed2 commit a247caa

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/wp-includes/class-wp-image-editor.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,6 @@ protected function get_output_format( $filename = null, $mime_type = null ) {
363363
* }
364364
* @param string $filename Path to the image.
365365
* @param string $mime_type The source image mime type.
366-
* }
367366
*/
368367
$output_format = apply_filters( 'image_editor_output_format', array(), $filename, $mime_type );
369368

src/wp-includes/functions.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2635,6 +2635,7 @@ function wp_unique_filename( $dir, $filename, $unique_filename_callback = null )
26352635
// Check if an image will be converted after uploading or some existing images sub-sizes file names may conflict
26362636
// when regenerated. If yes, ensure the new file name will be unique and will produce unique sub-sizes.
26372637
if ( $is_image ) {
2638+
/** This filter is documented in wp-includes/class-wp-image-editor.php */
26382639
$output_formats = apply_filters( 'image_editor_output_format', array(), $_dir . $filename, $mime_type );
26392640
$alt_types = array();
26402641

src/wp-includes/theme.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1234,7 +1234,7 @@ function get_header_image_tag( $attr = array() ) {
12341234
}
12351235
}
12361236

1237-
/*
1237+
/**
12381238
* Filters the list of header image attributes.
12391239
*
12401240
* @since 5.9.0

0 commit comments

Comments
 (0)