[wp-trac] [WordPress Trac] #24122: When opening a file in Plugin Editor, show correct plugin in the dropdown selector
WordPress Trac
noreply at wordpress.org
Thu Apr 18 12:19:56 UTC 2013
#24122: When opening a file in Plugin Editor, show correct plugin in the dropdown
selector
-----------------------------+--------------------------
Reporter: Daedalon | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Plugins
Version: | Severity: minor
Keywords: |
-----------------------------+--------------------------
When opening a file in Plugin Editor, the reloaded page shows the first
plugin according to alphabetical order in the dropdown next to "Select
plugin to edit:". It should default to the plugin the loaded file belongs
to.
Steps to reproduce
1. Open wp-admin/plugin-editor.php
2. Select any plugin from the "Select plugin to edit:" dropdown except the
alphabetically first one, eg. WordPress Beta Tester, and click Select.
3. The page reloads and WordPress Beta Tester is shown as the default
value in the dropdown, as expected.
4. Click any file under Plugin Files, eg. wordpress-beta-tester/readme.txt
-> The page reloads and shows the file in editor. However, "Select plugin
to edit:" doesn't have a value set and shows the first plugin in
alphabetical order by default.
-> However, if you chose the main plugin file, eg. wordpress-beta-tester
/wp-beta-tester.php, "Select plugin to edit:" shows the correct plugin as
the default value.
Any clicked file should lead to its plugin used as the default value for
"Select plugin to edit:".
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24122>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list