[wp-trac] [WordPress Trac] #61488: 6.5.5 Makes Theme Files Inaccessible

WordPress Trac noreply at wordpress.org
Tue Jun 25 06:31:54 UTC 2024


#61488: 6.5.5 Makes Theme Files Inaccessible
----------------------------+---------------------
 Reporter:  script2see      |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  6.6
Component:  Filesystem API  |     Version:  6.5.5
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:
----------------------------+---------------------

Comment (by Presskopp):

 Replying to [comment:5 peterwilsoncc]:
 > * What operating systems are you using?
 Windows 11
 > * Are you seeing the same issue on the plugin editor: `/wp-admin/plugin-
 editor.php`?
 No
 > * Are you testing with a downloaded copy or WordPress or one checked out
 via SVN or Git?
 downloaded via beta tester plugin (update-core.php)

 @siliconforks is on the right track. In my case the error message is
 generated in line 752 of file.php (case 3). Setting {{{in_array( $file,
 $allowed_files, true )}}} to {{{true}}} manually is re-enabling the
 editor.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61488#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list