[wp-trac] [WordPress Trac] #20523: Disable autoloader when using class_exists()
WordPress Trac
noreply at wordpress.org
Sun Sep 20 03:51:57 UTC 2015
#20523: Disable autoloader when using class_exists()
----------------------------------------+-----------------------------
Reporter: michael.heuberger | Owner: wonderboymusic
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.4
Component: Bootstrap/Load | Version: 3.3.1
Severity: normal | Resolution: fixed
Keywords: needs-patch good-first-bug | Focuses:
----------------------------------------+-----------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"34348"]:
{{{
#!CommitTicketReference repository="" revision="34348"
Pass `false` as the 2nd argument to `class_exists()` to disable
autoloading and to not cause problems for those who define `__autoload()`.
Fixes #20523.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/20523#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list