Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/14/2014 01:12:13 AM (10 years ago)
Author:
boonebgorges
Message:

Remove unnecessary parameter sanitization from meta functions

WP's meta API functions already perform the necessary sanitization.

See #5399

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-functions.php

    r8134 r8135  
    10331033    global $wpdb;
    10341034
    1035     // Legacy - return false if non-int group ID
    1036     if ( ! is_numeric( $group_id ) ) {
    1037         return false;
    1038     }
    1039 
    10401035    // Legacy - if no meta_key is passed, delete all for the item
    10411036    if ( empty( $meta_key ) ) {
Note: See TracChangeset for help on using the changeset viewer.