From f89ea16aca46fdb809eb8a43a9a295d30800a08f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 18 Feb 2025 08:02:30 +0000 Subject: [PATCH] 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 --- src/wp-includes/general-template.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php index e4e551ba41..55f51065dc 100644 --- a/src/wp-includes/general-template.php +++ b/src/wp-includes/general-template.php @@ -2622,10 +2622,10 @@ function the_modified_date( $format = '', $before = '', $after = '', $display = * * @since 2.1.0 * - * @param string|false $the_modified_date The last modified date or false if no post is found. - * @param string $format PHP date format. - * @param string $before HTML output before the date. - * @param string $after HTML output after the date. + * @param string $the_modified_date The last modified date. + * @param string $format PHP date format. + * @param string $before HTML output before the date. + * @param string $after HTML output after the date. */ $the_modified_date = apply_filters( 'the_modified_date', $the_modified_date, $format, $before, $after );