Commit 99875404b4 for wordpress.org

commit 99875404b4a8205561a7e2c5a284eea2d085db8d
Author: lancewillett <lancewillett@git.wordpress.org>
Date:   Mon Nov 2 16:04:54 2026 +0000

    Build/Test Tools: Correct nullable property documentation.

    Document that `WP_Locale::$word_count_type` and `WP_Post_Type::$template` can be `null`, and remove the corresponding PHPStan baseline entries.

    Cover the existing REST response normalization of a `null` post type template to an empty array.

    Developed in: https://github.com/WordPress/wordpress-develop/pull/13982

    Props huzaifaalmesbah.
    See #65817.

    Built from https://develop.svn.wordpress.org/trunk@65192


    git-svn-id: http://core.svn.wordpress.org/trunk@64341 1a063a9b-81f0-0310-95a4-ce76da25c4cd

diff --git a/wp-includes/class-wp-locale.php b/wp-includes/class-wp-locale.php
index b1e091e519..3671c1b279 100644
--- a/wp-includes/class-wp-locale.php
+++ b/wp-includes/class-wp-locale.php
@@ -118,7 +118,7 @@ class WP_Locale {
 	 * Default is 'words'.
 	 *
 	 * @since 6.2.0
-	 * @var string
+	 * @var string|null
 	 */
 	public $word_count_type;

diff --git a/wp-includes/class-wp-post-type.php b/wp-includes/class-wp-post-type.php
index 2924f2a02f..0767deeb34 100644
--- a/wp-includes/class-wp-post-type.php
+++ b/wp-includes/class-wp-post-type.php
@@ -305,7 +305,7 @@ final class WP_Post_Type {
 	 * @link https://developer.wordpress.org/block-editor/developers/block-api/block-templates/
 	 *
 	 * @since 5.0.0
-	 * @var array[] $template
+	 * @var array[]|null $template
 	 */
 	public $template = array();

diff --git a/wp-includes/version.php b/wp-includes/version.php
index 7c6e272cdb..3b68def5ee 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
  *
  * @global string $wp_version
  */
-$wp_version = '7.2-beta3-65191';
+$wp_version = '7.2-beta3-65192';

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