We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
$table_prefix
1 parent 27233a0 commit 297ff7cCopy full SHA for 297ff7c
src/wp-settings.php
@@ -138,7 +138,7 @@
138
*
139
* @global string $table_prefix The database table prefix.
140
*/
141
-$GLOBALS['table_prefix'] = $table_prefix;
+$GLOBALS['table_prefix'] = isset( $GLOBALS['table_prefix'] ) ? $GLOBALS['table_prefix'] : $table_prefix;
142
143
// Set the database table prefix and the format specifiers for database table columns.
144
wp_set_wpdb_vars();
0 commit comments