[wp-trac] [WordPress Trac] #30958: admin.php should properly set "now" globals

WordPress Trac noreply at wordpress.org
Thu Jan 8 22:51:32 UTC 2015


#30958: admin.php should properly set "now" globals
----------------------------+-----------------------------
 Reporter:  wonderboymusic  |       Owner:  wonderboymusic
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  4.2
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:  fixed
 Keywords:                  |     Focuses:
----------------------------+-----------------------------
Changes (by wonderboymusic):

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


Comment:

 In [changeset:"31106"]:
 {{{
 #!CommitTicketReference repository="" revision="31106"
 After [31105], don't ditch the `isset()` calls for BC. Declare
 `$page_hook` as `null` so it is initialized for all execution paths but
 will still fail `isset()` checks.

 Fixes #30958.
 }}}

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


More information about the wp-trac mailing list