[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 May 8 14:35:07 GMT 2008


#6936: upgrade process fails with WP_User_Search class not found error if
__autoload defined
-----------------------------+----------------------------------------------
 Reporter:  ithinkihaveacat  |        Owner:  anonymous
     Type:  defect           |       Status:  new      
 Priority:  normal           |    Milestone:  2.6      
Component:  Administration   |      Version:  2.5.1    
 Severity:  normal           |   Resolution:           
 Keywords:                   |  
-----------------------------+----------------------------------------------
Changes (by DD32):

  * milestone:  => 2.6

Comment:

 Seems like Stupid PHP to me.. Calling the autoload function is fair
 enough, but surely it should check again to see if the class was loaded
 before returning..

 Anyway, The $autoload parameter for class_exists was introduced with PHP
 5.0.0, I'm not sure what warnings are triggered by calling a function with
 extra arguements(If any indeed..).

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6936#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list