[wp-trac] [WordPress Trac] #47114: global $pages not available on the_post action

WordPress Trac noreply at wordpress.org
Sat May 4 20:59:18 UTC 2019


#47114: global $pages not available on the_post action
-------------------------------+---------------------
 Reporter:  david.binda        |       Owner:  azaozz
     Type:  defect (bug)       |      Status:  closed
 Priority:  highest omg bbq    |   Milestone:  5.2
Component:  Posts, Post Types  |     Version:  trunk
 Severity:  normal             |  Resolution:  fixed
 Keywords:  has-patch commit   |     Focuses:
-------------------------------+---------------------
Changes (by azaozz):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45285" 45285]:
 {{{
 #!CommitTicketReference repository="" revision="45285"
 Fix `setup_postdata()` to set the (inside the loop) globals before
 `the_post` action is fired. Follow-up from #42814 and [44941].

 Props david.binda, spacedmonkey, boonebgorges, birgire, jorbin, azaozz.
 Fixes #47114 for trunk.
 }}}

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


More information about the wp-trac mailing list