Changeset 13538 for trunk/wp-admin/admin-ajax.php
- Timestamp:
- 03/01/2010 09:04:37 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-ajax.php
r13489 r13538 621 621 $tags = get_terms( $taxonomy, array( 'number' => 45, 'orderby' => 'count', 'order' => 'DESC' ) ); 622 622 623 if ( empty( $tags ) ) 624 die( __('No tags found!') ); 623 if ( empty( $tags ) ) { 624 $tax = get_taxonomy( $taxonomy ); 625 die( isset( $tax->no_tagcloud ) ? $tax->no_tagcloud : __('No tags found!') ); 626 } 625 627 626 628 if ( is_wp_error($tags) )
Note: See TracChangeset
for help on using the changeset viewer.