[wp-trac] [WordPress Trac] #47114: global $pages not available on the_post action
WordPress Trac
noreply at wordpress.org
Sat May 4 17:31:17 UTC 2019
#47114: global $pages not available on the_post action
-------------------------------+-----------------------
Reporter: david.binda | Owner: azaozz
Type: defect (bug) | Status: assigned
Priority: highest omg bbq | Milestone: 5.2
Component: Posts, Post Types | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses:
-------------------------------+-----------------------
Comment (by jorbin):
I disagree with @boonebgorges in that I think the test is fine. We can
always refactor the test later, but in general, I think this usage of an
anonymous function is fine and having a test is better than no test.
Overall, I think this patch is good. Tested and not seeing any unexpected
side effects.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47114#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list