[wp-trac] [WordPress Trac] #31287: Use require_once for loading class WP_Admin_Bar
WordPress Trac
noreply at wordpress.org
Wed Feb 11 15:58:25 UTC 2015
#31287: Use require_once for loading class WP_Admin_Bar
-----------------------------+-----------------------------
Reporter: danielbachhuber | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.2
Component: Toolbar | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
-----------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"31411"]:
{{{
#!CommitTicketReference repository="" revision="31411"
Use `require_once()` to prevent a fatal error if `_wp_admin_bar_init()` is
called twice.
props danielbachhuber.
fixes #31287.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31287#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list