[wp-trac] [WordPress Trac] #24050: Plugin Editor doesn't show all plugin files, only 64
WordPress Trac
noreply at wordpress.org
Sat May 3 11:00:24 UTC 2014
#24050: Plugin Editor doesn't show all plugin files, only 64
-----------------------------------+-----------------------
Reporter: Daedalon | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+-----------------------
Changes (by bobbingwide):
* status: closed => reopened
* resolution: duplicate =>
Comment:
I believe the title of this defect could be better changed to
"get_plugin_files() only processes one subfolder".
I was using this function until I realised that it can't handle nested
folders.
e.g.it would only go as far as listing the sub-folder name. e.g. my-
plugin/folder1/folder2
None of the files within folder2 would be listed. So my-
plugin/folder1/folder2/myphp.php would not be shown.
A number of patches have been supplied for #24050 and #6531.
With regards to these supplied patches, they could be slightly improved.
If there was a parameter allowing the function to list ALL files
regardless of folder depth, with the default being false, then I believe
these fixes could be safely applied.
They won't fix the plugin and theme editor problems but it would fix my
particular problem.
In the mean time, I will have to use a different routine.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24050#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list