[wp-trac] [WordPress Trac] #42425: Theme editor: Unable to edit files more than 1-level deep
WordPress Trac
noreply at wordpress.org
Thu Nov 2 23:04:56 UTC 2017
#42425: Theme editor: Unable to edit files more than 1-level deep
-------------------------------------------+--------------------------
Reporter: westonruter | Owner: westonruter
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.9
Component: General | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch commit dev-reviewed | Focuses:
-------------------------------------------+--------------------------
Changes (by westonruter):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"42112"]:
{{{
#!CommitTicketReference repository="" revision="42112"
Theme Editor: Ensure files listed recursively can be both viewed and
edited.
Prevent edits to 2-level deep theme files from returning a
`disallowed_theme_file` error when attempting to save an edit. Aligns
logic for gathering `$allowed_files` in `theme-editor.php` for listing
files with the validation logic in `wp_edit_theme_plugin_file()`.
Amends [41806].
See #6531.
Fixes #42425.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42425#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list