[wp-trac] [WordPress Trac] #39316: Plugin Editor not showing sub folders

WordPress Trac noreply at wordpress.org
Sat Dec 17 11:55:08 UTC 2016


#39316: Plugin Editor not showing sub folders
-----------------------------------------+-----------------------------
 Reporter:  mattdevelop                  |      Owner:
     Type:  defect (bug)                 |     Status:  new
 Priority:  normal                       |  Milestone:  Awaiting Review
Component:  Filesystem API               |    Version:  4.7
 Severity:  normal                       |   Keywords:
  Focuses:  administration, performance  |
-----------------------------------------+-----------------------------
 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.[[BR]]

 My local server environment
 php version: 7.0.9
 OS: windows 10
 apache version: 2.4.23

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39316>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list