Commit e996b2ed3f for wordpress.org
commit e996b2ed3f88fa8892d17e72689aa2c107df7375
Author: Sergey Biryukov <sergeybiryukov.ru@gmail.com>
Date: Fri Nov 28 20:10:38 2025 +0000
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: http://core.svn.wordpress.org/trunk@60629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-content/themes/twentytwenty/functions.php b/wp-content/themes/twentytwenty/functions.php
index 754516009c..09ef7f14e3 100644
--- a/wp-content/themes/twentytwenty/functions.php
+++ b/wp-content/themes/twentytwenty/functions.php
@@ -819,7 +819,7 @@ function twentytwenty_get_elements_array() {
*
* @since Twenty Twenty 1.0
*
- * @param array Array of elements.
+ * @param array $elements Array of elements.
*/
return apply_filters( 'twentytwenty_get_elements_array', $elements );
}
diff --git a/wp-content/themes/twentytwenty/inc/template-tags.php b/wp-content/themes/twentytwenty/inc/template-tags.php
index f348747c82..ce0be81ede 100644
--- a/wp-content/themes/twentytwenty/inc/template-tags.php
+++ b/wp-content/themes/twentytwenty/inc/template-tags.php
@@ -266,7 +266,7 @@ function twentytwenty_get_post_meta( $post_id = null, $location = 'single-top' )
*
* @since Twenty Twenty 1.0
*
- * @param array Array of post types.
+ * @param array $post_types Array of post types.
*/
$disallowed_post_types = apply_filters( 'twentytwenty_disallowed_post_types_for_meta_output', array( 'page' ) );
diff --git a/wp-content/themes/twentytwenty/template-parts/content-cover.php b/wp-content/themes/twentytwenty/template-parts/content-cover.php
index 151507ea7c..d856367e0a 100644
--- a/wp-content/themes/twentytwenty/template-parts/content-cover.php
+++ b/wp-content/themes/twentytwenty/template-parts/content-cover.php
@@ -59,7 +59,7 @@
*
* @since Twenty Twenty 1.0
*
- * @param bool Whether to show the categories in article header. Default true.
+ * @param bool $show_categories Whether to show the categories in article header. Default true.
*/
$show_categories = apply_filters( 'twentytwenty_show_categories_in_entry_header', true );
diff --git a/wp-content/themes/twentytwenty/template-parts/entry-header.php b/wp-content/themes/twentytwenty/template-parts/entry-header.php
index e8059ec780..ddabea0f43 100644
--- a/wp-content/themes/twentytwenty/template-parts/entry-header.php
+++ b/wp-content/themes/twentytwenty/template-parts/entry-header.php
@@ -25,7 +25,7 @@ if ( is_singular() ) {
*
* @since Twenty Twenty 1.0
*
- * @param bool Whether to show the categories in header. Default true.
+ * @param bool $show_categories Whether to show the categories in header. Default true.
*/
$show_categories = apply_filters( 'twentytwenty_show_categories_in_entry_header', true );
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 67b7b416f0..8b8fc5d994 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.0-alpha-61316';
+$wp_version = '7.0-alpha-61317';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.