[wp-trac] [WordPress Trac] #18624: wpmu_update_blogs_date() should not be called on private_to_published

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 9 17:35:45 UTC 2011


#18624: wpmu_update_blogs_date() should not be called on private_to_published
--------------------------+--------------------
 Reporter:  mdawaffe      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.3
Component:  Multisite     |     Version:  3.2.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------
Changes (by nacin):

 * keywords:  has-patch dev-feedback => has-patch
 * milestone:  Awaiting Review => 3.3


Comment:

 Technically, private_to_published will fire for all posts, while
 publish_post will only fire on posts.

 The latter is most certainly proper behavior. private_to_published has
 been considered an obsolete hook for many versions, well before custom
 post types. I'm pretty sure well before we actually had post types, when
 it was still post_status = static. So it's probably just an odd MU
 vestige.

 Testing and committing. Thanks.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18624#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list