[wp-trac] [WordPress Trac] #11712: Theme Editor -> "Sorry, that file cannot be edited."

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 4 22:38:22 UTC 2010


#11712: Theme Editor -> "Sorry, that file cannot be edited."
--------------------------+-------------------------------------------------
 Reporter:  Frumph        |        Owner:          
     Type:  defect (bug)  |       Status:  reopened
 Priority:  normal        |    Milestone:          
Component:  General       |      Version:          
 Severity:  normal        |   Resolution:          
 Keywords:                |  
--------------------------+-------------------------------------------------
Changes (by Frumph):

  * status:  closed => reopened
  * resolution:  invalid =>


Comment:

 Reopening

 {{{
 function validate_file( in wp-includes/functions.php
 }}

 is returning $file as not a valid comparison to the array

 example:
 {{{
  string(29) "/themes/comicpress/footer.php"
 }}}

 however the array:

 {{{
 array(78) { [0]=>  string(59) "C:\inetpub\localhost/wp-
 content/themes/comicpress/style.css"
 }}}

 because the C:\inetpub\localhost is there it will never come back with a
 correct value

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


More information about the wp-trac mailing list