Skip to content

Commit e9a2d8a

Browse files
docs: Update @since tag to theme-specific version and clarify @return description for wp_get_list_item_separator() in various themes.
1 parent dc1c000 commit e9a2d8a

File tree

6 files changed

+17
-7
lines changed

6 files changed

+17
-7
lines changed

src/wp-content/themes/twentyeleven/functions.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -988,7 +988,9 @@ function twentyeleven_skip_link() {
988988
*
989989
* Added for backward compatibility to support pre-6.0.0 WordPress versions.
990990
*
991-
* @since 6.0.0
991+
* @since Twenty Eleven 4.1
992+
*
993+
* @return string Locale-specific list item separator.
992994
*/
993995
function wp_get_list_item_separator() {
994996
/* translators: Used between list items, there is a space after the comma. */

src/wp-content/themes/twentynineteen/functions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,9 @@ function twentynineteen_setup() {
181181
*
182182
* Added for backward compatibility to support pre-6.0.0 WordPress versions.
183183
*
184-
* @since 6.0.0
184+
* @since Twenty Nineteen 2.3
185185
*
186-
* @return string List item separator.
186+
* @return string Locale-specific list item separator.
187187
*/
188188
function wp_get_list_item_separator() {
189189
/* translators: Used between list items, there is a space after the comma. */

src/wp-content/themes/twentyseventeen/functions.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,9 @@ function twentyseventeen_unique_id( $prefix = '' ) {
681681
*
682682
* Added for backward compatibility to support pre-6.0.0 WordPress versions.
683683
*
684-
* @since 6.0.0
684+
* @since Twenty Seventeen 3.0
685+
*
686+
* @return string Locale-specific list item separator.
685687
*/
686688
function wp_get_list_item_separator() {
687689
/* translators: Used between list items, there is a space after the comma. */

src/wp-content/themes/twentythirteen/functions.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,9 @@ function twentythirteen_widgets_init() {
473473
*
474474
* Added for backward compatibility to support pre-6.0.0 WordPress versions.
475475
*
476-
* @since 6.0.0
476+
* @since Twenty Thirteen 3.7
477+
*
478+
* @return string Locale-specific list item separator.
477479
*/
478480
function wp_get_list_item_separator() {
479481
/* translators: Used between list items, there is a space after the comma. */

src/wp-content/themes/twentytwelve/functions.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,9 @@ function twentytwelve_widgets_init() {
396396
*
397397
* Added for backward compatibility to support pre-6.0.0 WordPress versions.
398398
*
399-
* @since 6.0.0
399+
* @since Twenty Twelve 3.7
400+
*
401+
* @return string Locale-specific list item separator.
400402
*/
401403
function wp_get_list_item_separator() {
402404
/* translators: Used between list items, there is a space after the comma. */

src/wp-content/themes/twentytwentyone/functions.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,9 @@ function twentytwentyone_add_ie_class() {
655655
*
656656
* Added for backward compatibility to support pre-6.0.0 WordPress versions.
657657
*
658-
* @since 6.0.0
658+
* @since Twenty Twenty-One 1.6
659+
*
660+
* @return string Locale-specific list item separator.
659661
*/
660662
function wp_get_list_item_separator() {
661663
/* translators: Used between list items, there is a space after the comma. */

0 commit comments

Comments
 (0)