[wp-trac] [WordPress Trac] #47114: global $pages not available on the_post action
WordPress Trac
noreply at wordpress.org
Sat May 4 21:06:21 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: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"45286" 45286]:
{{{
#!CommitTicketReference repository="" revision="45286"
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.
Merges [45285] from trunk.
Fixes #47114 for 5.2.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47114#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list