Changeset 5289 for branches/2.2/xmlrpc.php
- Timestamp:
- 04/19/2007 10:26:52 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/xmlrpc.php
r5281 r5289 1555 1555 1556 1556 // FIXME: can we avoid using direct SQL there? 1557 if ($cats = $wpdb->get_results("SELECT cat_ID, cat_name FROM $wpdb->categories WHERE (type & " . TAXONOMY_CATEGORY . " != 0)", ARRAY_A)) {1557 if ($cats = $wpdb->get_results("SELECT cat_ID, cat_name FROM $wpdb->categories", ARRAY_A)) { 1558 1558 foreach ($cats as $cat) { 1559 1559 $struct['categoryId'] = $cat['cat_ID'];
Note: See TracChangeset
for help on using the changeset viewer.