Changeset 11243 for trunk/src/bp-xprofile/bp-xprofile-functions.php
- Timestamp:
- 11/13/2016 03:39:54 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/bp-xprofile-functions.php
r11035 r11243 1064 1064 1065 1065 $bp = buddypress(); 1066 $id = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM {$bp->profile->table_name_fields} WHERE name = %s", bp_xprofile_fullname_field_name() ) );1066 $id = $wpdb->get_var( $wpdb->prepare( "SELECT id FROM {$bp->profile->table_name_fields} WHERE name = %s", addslashes( bp_xprofile_fullname_field_name() ) ) ); 1067 1067 1068 1068 wp_cache_set( 'fullname_field_id', $id, 'bp_xprofile' );
Note: See TracChangeset
for help on using the changeset viewer.