Make WordPress Core

Changeset 59836


Ignore:
Timestamp:
02/18/2025 08:02:30 AM (2 months ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/general-template.php

    r59829 r59836  
    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 );
Note: See TracChangeset for help on using the changeset viewer.