[wp-trac] [WordPress Trac] #34554: Add a `taxonomy_labels_{$taxonomy}` filter

WordPress Trac noreply at wordpress.org
Wed Nov 4 16:02:14 UTC 2015


#34554: Add a `taxonomy_labels_{$taxonomy}` filter
-------------------------+--------------------------
 Reporter:  flixos90     |       Owner:  johnbillion
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  4.4
Component:  Taxonomy     |     Version:  3.5
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:
-------------------------+--------------------------
Changes (by DrewAPicture):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"35504"]:
 {{{
 #!CommitTicketReference repository="" revision="35504"
 Taxonomy: Introduce the dynamic `taxonomy_labels_{$taxonomy}` filter,
 which can be used to manipulate the labels for a given taxonomy.

 The addition of this hook brings parity with the earlier-introduced
 `post_type_labels_{$post_type}` filter, which allows for similarly
 manipulating labels for a given post type.

 Note: It isn't possible to unset or remove default labels via either of
 these hooks, only to overwrite. This is because WordPress relies on
 defaults being set for use in various UIs and admin experiences.

 Props flixos90.
 Fixes #34554.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34554#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list