[wp-trac] [WordPress Trac] #21580: check_and_publish_future_post() should set global $post

WordPress Trac wp-trac at lists.automattic.com
Sat Aug 18 18:44:21 UTC 2012


#21580: check_and_publish_future_post() should set global $post
--------------------------+----------------------
 Reporter:  MattyRob      |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Cron          |     Version:  3.4.1
 Severity:  major         |  Resolution:  wontfix
 Keywords:                |
--------------------------+----------------------

Comment (by scribu):

 Yeah, I guess I was looking at
 `do_action("{$new_status}_{$post->post_type}", $post->ID, $post);`

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


More information about the wp-trac mailing list