[wp-trac] [WordPress Trac] #61509: Tools - Theme file editor

WordPress Trac noreply at wordpress.org
Wed Jun 26 12:28:19 UTC 2024


#61509: Tools - Theme file editor
----------------------------+-----------------------------
 Reporter:  cmartel         |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  6.5.5
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 Hello, in versions 6.5.5 and 6.4.5 of WordPress the file editor menu
 returns the error: "Sorry, that file cannot be edited".

 I tested both basic versions of WordPress.

 The function validate_file( $file, $allowed_files = array() ) of the
 wp_content/functions.php file returns the value 3 instead of 0 for a value
 of the parameter $file = "C:\wamp64\www\wptestold/wp-content
 /themes/twentytwentytwo/style.css"

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61509>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list