[WP BUG] $file variable hits theme_editor namespace
Hi WP team.
I’ve just uncovered one thing:
Whenever your plugin declares a variable
$fileanytime time you try opening your theme-editor (Appearance->Editor) it will break with one of the errors of
validate_file_to_editfunction located at
I find this bit wierd that at
$filevariable to come from parent include files, yep, that’s the cause of the error in
validate_file_to_edit– the wrong file is getting checked.
Maybe you could patch this namespace problem up?
Thanks for the great platform anyway 😉
- The topic ‘[WP BUG] $file variable hits theme_editor namespace’ is closed to new replies.