[wp-trac] [WordPress Trac] #20159: Typo in sites/users network admin bulk actions
WordPress Trac
wp-trac at lists.automattic.com
Fri Mar 2 21:47:29 UTC 2012
#20159: Typo in sites/users network admin bulk actions
---------------------------+-----------------
Reporter: duck_ | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.4
Component: Network Admin | Version: 3.0
Severity: normal | Keywords:
---------------------------+-----------------
{{{
if ( $_GET['action'] != -1 || $_POST['action2'] != -1 )
$doaction = $_POST['action'] != -1 ? $_POST['action'] :
$_POST['action2'];
}}}
Checking $_GET for action and $_POST for action2. The line can be dropped
since it will always be true and it doesn't matter if $doaction is set to
-1.
Looks like it's from [13609] and [13918].
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20159>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list