[wp-trac] [WordPress Trac] #43060: register taxonomy should accept a label to affect the description under each field on the Add Tag form

WordPress Trac noreply at wordpress.org
Thu Jan 11 00:07:11 UTC 2018


#43060: register taxonomy should accept a label to affect the description under
each field on the Add Tag form
-------------------------+------------------------------
 Reporter:  mclaurent    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Taxonomy     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  administration
-------------------------+------------------------------

Comment (by jeremyescott):

 Something that seems weird to me about the original example is that the
 'new_item_name_description' doesn't replace but appends the default
 description. The suggestion seems to imagine a behavior more like a filter
 would than an action or a label.

 Which begs the question, should plugin editors have the ability to remove
 the "the name how it appears on your site" message? I'd say, "yes".

 That said, I'm not so sure this should be in the array. If we added this,
 why wouldn't we do the same for the other tags fields? So
 'new_item_name_description', 'new_item_slug_description', and
 'new_item_description_description'? And there we find the awkwardness of
 taking this one step forward... 'description_description'. :D

 I think a filter would be most appropriate. My head isn't in the mode to
 think up a name, but a filter that is dynamic to the post type key, e.g.:
 taxonomy_$keyname_name_field_description, and
 taxonomy_$keyname_description_field_description, etc.

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


More information about the wp-trac mailing list