[wp-trac] [WordPress Trac] #12594: Use paths in include calls

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 18 09:59:41 UTC 2010


#12594: Use paths in include calls
-----------------------------+----------------------------------------------
 Reporter:  nacin            |        Owner:  sorich87
     Type:  defect (bug)     |       Status:  reopened
 Priority:  highest omg bbq  |    Milestone:  3.0     
Component:  Performance      |      Version:          
 Severity:  blocker          |   Resolution:          
 Keywords:  needs-patch      |  
-----------------------------+----------------------------------------------

Comment(by dd32):

 Relative paths are taken from the calling script, not the current file.

 So in those cases, it was trying to load ABSPATH/class-json.php

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


More information about the wp-trac mailing list