Make WordPress Core

Changeset 59952


Ignore:
Timestamp:
03/07/2025 10:31:18 PM (11 months ago)
Author:
SergeyBiryukov
Message:

Docs: Clarify the backward compatibility reference in get_calendar() DocBlock.

Includes adjusting the @since note for the get_calendar filter, as the reference is only relevant for the function DocBlock.

Follow-up to [59908].

See #62281.

File:
1 edited

Legend:

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

    r59947 r59952  
    22342234 *
    22352235 * @since 1.0.0
    2236  * @since 6.8.0 New argument $args added, with backward compatibility.
     2236 * @since 6.8.0 Added the `$args` parameter, with backward compatibility
     2237 *              for the replaced `$initial` and `$display` parameters.
    22372238 *
    22382239 * @global wpdb      $wpdb      WordPress database abstraction object.
     
    25722573     *
    25732574     * @since 3.0.0
    2574      * @since 6.8.0 New argument $args added, with backward compatibility.
     2575     * @since 6.8.0 Added the `$args` parameter.
    25752576     *
    25762577     * @param string $calendar_output HTML output of the calendar.
Note: See TracChangeset for help on using the changeset viewer.