Skip to content

Commit f89ea16

Browse files
Docs: Correct the type for the_modified_date filter parameter.
Due to concatenation directly above, this value can only be a string. Follow-up to [28130], [48929]. See #62281. git-svn-id: https://develop.svn.wordpress.org/trunk@59836 602fd350-edb4-49c9-b593-d223f7449a82
1 parent d42962b commit f89ea16

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/wp-includes/general-template.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2622,10 +2622,10 @@ function the_modified_date( $format = '', $before = '', $after = '', $display =
26222622
*
26232623
* @since 2.1.0
26242624
*
2625-
* @param string|false $the_modified_date The last modified date or false if no post is found.
2626-
* @param string $format PHP date format.
2627-
* @param string $before HTML output before the date.
2628-
* @param string $after HTML output after the date.
2625+
* @param string $the_modified_date The last modified date.
2626+
* @param string $format PHP date format.
2627+
* @param string $before HTML output before the date.
2628+
* @param string $after HTML output after the date.
26292629
*/
26302630
$the_modified_date = apply_filters( 'the_modified_date', $the_modified_date, $format, $before, $after );
26312631

0 commit comments

Comments
 (0)