[wp-trac] [WordPress Trac] #40661: WP_Term_Query->parse_query() needs filter like 'get_terms'

WordPress Trac noreply at wordpress.org
Thu Jun 1 19:29:39 UTC 2017


#40661: WP_Term_Query->parse_query() needs filter like 'get_terms'
-------------------------------------------------+-------------------------
 Reporter:  mpol                                 |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Taxonomy                             |  Review
 Severity:  normal                               |     Version:
 Keywords:  has-patch needs-refresh needs-unit-  |  Resolution:
  tests                                          |     Focuses:
-------------------------------------------------+-------------------------
Changes (by ocean90):

 * keywords:   => has-patch needs-refresh needs-unit-tests
 * version:  trunk =>
 * type:  defect (bug) => enhancement


Comment:

 @mpol Your patch is missing the file name. Also, could you please
 [https://make.wordpress.org/core/handbook/best-practices/inline-
 documentation-standards/php/#4-hooks-actions-and-filters document] the
 filters?

 How do the other `::parse_query()` methods handle this case?

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


More information about the wp-trac mailing list