[wp-trac] [WordPress Trac] #16562: sometimes deactivation of plugin deactivates another
WordPress Trac
wp-trac at lists.automattic.com
Wed Feb 16 12:29:16 UTC 2011
#16562: sometimes deactivation of plugin deactivates another
-----------------------------------------+------------------------------
Reporter: Ghost_ufa | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.1
Severity: major | Resolution:
Keywords: reporter-feedback has-patch |
-----------------------------------------+------------------------------
Changes (by hakre):
* keywords: reporter-feedback => reporter-feedback has-patch
Comment:
Nice find.
* array_search() returns the key, not the offset of an array.
* using a numerical offset which must not be the numerical value of $key.
* used to remove a single element only, it just does what unset() is used
for.
Trivial to patch.
In case running into that, its not obvious what was going on. Thanks for
reporting this.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16562#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list