[wp-trac] [WordPress Trac] #23597: Alert message, "No tags found!" cannot be set for a non-hierarchical custom taxonomy.

WordPress Trac noreply at wordpress.org
Sun Feb 24 12:39:52 UTC 2013


#23597: Alert message, "No tags found!" cannot be set for a non-hierarchical custom
taxonomy.
---------------------------+------------------
 Reporter:  alexmansfield  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  3.6
Component:  Taxonomy       |     Version:  3.0
 Severity:  normal         |  Resolution:
 Keywords:                 |
---------------------------+------------------
Changes (by SergeyBiryukov):

 * keywords:  ui-feedback =>
 * version:  3.5.1 => 3.0
 * milestone:  Awaiting Review => 3.6


Comment:

 Although it's not documented anywhere as far as I can see, it's actually
 possible to customize the string by adding `no_tagcloud` parameter to your
 `register_taxonomy()` call (see [13538]):
 {{{
 register_taxonomy( 'classification', 'post', array(
         ...
         'no_tagcloud' => __( 'No classifications found!', 'your-
 textdomain' ),
 ) );
 }}}
 Seems like the string was missed in [15190], so it didn't make it into the
 `labels` array. I guess we should move it there. We could also change the
 default to "No items found".

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23597#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list