Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/03/2016 06:14:41 AM (9 years ago)
Author:
tw2113
Message:

More cleanup and new phpdocs for functions or methods in the XProfile component.

See #6406.

File:
1 edited

Legend:

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

    r10418 r10434  
    268268 * @param mixed $field_value Field value.
    269269 * @param int   $field_id    Field type.
    270  *
    271270 * @return string
    272271 */
     
    284283 * @param BP_XProfile_Field      $field          Field object.
    285284 * @param BP_XProfile_Field_Type $field_type_obj Field type object.
    286  *
    287285 * @return mixed
    288286 */
     
    310308function bp_xprofile_escape_field_data( $value, $field_type, $field_id ) {
    311309    if ( bp_xprofile_is_richtext_enabled_for_field( $field_id ) ) {
    312         // xprofile_filter_kses() expects a BP_XProfile_ProfileData object.
     310        // The xprofile_filter_kses() expects a BP_XProfile_ProfileData object.
    313311        $data_obj = null;
    314312        if ( bp_is_user() ) {
     
    337335 * @param string $field_value Profile field data value.
    338336 * @param string $field_type  Profile field type.
    339  *
    340337 * @return string
    341338 */
     
    484481 *
    485482 * @param string $q SQL query.
    486  *
    487483 * @return string
    488484 */
Note: See TracChangeset for help on using the changeset viewer.