Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/08/2013 08:27:22 PM (11 years ago)
Author:
boonebgorges
Message:

Improved sanitization for Core component database methods

All constructed IN clauses for integer values are now run through
wp_parse_id_list().

Also adds tests for the relevant methods.

Fixes #4992

Props johnjamesjacoby, DJPaul

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/tests/testcases/core/class-bp-user-query.php

    r7022 r7024  
    44 * @group core
    55 */
    6 class BP_Tests_Core_Classes extends BP_UnitTestCase {
     6class BP_Tests_BP_User_Query_TestCases extends BP_UnitTestCase {
    77    protected $old_current_user = 0;
    88
     
    148148
    149149        $this->assertEquals( $user_id, $found_user_id );
    150 
    151150    }
    152 
    153151}
Note: See TracChangeset for help on using the changeset viewer.