[wp-trac] [WordPress Trac] #42021: _update_posts_count_on_transition_post_status firing for incorrect post types

WordPress Trac noreply at wordpress.org
Mon Oct 2 02:23:54 UTC 2017


#42021: _update_posts_count_on_transition_post_status firing for incorrect post
types
----------------------------------------+-------------------------
 Reporter:  sboisvert                   |       Owner:  jeremyfelt
     Type:  defect (bug)                |      Status:  reviewing
 Priority:  normal                      |   Milestone:  4.9
Component:  Networks and Sites          |     Version:  4.0
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:  multisite
----------------------------------------+-------------------------

Comment (by jeremyfelt):

 [attachment:42021.2.diff] applies the same restriction to
 `_update_posts_count_on_delete()`, which already has access to the post
 object.

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


More information about the wp-trac mailing list