[wp-trac] [WordPress Trac] #51517: Allow post statuses other the `publish` to be included in term counts.

WordPress Trac noreply at wordpress.org
Thu Oct 15 22:15:53 UTC 2020


#51517: Allow post statuses other the `publish` to be included in term counts.
---------------------------+------------------------------
 Reporter:  peterwilsoncc  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Taxonomy       |     Version:
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------

Comment (by jeremyfelt):

 I ran into this today (again) and wondered if there was a Trac ticket
 already. Only a couple days old! :)

 Very much a +1 overall.

 My immediate thought was to add a filter to `_update_post_term_count()`
 though I'd also be on board with an argument on `register_taxonomy()`.

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


More information about the wp-trac mailing list