Re-enabled sql inserts for all the options data
git-svn-id: https://develop.svn.wordpress.org/trunk@321 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9644898ff1
commit
c9b8524b98
@ -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
Block a user