Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/25/2015 12:18:18 AM (10 years ago)
Author:
tw2113
Message:

Standardizing our @since tags for the XProfile component.

See #6576.

File:
1 edited

Legend:

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

    r9819 r10140  
    11<?php
    2 
    3 /**
    4  * BuddyPress XProfile Filters
    5  *
    6  * Apply WordPress defined filters
     2/**
     3 * BuddyPress XProfile Filters.
     4 *
     5 * Apply WordPress defined filters.
    76 *
    87 * @package BuddyPress
     
    109 */
    1110
    12 // Exit if accessed directly
     11// Exit if accessed directly.
    1312defined( 'ABSPATH' ) || exit;
    1413
     
    7776 * Sanitize each field option name for saving to the database
    7877 *
    79  * @since BuddyPress (2.3.0)
     78 * @since 2.3.0
    8079 *
    8180 * @param  mixed $field_options
     
    9392 * Sanitize each field option default for saving to the database
    9493 *
    95  * @since BuddyPress (2.3.0)
     94 * @since 2.3.0
    9695 *
    9796 * @param  mixed $field_default
     
    124123     * Filters the allowed tags for use within xprofile_filter_kses().
    125124     *
    126      * @since BuddyPress (1.5.0)
     125     * @since 1.5.0
    127126     *
    128127     * @param array                   $xprofile_allowedtags Array of allowed tags for profile field values.
     
    160159         * Filters the kses-filtered data before saving to database.
    161160         *
    162          * @since BuddyPress (1.5.0)
     161         * @since 1.5.0
    163162         *
    164163         * @param string                  $filtered_field_value The filtered value.
     
    193192 * Runs stripslashes on XProfile fields.
    194193 *
    195  * @since BuddyPress (1.0.0)
     194 * @since 1.0.0
    196195 *
    197196 * @param string $field_value XProfile field_value to be filtered.
     
    216215 * Apply display_filter() filters as defined by the BP_XProfile_Field_Type classes, when fetched inside a bp_has_profile() loop.
    217216 *
    218  * @since BuddyPress (2.1.0)
     217 * @since 2.1.0
    219218 *
    220219 * @param mixed $field_value Field value.
     
    239238 * Apply display_filter() filters as defined by the BP_XProfile_Field_Type classes, when fetched by xprofile_get_field_data().
    240239 *
    241  * @since BuddyPress (2.1.0)
     240 * @since 2.1.0
    242241 *
    243242 * @param mixed $field_value Field value.
     
    252251 * Apply pre_validate_filter() filters as defined by the BP_XProfile_Field_Type classes before validating.
    253252 *
    254  * @since BuddyPress (2.1.0)
     253 * @since 2.1.0
    255254 *
    256255 * @param mixed $value Value passed to the bp_xprofile_set_field_data_pre_validate
     
    277276 * - To disable: remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 9, 2 );
    278277 *
    279  * @since BuddyPress (1.1.0)
     278 * @since 1.1.0
    280279 *
    281280 * @param string $field_value
     
    371370 * Filter BP_User_Query::populate_extras to override each queries users fullname
    372371 *
    373  * @since BuddyPress (1.7.0)
     372 * @since 1.7.0
    374373 *
    375374 * @param BP_User_Query $user_query
     
    396395 * Parse 'xprofile_query' argument passed to BP_User_Query.
    397396 *
    398  * @since BuddyPress (2.2.0)
     397 * @since 2.2.0
    399398 *
    400399 * @param BP_User_Query User query object.
     
    420419 * Filter meta queries to modify for the xprofile data schema.
    421420 *
    422  * @since BuddyPress (2.0.0)
     421 * @since 2.0.0
    423422 *
    424423 * @access private Do not use.
Note: See TracChangeset for help on using the changeset viewer.