mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
Missing global.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
009d89ec5b
commit
bc229c60fa
@ -620,7 +620,7 @@ function upgrade_110() {
|
||||
}
|
||||
|
||||
function upgrade_130() {
|
||||
global $wpdb;
|
||||
global $wpdb, $table_prefix;
|
||||
|
||||
if(!$wpdb->get_var("SELECT option_id FROM $wpdb->options WHERE option_name = 'default_email_category'")) {
|
||||
$wpdb->query("INSERT INTO $wpdb->options (option_name, option_type, option_value, option_description, option_admin_level) VALUES('default_email_category', 1, '1', 'by default posts by email will have this category', 8)");
|
||||
|
Loading…
x
Reference in New Issue
Block a user