Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/06/2016 03:15:30 AM (3 years ago)
Author:
boonebgorges
Message:

XProfile: Use field-settings instead of field_settings for name of field settings field.

See #5500.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/bp-xprofile-admin.php

    r11041 r11062  
    434434
    435435                if ( $field->type_obj->do_settings_section() ) {
    436                     $settings = isset( $_POST['field_settings'] ) ? wp_unslash( $_POST['field_settings'] ) : array();
     436                    $settings = isset( $_POST['field-settings'] ) ? wp_unslash( $_POST['field-settings'] ) : array();
    437437                    $field->admin_save_settings( $settings );
    438438                }
Note: See TracChangeset for help on using the changeset viewer.