Skip to content

Commit 49ba990

Browse files
Twenty Twenty: Add missing variable names to some @param tags.
Follow-up to [46271], [46357], [51322]. Props huzaifaalmesbah. See #64224. git-svn-id: https://develop.svn.wordpress.org/trunk@61317 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 8e8cc94 commit 49ba990

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/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
}

src/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

src/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

src/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

0 commit comments

Comments
 (0)