Skip to content

Commit 17b08bf

Browse files
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. git-svn-id: https://develop.svn.wordpress.org/trunk@59952 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 8bedbcd commit 17b08bf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/wp-includes/general-template.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2233,7 +2233,8 @@ function calendar_week_mod( $num ) {
22332233
* no posts for the month, then it will not be displayed.
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.
22392240
* @global int $m
@@ -2571,7 +2572,7 @@ function get_calendar( $args = array() ) {
25712572
* Filters the HTML calendar output.
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.
25772578
* @param array $args {

0 commit comments

Comments
 (0)