mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-29 01:34:27 +00:00
Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -40,7 +40,7 @@ function &get_categories( $args = '' ) {
|
||||
$defaults = array( 'type' => 'category' );
|
||||
$args = wp_parse_args( $args, $defaults );
|
||||
|
||||
$taxonomy = apply_filters( 'get_categories_taxonomy', 'category', $args );
|
||||
$taxonomy = apply_filters( 'get_categories_taxonomy', 'category', $args );
|
||||
if ( 'link' == $args['type'] )
|
||||
$taxonomy = 'link_category';
|
||||
$categories = (array) get_terms( $taxonomy, $args );
|
||||
|
||||
Reference in New Issue
Block a user