Commit 10ce1b8521 for wordpress.org

commit 10ce1b8521b9c02ad3fe452e22b3a9752f3a8642
Author: Sergey Biryukov <sergeybiryukov.ru@gmail.com>
Date:   Sun Nov 16 19:33:35 2025 +0000

    Bootstrap/Load: Only override the `$table_prefix` global if not already defined.

    This aims to provide more flexibility in preloading some environment settings before initializing WordPress.

    Follow-up to [18993], [57748].

    Props ninos-ego, dd32, swissspidy, SergeyBiryukov.
    Fixes #63627.
    Built from https://develop.svn.wordpress.org/trunk@61250


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

diff --git a/wp-includes/version.php b/wp-includes/version.php
index 20fd39e657..039bb23230 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
  *
  * @global string $wp_version
  */
-$wp_version = '7.0-alpha-61249';
+$wp_version = '7.0-alpha-61250';

 /**
  * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
diff --git a/wp-settings.php b/wp-settings.php
index 3a91622ac6..8ad02ffe8f 100644
--- a/wp-settings.php
+++ b/wp-settings.php
@@ -140,7 +140,9 @@ require_wp_db();
  *
  * @global string $table_prefix The database table prefix.
  */
-$GLOBALS['table_prefix'] = $table_prefix;
+if ( ! isset( $GLOBALS['table_prefix'] ) ) {
+	$GLOBALS['table_prefix'] = $table_prefix;
+}

 // Set the database table prefix and the format specifiers for database table columns.
 wp_set_wpdb_vars();