[wp-trac] [WordPress Trac] #13436: Wordpress class_exists() conflicts with __autoload() and php_auto_prepend

WordPress Trac wp-trac at lists.automattic.com
Fri May 21 13:14:16 UTC 2010


#13436: Wordpress class_exists() conflicts with __autoload() and php_auto_prepend
----------------------------------------------------+-----------------------
 Reporter:  galbus                                  |        Owner:         
     Type:  enhancement                             |       Status:  closed 
 Priority:  normal                                  |    Milestone:         
Component:  General                                 |      Version:  3.0    
 Severity:  minor                                   |   Resolution:  invalid
 Keywords:  autoload class_exists php_auto_prepend  |  
----------------------------------------------------+-----------------------
Changes (by dd32):

  * status:  new => closed
  * resolution:  => invalid
  * milestone:  Unassigned =>


Comment:

 For reference, the SVN repository is available at
 http://core.svn.wordpress.org/trunk/

 Closing as invalid, as this is not something that WordPress can do.

 If an application wants to allow 3rd-party code to run, and uses
 !__autoload(), it needs to handle 3rd-party classes. In this case, It'd
 involve checking either the class is a known class, or that the file
 exists before including it.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13436#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list