Changeset 12515 for trunk/xmlrpc.php
- Timestamp:
- 12/23/2009 03:31:02 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xmlrpc.php
r12303 r12515 2807 2807 $categories_struct = array(); 2808 2808 2809 if ( $cats = get_categories( 'get=all') ) {2809 if ( $cats = get_categories(array('get' => 'all')) ) { 2810 2810 foreach ( $cats as $cat ) { 2811 2811 $struct['categoryId'] = $cat->term_id; … … 2999 2999 $categories_struct = array(); 3000 3000 3001 if ( $cats = get_categories( 'hide_empty=0&hierarchical=0') ) {3001 if ( $cats = get_categories(array('hide_empty' => 0, 'hierarchical' => 0)) ) { 3002 3002 foreach ($cats as $cat) { 3003 3003 $struct['categoryId'] = $cat->term_id;
Note: See TracChangeset
for help on using the changeset viewer.