Changeset 12515 for trunk/wp-admin/includes/template.php
- Timestamp:
- 12/23/2009 03:31:02 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r12493 r12515 509 509 510 510 if ( $descendants_and_self ) { 511 $categories = get_categories( "child_of=$descendants_and_self&hierarchical=0&hide_empty=0");511 $categories = get_categories(array('child_of' => $descendants_and_self, 'hierarchical' => 0, 'hide_empty' => 0)); 512 512 $self = get_category( $descendants_and_self ); 513 513 array_unshift( $categories, $self ); 514 514 } else { 515 $categories = get_categories( 'get=all');515 $categories = get_categories(array('get' => 'all')); 516 516 } 517 517 … … 613 613 } 614 614 615 $categories = get_terms('link_category', 'orderby=count&hide_empty=0');615 $categories = get_terms('link_category', array('orderby' => 'count', 'hide_empty' => 0)); 616 616 617 617 if ( empty($categories) )
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)