[wp-trac] [WordPress Trac] #51630: Partial term counts: `_wp_prevent_term_counting()` breaks term counting for terms created on actions.

WordPress Trac noreply at wordpress.org
Tue Oct 27 00:25:26 UTC 2020


#51630: Partial term counts: `_wp_prevent_term_counting()` breaks term counting for
terms created on actions.
--------------------------------------+---------------------
 Reporter:  peterwilsoncc             |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  5.6
Component:  General                   |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by peterwilsoncc):

 @Chouby I love a report that includes clear unit tests, it's a great head
 start. Thank you.

 I've created a [https://github.com/WordPress/wordpress-develop/pull/664
 pull request to work on this] using tests similar to those in the comments
 above, I've used tags in place of categories so to take advantage of the
 shared fixtures.

 At the moment it's tests only so, as expected, the tests are failing. If
 you think of any further tests, let me know and I will add them to the
 pull request.

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


More information about the wp-trac mailing list