#39316 closed defect (bug) (duplicate)
Plugin Editor not showing sub folders
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.7 |
Component: | Filesystem API | Keywords: | |
Focuses: | administration, performance | Cc: |
Description
In WP 4.7 plugin editor only shows files relative to plugin root folder. So, in my case if the plugin has 50 php files than only 2 of them are shown and I cannot fix an issue related to one of the installed plugins without having ftp access, looks like that problem comes from get_plugin_files() in wp-admin/includes/plugin.php which returns only files relative to the plugin root folder. I saw in trac that there are a lot of issue tickets about this bug but non of them has been solved yet.
see: https://core.trac.wordpress.org/browser/tags/4.7/src/wp-admin/includes/plugin.ihp#L191
In phpdoc it states that the function will return only List of files relative to the plugin room.
My local server environment
php version: 7.0.9
OS: windows 10
apache version: 2.4.23
Attachments (2)
Change History (6)
#1
@
8 years ago
- Resolution set to invalid
- Status changed from new to closed
I'm sorry for akismet everything is correct, but in bigger plugins that have a lot of sub folders most of the files are not shown. for example Woocommerce has /includes folder which has 14 sub folders and each of them hav sub folders too, in this case I can see only files from /includes directory.
here is what I see for akismet