Re-enabled sql inserts for all the options data
git-svn-id: http://svn.automattic.com/wordpress/trunk@321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ff463a8a82
commit
060156e6d4
|
@ -568,9 +568,9 @@ $option_data = array(
|
|||
"INSERT INTO $tableoptionvalues (option_id, optionvalue, optionvalue_desc, optionvalue_max, optionvalue_min, optionvalue_seq) VALUES (59, 'SELECT cat_id AS value, cat_name AS label FROM $tablecategories order by cat_name', '', null,null,1)",
|
||||
);
|
||||
|
||||
//foreach ($option_data as $query) {
|
||||
// $q = $wpdb->query($query);
|
||||
//}
|
||||
foreach ($option_data as $query) {
|
||||
$q = $wpdb->query($query);
|
||||
}
|
||||
|
||||
?>
|
||||
<?php
|
||||
|
|
Loading…
Reference in New Issue