[wp-trac] Re: [WordPress Trac] #6936: upgrade process fails with
WP_User_Search class not found error if __autoload defined
WordPress Trac
wp-trac at lists.automattic.com
Thu Feb 5 20:29:11 GMT 2009
#6936: upgrade process fails with WP_User_Search class not found error if
__autoload defined
-----------------------------+----------------------------------------------
Reporter: ithinkihaveacat | Owner: anonymous
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.9
Component: Administration | Version: 2.5.1
Severity: normal | Resolution:
Keywords: |
-----------------------------+----------------------------------------------
Comment (by konsty):
Any progress on this?
Of course once can cure it with something like that:
{{{
function __autoload($class_name)
{
if ($class_name != 'WP_User_Search')
{
require_once("class.$class_name.php");
}
}
}}}
But it is not elegant...
--
Ticket URL: <http://trac.wordpress.org/ticket/6936#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list