Commit a5dbdd390b for wordpress.org
commit a5dbdd390bcd3d623f55774f74d79cabe67788f0
Author: Weston Ruter <weston@xwp.co>
Date: Mon Feb 2 05:47:43 2026 +0000
Docs: Correct `$translate` param type for `WP_Theme::markup_header()`.
Follow-up to [61574], [20029].
Props marian1, mukesh27.
See #20103.
Fixes #64585.
Built from https://develop.svn.wordpress.org/trunk@61575
git-svn-id: http://core.svn.wordpress.org/trunk@60886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-includes/class-wp-theme.php b/wp-includes/class-wp-theme.php
index 5034c5ed6d..c894f6dd72 100644
--- a/wp-includes/class-wp-theme.php
+++ b/wp-includes/class-wp-theme.php
@@ -1002,7 +1002,7 @@ final class WP_Theme implements ArrayAccess {
*
* @param string $header Theme header. Name, Description, Author, Version, ThemeURI, AuthorURI, Status, Tags.
* @param string|array $value Value to mark up. An array for Tags header, string otherwise.
- * @param string $translate Whether the header has been translated.
+ * @param bool $translate Whether the header has been translated.
* @return string Value, marked up.
*/
private function markup_header( $header, $value, $translate ) {
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 4a1f515f31..9b60d8c058 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '7.0-alpha-61574';
+$wp_version = '7.0-alpha-61575';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.