Changeset 7970 for trunk/bp-xprofile/bp-xprofile-admin.php
- Timestamp:
- 02/22/2014 11:17:54 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-admin.php
r7857 r7970 608 608 } 609 609 610 $merge_ids = ''; 611 foreach ( $_POST['field_ids'] as $ids ) { 612 $merge_ids .= $ids . ','; 613 } 614 615 // Explode the posted field IDs into an array so we know which 616 // fields have been submitted 617 $posted_field_ids = array_filter( wp_parse_id_list( $merge_ids ) ); 610 // Explode the posted field IDs into an array so we know which fields have been submitted 611 $posted_field_ids = wp_parse_id_list( $_POST['field_ids'] ); 618 612 $is_required = array(); 619 613 620 // Loop through the posted fields formatting any datebox values 621 // then validate the field 614 // Loop through the posted fields formatting any datebox values then validate the field 622 615 foreach ( (array) $posted_field_ids as $field_id ) { 623 616 if ( ! isset( $_POST['field_' . $field_id] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.