#61509 closed defect (bug) (duplicate)
Tools - Theme file editor
Reported by: | cmartel | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
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"
Attachments (3)
Change History (5)
#2
@
3 months ago
- Milestone Awaiting Review deleted
- Version 6.5.5 deleted
Hi @cmartel, welcome to track.
As mentioned before, this is already being tracked and a fix has been committed to trunk. As a workaround, you can use a code editor that you install on your machine such as notepad++ or VS Code
Note: See
TracTickets for help on using
tickets.
This appears to be a duplicate of #61488.