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

WordPress Trac noreply at wordpress.org
Sun Dec 22 08:35:41 UTC 2013


#13436: WordPress class_exists() conflicts with __autoload() and php_auto_prepend
-------------------------------+------------------------------
 Reporter:  galbus             |       Owner:
     Type:  enhancement        |      Status:  reopened
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  3.0
 Severity:  minor              |  Resolution:
 Keywords:  needs-patch close  |
-------------------------------+------------------------------

Comment (by Denis-de-Bernardy):

 As much as I agree it's a trivial fix that should have get checked in a
 long time ago, my issue with the idea of not fixing it for that reason is
 that WordPress ends up being, as always, the dirty little black sheep in
 the php community: one doesn't code with WP as much as one codes around it
 and its quirks (global variables, GPC escaping, awkward for autoloading,
 etc.).

 It would be very sweet if, at some point, WordPress could get loaded like
 any other Symfony or Zend or Drupal or whatever bundle, module, component,
 you name it. Much progress has arguably been made in recent years to allow
 this, but surely -- seeing that you use composer and Symfony yourself, if
 I recollect your github account correctly -- you're aware that we're only
 a few notches beyond the stage where you load Wordapress and pray things
 won't blow up in your face.

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


More information about the wp-trac mailing list