[wp-trac] [WordPress Trac] #17552: Plugin editor incorrectly calls some files inactive.
WordPress Trac
noreply at wordpress.org
Fri Jun 27 10:06:40 UTC 2014
#17552: Plugin editor incorrectly calls some files inactive.
--------------------------+-----------------------------
Reporter: dd32 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Plugins | Version: 3.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+-----------------------------
Comment (by jayarjo):
Why it ended up as:
{{{
if ( $file ) {
$plugin = $file;
} elseif ( empty( $plugin ) ) {
$plugin = array_keys($plugins);
$plugin = $plugin[0];
}
}}}
The problem still there (WP 3.9.1). I think the reason behind this was not
a typo, but an actual intention to list sibling files to the one being
edited. But no matter the reason, it feels like a wrong way to do it
anyway. And it breaks the plugin selector above.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/17552#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list