Ticket #23597: 23597.diff
| File 23597.diff, 1.9 KB (added by DrewAPicture, 3 months ago) |
|---|
-
wp-admin/includes/ajax-actions.php
655 655 $tags = get_terms( $taxonomy, array( 'number' => 45, 'orderby' => 'count', 'order' => 'DESC' ) ); 656 656 657 657 if ( empty( $tags ) ) 658 wp_die( isset( $tax->no_tagcloud ) ? $tax->no_tagcloud : __('No tags found!'));658 wp_die( isset( $tax->no_tagcloud ) ? $tax->no_tagcloud : $tax->labels->no_tagcloud ); 659 659 660 660 if ( is_wp_error( $tags ) ) 661 661 wp_die( $tags->get_error_message() ); -
wp-includes/taxonomy.php
411 411 * - separate_items_with_commas - This string isn't used on hierarchical taxonomies. Default is "Separate tags with commas", used in the meta box. 412 412 * - add_or_remove_items - This string isn't used on hierarchical taxonomies. Default is "Add or remove tags", used in the meta box when JavaScript is disabled. 413 413 * - choose_from_most_used - This string isn't used on hierarchical taxonomies. Default is "Choose from the most used tags", used in the meta box. 414 * - no_tagcloud - This string isn't used on hierarchical taxonomies. Default is "No terms found," used in the meta box. 414 415 * 415 416 * Above, the first default value is for non-hierarchical taxonomies (like tags) and the second one is for hierarchical taxonomies (like categories). 416 417 * … … 439 440 'separate_items_with_commas' => array( __( 'Separate tags with commas' ), null ), 440 441 'add_or_remove_items' => array( __( 'Add or remove tags' ), null ), 441 442 'choose_from_most_used' => array( __( 'Choose from the most used tags' ), null ), 443 'no_tagcloud' => array( __( 'No terms found.' ), null ), 442 444 ); 443 445 $nohier_vs_hier_defaults['menu_name'] = $nohier_vs_hier_defaults['name']; 444 446
