Skip to content

Commit 54233e7

Browse files
Twenty Twenty: Add missing variable names to some @param tags.
Follow-up to [46271], [46357], [51322]. Props huzaifaalmesbah. See #64224. Built from https://develop.svn.wordpress.org/trunk@61317 git-svn-id: https://core.svn.wordpress.org/trunk@60629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
1 parent b5021ef commit 54233e7

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

wp-content/themes/twentytwenty/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,7 @@ function twentytwenty_get_elements_array() {
819819
*
820820
* @since Twenty Twenty 1.0
821821
*
822-
* @param array Array of elements.
822+
* @param array $elements Array of elements.
823823
*/
824824
return apply_filters( 'twentytwenty_get_elements_array', $elements );
825825
}

wp-content/themes/twentytwenty/inc/template-tags.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ function twentytwenty_get_post_meta( $post_id = null, $location = 'single-top' )
266266
*
267267
* @since Twenty Twenty 1.0
268268
*
269-
* @param array Array of post types.
269+
* @param array $post_types Array of post types.
270270
*/
271271
$disallowed_post_types = apply_filters( 'twentytwenty_disallowed_post_types_for_meta_output', array( 'page' ) );
272272

wp-content/themes/twentytwenty/template-parts/content-cover.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
*
6060
* @since Twenty Twenty 1.0
6161
*
62-
* @param bool Whether to show the categories in article header. Default true.
62+
* @param bool $show_categories Whether to show the categories in article header. Default true.
6363
*/
6464
$show_categories = apply_filters( 'twentytwenty_show_categories_in_entry_header', true );
6565

wp-content/themes/twentytwenty/template-parts/entry-header.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*
2626
* @since Twenty Twenty 1.0
2727
*
28-
* @param bool Whether to show the categories in header. Default true.
28+
* @param bool $show_categories Whether to show the categories in header. Default true.
2929
*/
3030
$show_categories = apply_filters( 'twentytwenty_show_categories_in_entry_header', true );
3131

wp-includes/version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @global string $wp_version
1818
*/
19-
$wp_version = '7.0-alpha-61316';
19+
$wp_version = '7.0-alpha-61317';
2020

2121
/**
2222
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

0 commit comments

Comments
 (0)