Changeset 8986 for trunk/src/bp-xprofile/bp-xprofile-classes.php
- Timestamp:
- 09/07/2014 08:38:34 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/bp-xprofile-classes.php
r8816 r8986 388 388 global $wpdb, $bp; 389 389 390 if ( !is_numeric( $position ) ) 390 if ( !is_numeric( $position ) ) { 391 391 return false; 392 } 393 394 // purge profile field group cache 395 wp_cache_delete( 'xprofile_groups_inc_empty', 'bp' ); 392 396 393 397 return $wpdb->query( $wpdb->prepare( "UPDATE {$bp->profile->table_name_groups} SET group_order = %d WHERE id = %d", $position, $field_group_id ) );
Note: See TracChangeset
for help on using the changeset viewer.