Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/18/2020 12:44:17 PM (5 years ago)
Author:
imath
Message:

xProfile: fix PHP Code standards in inline comments

Props passoniate

Fixes #8215
Fixes #8216

File:
1 edited

Legend:

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

    r12515 r12529  
    594594        global $field;
    595595
    596         // Make sure field data object exists
     596        // Make sure field data object exists.
    597597        if ( ! isset( $field->data ) ) {
    598598            $field->data = new stdClass;
    599599        }
    600600
    601         // Default to empty value
     601        // Default to empty value.
    602602        if ( ! isset( $field->data->value ) ) {
    603603            $field->data->value = '';
     
    607607        if ( isset( $_POST['field_' . $field->id] ) ) {
    608608
    609             // This is sanitized via the filter below (based on the field type)
     609            // This is sanitized via the filter below (based on the field type).
    610610            $field->data->value = $_POST['field_' . $field->id];
    611611        }
Note: See TracChangeset for help on using the changeset viewer.