[wp-trac] [WordPress Trac] #42421: Move "Filter by" strings into labels arrays of registrations

WordPress Trac noreply at wordpress.org
Sun Jan 31 19:11:51 UTC 2021


#42421: Move "Filter by" strings into labels arrays of registrations
-------------------------------------------------+-------------------------
 Reporter:  johnjamesjacoby                      |       Owner:
                                                 |  SergeyBiryukov
     Type:  enhancement                          |      Status:  reviewing
 Priority:  normal                               |   Milestone:  5.7
Component:  Administration                       |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-patch needs-dev-  |     Focuses:
  note commit                                    |  administration
-------------------------------------------------+-------------------------

Comment (by johnjamesjacoby):

 This is coming along nicely!

 I think the “Filter by Category” string needs to be part of the registered
 Taxonomy instead, and not the Post Type. The current patch would require
 every registered Post Type to have pre-existing knowledge of the
 Taxonomies that are registered to it, which is unlikely to always be the
 case.

 Thoughts?

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


More information about the wp-trac mailing list