fixed sql query mess, I'm so sorry about it
git-svn-id: https://develop.svn.wordpress.org/trunk@904 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e67aa0f272
commit
bf3d49105a
|
@ -709,7 +709,7 @@ function upgrade_110() {
|
||||||
|
|
||||||
// Add blog_charset option
|
// Add blog_charset option
|
||||||
if(!$wpdb->get_var("SELECT * FROM $tableoptions WHERE option_id = '93'")) {
|
if(!$wpdb->get_var("SELECT * FROM $tableoptions WHERE option_id = '93'")) {
|
||||||
$wpdb->query("INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level) VALUES (93, 'blog_charset', 3, 'utf-8', 'Your blog’s charset (here’s a <a href='http://developer.apple.com/documentation/macos8/TextIntlSvcs/TextEncodingConversionManager/TEC1.5/TEC.b0.html'>list of possible charsets</a>)', 8)");
|
$wpdb->query("INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level) VALUES (93, 'blog_charset', 3, 'utf-8', 'Your blog’s charset (here’s a <a href=\"http://developer.apple.com/documentation/macos8/TextIntlSvcs/TextEncodingConversionManager/TEC1.5/TEC.b0.html\">list of possible charsets</a>)', 8)");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue