[wp-trac] [WordPress Trac] #24049: Make Plugin Editor's file list alphabetical by full path
WordPress Trac
noreply at wordpress.org
Tue Dec 2 05:47:23 UTC 2014
#24049: Make Plugin Editor's file list alphabetical by full path
------------------------------------------+-----------------------------
Reporter: Daedalon | Owner: SergeyBiryukov
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: Future Release
Component: Plugins | Version: 2.8
Severity: normal | Resolution:
Keywords: needs-unit-tests needs-patch | Focuses:
------------------------------------------+-----------------------------
Changes (by johnbillion):
* keywords: has-patch => needs-unit-tests needs-patch
* milestone: 4.1 => Future Release
Comment:
If you select a file in a subdirectory for editing, the list of files in
the sidebar completely breaks, and the current plugin is not correctly
selected. I can't believe there isn't an existing ticket for this.
I think that's closely related to this and they should be fixed together.
`get_plugin_files()` should probably always be passed the plugin's root
file, not the file being currently edited.
We should also get some unit tests on this.
Related: #24048
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24049#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list