mirror of
git://develop.git.wordpress.org/
synced 2025-02-11 18:41:37 +01:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@42112 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
81.4%
CSS
8.9%
JavaScript
8.1%
SCSS
0.9%
HTML
0.7%