[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
Fri Apr 19 09:49:09 UTC 2013
#24122: When opening a file in Plugin Editor, show correct plugin in the dropdown
selector
--------------------------+------------------------------
Reporter: Daedalon | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version:
Severity: minor | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Changes (by aniketpant):
* keywords: => has-patch
Comment:
The bug was there because when a file is selected for editing, it passes
the `filename` to `$plugin` which compares `$plugin` with the primary file
of all plugins to find which plugin the file is a part of.
Fixed the bug by exploding the two strings, and comparing the first
elements.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24122#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list