[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
Tue Sep 30 20:08:03 UTC 2014


#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     |     Focuses:
--------------------------+------------------------------

Comment (by MattyRob):

 I've tested this patch today and it needs a little adjustment.

 Assume you have Aksimet and Akismet Spam Count, the main files are
 akismet/akismet.php and akismet_count.php respectively.

 The current code evaluates both of these items as 'selected' in the drop
 down so when in the editor on Akismet you are selected for Aksimet Spam
 Count in the drop down. This can be remedied by adding a trailing slash to
 the path as per the attached patch.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/24122#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list