[wp-trac] [WordPress Trac] #17552: Plugin editor incorrectly calls some files inactive.
WordPress Trac
noreply at wordpress.org
Sun Jun 30 22:01:24 UTC 2013
#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 |
--------------------------+-----------------------------
Comment (by WraithKenny):
dd32's patch seems to make a lot of sense.
the important bit is
{{{
if ( empty($plugin) ) {
if ( ! empty($file) ) {
$plugin = $file;
} else {
$plugin = array_keys($plugins);
$plugin = $plugin[0];
}
}
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17552#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list