﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
22079,Plugin filenames can break links in the admin menu,simonwheatley,SergeyBiryukov,"For example:

Creating a plugin at ```wp-content/plugins/import.php``` will break the Tools > Import link, changing the (correct) link from ```/wp-admin/import.php``` to ```/wp-admin/tools.php?page=import.php```. This also works/breaks with ```plugins.php```, ```export.php```, etc.

The issue seems to be some code in ```[http://core.trac.wordpress.org/browser/tags/3.4.2/wp-admin/menu-header.php#L153 _wp_menu_output]```, which checks for the existence of files in the plugins directory and changes the link if they are found. I'm guessing this code relates to the ability to link to plugin files from the admin menu? ",defect (bug),closed,normal,3.6,Administration,2.7,normal,fixed,has-patch commit,lightningspirit@… mdhansen@…
