We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
$table_prefix
1 parent bac6826 commit 297d432Copy full SHA for 297d432
1 file changed
src/wp-settings.php
@@ -138,7 +138,7 @@
138
*
139
* @global string $table_prefix The database table prefix.
140
*/
141
-$GLOBALS['table_prefix'] = isset( $table_prefix ) ? $table_prefix : null;
+$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