Skip to:
Content

BuddyPress.org

Ticket #8611: 8611.patch

File 8611.patch, 56.0 KB (added by devutpol, 13 months ago)

Replace usage of $this in action and filter parameter docblocks.

  • src/bp-activity/classes/class-bp-activity-activity.php

    diff --git a/src/bp-activity/classes/class-bp-activity-activity.php b/src/bp-activity/classes/class-bp-activity-activity.php
    index 854a0a8c6..cdef69723 100644
    a b class BP_Activity_Activity { 
    255255                 *
    256256                 * @since 1.0.0
    257257                 *
    258                  * @param BP_Activity_Activity $this Current instance of the activity item being saved. Passed by reference.
     258                 * @param BP_Activity_Activity $activity Current instance of the activity item being saved. Passed by reference.
    259259                 */
    260260                do_action_ref_array( 'bp_activity_before_save', array( &$this ) );
    261261
    class BP_Activity_Activity { 
    326326                 *
    327327                 * @since 1.0.0
    328328                 *
    329                  * @param BP_Activity_Activity $this Current instance of activity item being saved. Passed by reference.
     329                 * @param BP_Activity_Activity $activity Current instance of activity item being saved. Passed by reference.
    330330                 */
    331331                do_action_ref_array( 'bp_activity_after_save', array( &$this ) );
    332332
  • src/bp-activity/classes/class-bp-activity-feed.php

    diff --git a/src/bp-activity/classes/class-bp-activity-feed.php b/src/bp-activity/classes/class-bp-activity-feed.php
    index bb984c1fa..1e33aa5be 100644
    a b class BP_Activity_Feed { 
    150150                         *
    151151                         * @since 1.8.0
    152152                         *
    153                          * @param BP_Activity_Feed $this Current instance of activity feed. Passed by reference.
     153                         * @param BP_Activity_Feed $feed Current instance of activity feed. Passed by reference.
    154154                         */
    155155                        do_action_ref_array( 'bp_activity_feed_prefetch', array( &$this ) );
    156156
    class BP_Activity_Feed { 
    168168                         *
    169169                         * @since 1.8.0
    170170                         *
    171                          * @param BP_Activity_Feed $this Current instance of activity feed. Passed by reference.
     171                         * @param BP_Activity_Feed $feed Current instance of activity feed. Passed by reference.
    172172                         */
    173173                        do_action_ref_array( 'bp_activity_feed_postfetch', array( &$this ) );
    174174
  • src/bp-blogs/classes/class-bp-blogs-blog.php

    diff --git a/src/bp-blogs/classes/class-bp-blogs-blog.php b/src/bp-blogs/classes/class-bp-blogs-blog.php
    index a8dc929cb..0284ac547 100644
    a b class BP_Blogs_Blog { 
    102102                 *
    103103                 * @since 1.0.0
    104104                 *
    105                  * @param BP_Blogs_Blog $this Current instance of the blog item being saved. Passed by reference.
     105                 * @param BP_Blogs_Blog $blog Current instance of the blog item being saved. Passed by reference.
    106106                 */
    107107                do_action_ref_array( 'bp_blogs_blog_before_save', array( &$this ) );
    108108
    class BP_Blogs_Blog { 
    134134                 *
    135135                 * @since 1.0.0
    136136                 *
    137                  * @param BP_Blogs_Blog $this Current instance of the blog item being saved. Passed by reference.
     137                 * @param BP_Blogs_Blog $blog Current instance of the blog item being saved. Passed by reference.
    138138                 */
    139139                do_action_ref_array( 'bp_blogs_blog_after_save', array( &$this ) );
    140140
  • src/bp-core/classes/class-bp-button.php

    diff --git a/src/bp-core/classes/class-bp-button.php b/src/bp-core/classes/class-bp-button.php
    index f511bec7f..68b1c7cf3 100644
    a b class BP_Button { 
    359359                 * @since 2.7.0 Added $r as a parameter.
    360360                 *
    361361                 * @param string    $contents HTML being used for the button.
    362                  * @param BP_Button $this     Current BP_Button instance.
     362                 * @param BP_Button $button   Current BP_Button instance.
    363363                 * @param string    $before   HTML appended before the actual button.
    364364                 * @param string    $after    HTML appended after the actual button.
    365365                 * @param array     $r        Parsed button arguments.
  • src/bp-core/classes/class-bp-email-recipient.php

    diff --git a/src/bp-core/classes/class-bp-email-recipient.php b/src/bp-core/classes/class-bp-email-recipient.php
    index 882ceb359..34a2d637a 100644
    a b class BP_Email_Recipient extends BP_Email_Participant { 
    101101                 * @param string|array|int|WP_User $email_or_user Either a email address, user ID, WP_User object,
    102102                 *                                                or an array containing any combination of the above.
    103103                 * @param string $name If $email_or_user is a string, this is the recipient's name.
    104                  * @param BP_Email_Recipient $this Current instance of the email type class.
     104                 * @param BP_Email_Recipient $recipient Current instance of the email type class.
    105105                 */
    106106                do_action( 'bp_email_recipient', $email_or_user, $name, $this );
    107107        }
    class BP_Email_Recipient extends BP_Email_Participant { 
    172172                 * @param WP_User $name WP_User object for this recipient, or null if not set.
    173173                 * @param string $transform Optional. How the return value was transformed.
    174174                 *                          Accepts 'raw' (default) or 'search-email'.
    175                  * @param BP_Email $recipient $this Current instance of the email recipient class.
     175                 * @param BP_Email $recipient Current instance of the email recipient class.
    176176                 */
    177177                return apply_filters( 'bp_email_recipient_get_user', $this->user_object, $transform, $this );
    178178        }
  • src/bp-core/classes/class-bp-email.php

    diff --git a/src/bp-core/classes/class-bp-email.php b/src/bp-core/classes/class-bp-email.php
    index fdb7b207f..d905a0e66 100644
    a b class BP_Email { 
    199199                 * @since 2.5.0
    200200                 *
    201201                 * @param string $email_type Unique identifier for this type of email.
    202                  * @param BP_Email $this Current instance of the email type class.
     202                 * @param BP_Email $email Current instance of the email type class.
    203203                 */
    204204                do_action( 'bp_email', $email_type, $this );
    205205        }
    class BP_Email { 
    248248                 * @param string $property_name
    249249                 * @param string $transform How to transform the return value.
    250250                 *                          Accepts 'raw' (default) or 'replace-tokens'.
    251                  * @param BP_Email $this Current instance of the email type class.
     251                 * @param BP_Email $email Current instance of the email type class.
    252252                 */
    253253                $retval = apply_filters( "bp_email_get_{$property_name}", $this->$property_name, $property_name, $transform, $this );
    254254
    class BP_Email { 
    276276                 * @param string $property_name
    277277                 * @param string $transform How to transform the return value.
    278278                 *                          Accepts 'raw' (default) or 'replace-tokens'.
    279                  * @param BP_Email $this Current instance of the email type class.
     279                 * @param BP_Email $email Current instance of the email type class.
    280280                 */
    281281                return apply_filters( 'bp_email_get_property', $retval, $property_name, $transform, $this );
    282282        }
    class BP_Email { 
    550550                 * @since 2.5.0
    551551                 *
    552552                 * @param string[] $new_headers Key/value pairs of new header name/values (strings).
    553                  * @param BP_Email $this Current instance of the email type class.
     553                 * @param BP_Email $email Current instance of the email type class.
    554554                 */
    555555                $this->headers = apply_filters( 'bp_email_set_headers', $new_headers, $this );
    556556
    class BP_Email { 
    598598                 * @param string $name Optional. If $bcc_address is a string, this is the recipient's name.
    599599                 * @param string $operation If "replace", $to_address replaced previous recipients. If "add",
    600600                 *                          $to_address was added to the array of recipients.
    601                  * @param BP_Email $this Current instance of the email type class.
     601                 * @param BP_Email $email Current instance of the email type class.
    602602                 */
    603603                $this->bcc = apply_filters( 'bp_email_set_bcc', $bcc, $bcc_address, $name, $operation, $this );
    604604
    class BP_Email { 
    646646                 * @param string $name Optional. If $cc_address is a string, this is the recipient's name.
    647647                 * @param string $operation If "replace", $to_address replaced previous recipients. If "add",
    648648                 *                          $to_address was added to the array of recipients.
    649                  * @param BP_Email $this Current instance of the email type class.
     649                 * @param BP_Email $email Current instance of the email type class.
    650650                 */
    651651                $this->cc = apply_filters( 'bp_email_set_cc', $cc, $cc_address, $name, $operation, $this );
    652652
    class BP_Email { 
    669669                 * @since 2.5.0
    670670                 *
    671671                 * @param string $content HTML email content.
    672                  * @param BP_Email $this Current instance of the email type class.
     672                 * @param BP_Email $email Current instance of the email type class.
    673673                 */
    674674                $this->content_html = apply_filters( 'bp_email_set_content_html', $content, $this );
    675675
    class BP_Email { 
    692692                 * @since 2.5.0
    693693                 *
    694694                 * @param string $content Plain text email content.
    695                  * @param BP_Email $this Current instance of the email type class.
     695                 * @param BP_Email $email Current instance of the email type class.
    696696                 */
    697697                $this->content_plaintext = apply_filters( 'bp_email_set_content_plaintext', $content, $this );
    698698
    class BP_Email { 
    721721                 * @since 2.5.0
    722722                 *
    723723                 * @param string $content_type Email content type ("html" or "plaintext").
    724                  * @param BP_Email $this Current instance of the email type class.
     724                 * @param BP_Email $email Current instance of the email type class.
    725725                 */
    726726                $this->content_type = apply_filters( 'bp_email_set_content_type', $content_type, $this );
    727727
    class BP_Email { 
    751751                 * @param BP_Email_Recipient $from Sender details.
    752752                 * @param string|array|int|WP_User $email_address Either a email address, user ID, or WP_User object.
    753753                 * @param string $name Optional. If $email_address is a string, this is the recipient's name.
    754                  * @param BP_Email $this Current instance of the email type class.
     754                 * @param BP_Email $email Current instance of the email type class.
    755755                 */
    756756                $this->from = apply_filters( 'bp_email_set_from', $from, $email_address, $name, $this );
    757757
    class BP_Email { 
    776776                 * @since 2.5.0
    777777                 *
    778778                 * @param WP_Post $post A Post.
    779                  * @param BP_Email $this Current instance of the email type class.
     779                 * @param BP_Email $email Current instance of the email type class.
    780780                 */
    781781                $this->post_object = apply_filters( 'bp_email_set_post_object', $post, $this );
    782782
    class BP_Email { 
    835835                 * @param string|array|int|WP_User $email_address Either a email address, user ID, WP_User object,
    836836                 *                                                or an array containing any combination of the above.
    837837                 * @param string $name Optional. If $email_address is a string, this is the recipient's name.
    838                  * @param BP_Email $this Current instance of the email type class.
     838                 * @param BP_Email $email Current instance of the email type class.
    839839                 */
    840840                $this->reply_to = apply_filters( 'bp_email_set_reply_to', $reply_to, $email_address, $name, $this );
    841841
    class BP_Email { 
    858858                 * @since 2.5.0
    859859                 *
    860860                 * @param string $subject Email subject.
    861                  * @param BP_Email $this Current instance of the email type class.
     861                 * @param BP_Email $email Current instance of the email type class.
    862862                 */
    863863                $this->subject = apply_filters( 'bp_email_set_subject', $subject, $this );
    864864
    class BP_Email { 
    884884                 * @since 2.5.0
    885885                 *
    886886                 * @param string $template Email template. Assumed to be HTML.
    887                  * @param BP_Email $this Current instance of the email type class.
     887                 * @param BP_Email $email Current instance of the email type class.
    888888                 */
    889889                $this->template = apply_filters( 'bp_email_set_template', $template, $this );
    890890
    class BP_Email { 
    936936                 * @param string $name "To" name.
    937937                 * @param string $operation If "replace", $to_address replaced previous recipients. If "add",
    938938                 *                          $to_address was added to the array of recipients.
    939                  * @param BP_Email $this Current instance of the email type class.
     939                 * @param BP_Email $email Current instance of the email type class.
    940940                 */
    941941                $this->to = apply_filters( 'bp_email_set_to', $to, $to_address, $name, $operation, $this );
    942942
    class BP_Email { 
    972972                 *                                   and replacement values (value).
    973973                 * @param string[] $tokens           Associative pairing of unformatted token
    974974                 *                                   names (key) and replacement values (value).
    975                  * @param BP_Email $this             Current instance of the email type class.
     975                 * @param BP_Email $email             Current instance of the email type class.
    976976                 */
    977977                $this->tokens = apply_filters( 'bp_email_set_tokens', $formatted_tokens, $tokens, $this );
    978978
    class BP_Email { 
    10211021                 * @since 2.5.0
    10221022                 *
    10231023                 * @param bool|WP_Error $retval Returns true if validation succesful, else a descriptive WP_Error.
    1024                  * @param BP_Email $this Current instance of the email type class.
     1024                 * @param BP_Email $email Current instance of the email type class.
    10251025                 */
    10261026                return apply_filters( 'bp_email_validate', $retval, $this );
    10271027        }
  • src/bp-core/classes/class-bp-embed.php

    diff --git a/src/bp-core/classes/class-bp-embed.php b/src/bp-core/classes/class-bp-embed.php
    index cd80fc468..6eefb642a 100644
    a b class BP_Embed extends WP_Embed { 
    5555                 *
    5656                 * @since 1.5.0
    5757                 *
    58                  * @param BP_Embed $this Current instance of the BP_Embed. Passed by reference.
     58                 * @param BP_Embed $embed Current instance of the BP_Embed. Passed by reference.
    5959                 */
    6060                do_action_ref_array( 'bp_core_setup_oembed', array( &$this ) );
    6161        }
  • src/bp-core/classes/class-bp-members-suggestions.php

    diff --git a/src/bp-core/classes/class-bp-members-suggestions.php b/src/bp-core/classes/class-bp-members-suggestions.php
    index 65f7cc749..85074e76d 100644
    a b class BP_Members_Suggestions extends BP_Suggestions { 
    5555                 * @since 2.1.0
    5656                 *
    5757                 * @param array                  $args Array of arguments for the member suggestions.
    58                  * @param BP_Members_Suggestions $this Current BP_Members_Suggestions instance.
     58                 * @param BP_Members_Suggestions $suggestions Current BP_Members_Suggestions instance.
    5959                 */
    6060                $this->args                 = apply_filters( 'bp_members_suggestions_args', $this->args, $this );
    6161
    class BP_Members_Suggestions extends BP_Suggestions { 
    7070                 * @since 2.1.0
    7171                 *
    7272                 * @param bool|WP_Error          $value Results of validation check.
    73                  * @param BP_Members_Suggestions $this  Current BP_Members_Suggestions instance.
     73                 * @param BP_Members_Suggestions $suggestions  Current BP_Members_Suggestions instance.
    7474                 */
    7575                return apply_filters( 'bp_members_suggestions_validate_args', parent::validate(), $this );
    7676        }
    class BP_Members_Suggestions extends BP_Suggestions { 
    105105                 * @since 2.1.0
    106106                 *
    107107                 * @param array                  $user_query Array of query arguments.
    108                  * @param BP_Members_Suggestions $this      Current BP_Members_Suggestions instance.
     108                 * @param BP_Members_Suggestions $suggestions Current BP_Members_Suggestions instance.
    109109                 */
    110110                $user_query = apply_filters( 'bp_members_suggestions_query_args', $user_query, $this );
    111111                if ( is_wp_error( $user_query ) ) {
    class BP_Members_Suggestions extends BP_Suggestions { 
    132132                 * @since 2.1.0
    133133                 *
    134134                 * @param array                  $results Array of users to suggest.
    135                  * @param BP_Members_Suggestions $this    Current BP_Members_Suggestions instance.
     135                 * @param BP_Members_Suggestions $suggestions    Current BP_Members_Suggestions instance.
    136136                 */
    137137                return apply_filters( 'bp_members_suggestions_get_suggestions', $results, $this );
    138138        }
  • src/bp-core/classes/class-bp-suggestions.php

    diff --git a/src/bp-core/classes/class-bp-suggestions.php b/src/bp-core/classes/class-bp-suggestions.php
    index 1441d999a..6171b99de 100644
    a b abstract class BP_Suggestions { 
    106106                 * @since 2.1.0
    107107                 *
    108108                 * @param BP_Suggestions $value Arguments to be validated.
    109                  * @param BP_Suggestions $this  Current BP_Suggestions instance.
     109                 * @param BP_Suggestions $suggestions  Current BP_Suggestions instance.
    110110                 */
    111111                $this->args          = apply_filters( 'bp_suggestions_args', $this->args, $this );
    112112
    abstract class BP_Suggestions { 
    126126                 * @since 2.1.0
    127127                 *
    128128                 * @param bool           $value Whether or not the values are valid.
    129                  * @param BP_Suggestions $this  Current BP_Suggestions instance.
     129                 * @param BP_Suggestions $suggestions  Current BP_Suggestions instance.
    130130                 */
    131131                return apply_filters( 'bp_suggestions_validate_args', true, $this );
    132132        }
  • src/bp-core/classes/class-bp-user-query.php

    diff --git a/src/bp-core/classes/class-bp-user-query.php b/src/bp-core/classes/class-bp-user-query.php
    index 304875ab6..7bfe4a1a6 100644
    a b class BP_User_Query { 
    187187                         *
    188188                         * @since 1.7.0
    189189                         *
    190                          * @param BP_User_Query $this Current instance of the BP_User_Query. Passed by reference.
     190                         * @param BP_User_Query $query Current instance of the BP_User_Query. Passed by reference.
    191191                         */
    192192                        do_action_ref_array( 'bp_pre_user_query_construct', array( &$this ) );
    193193
    class BP_User_Query { 
    494494                 * @since 2.0.0
    495495                 *
    496496                 * @param array         $sql  Array of SQL clauses to be used in the query.
    497                  * @param BP_User_Query $this Current BP_User_Query instance.
     497                 * @param BP_User_Query $query Current BP_User_Query instance.
    498498                 */
    499499                $sql = apply_filters_ref_array( 'bp_user_query_uid_clauses', array( $sql, &$this ) );
    500500
    class BP_User_Query { 
    510510                 *
    511511                 * @since 1.7.0
    512512                 *
    513                  * @param BP_User_Query $this Current BP_User_Query instance. Passed by reference.
     513                 * @param BP_User_Query $query Current BP_User_Query instance. Passed by reference.
    514514                 */
    515515                do_action_ref_array( 'bp_pre_user_query', array( &$this ) );
    516516        }
    class BP_User_Query { 
    549549                         * @since 1.7.0
    550550                         *
    551551                         * @param string        $value SQL statement to select FOUND_ROWS().
    552                          * @param BP_User_Query $this  Current BP_User_Query instance.
     552                         * @param BP_User_Query $query  Current BP_User_Query instance.
    553553                         */
    554554                        $this->total_users = $wpdb->get_var( apply_filters( 'bp_found_user_query', "SELECT FOUND_ROWS()", $this ) );
    555555                } elseif ( 'count_query' == $this->query_vars['count_total'] ) {
    class BP_User_Query { 
    579579                 * @since 1.7.0
    580580                 *
    581581                 * @param array         $value Array of arguments for the user query.
    582                  * @param BP_User_Query $this  Current BP_User_Query instance.
     582                 * @param BP_User_Query $query  Current BP_User_Query instance.
    583583                 */
    584584                $wp_user_query = new WP_User_Query( apply_filters( 'bp_wp_user_query_args', array(
    585585
    class BP_User_Query { 
    696696                 *
    697697                 * @since 1.7.0
    698698                 *
    699                  * @param BP_User_Query $this         Current BP_User_Query instance.
     699                 * @param BP_User_Query $query         Current BP_User_Query instance.
    700700                 * @param string        $user_ids_sql Comma-separated string of user IDs.
    701701                 */
    702702                do_action_ref_array( 'bp_user_query_populate_extras', array( $this, $user_ids_sql ) );
  • src/bp-groups/bp-groups-admin.php

    diff --git a/src/bp-groups/bp-groups-admin.php b/src/bp-groups/bp-groups-admin.php
    index 93564e60b..9aea70a6e 100644
    a b function bp_groups_admin_edit() { 
    646646         *
    647647         * @since 1.7.0
    648648         *
    649          * @param BP_Groups_Group $this Instance of the current group being edited. Passed by reference.
     649         * @param BP_Groups_Group $group Instance of the current group being edited. Passed by reference.
    650650         */
    651651        do_action_ref_array( 'bp_groups_admin_edit', array( &$group ) ); ?>
    652652
  • src/bp-groups/classes/class-bp-group-member-query.php

    diff --git a/src/bp-groups/classes/class-bp-group-member-query.php b/src/bp-groups/classes/class-bp-group-member-query.php
    index d91224978..40290e737 100644
    a b class BP_Group_Member_Query extends BP_User_Query { 
    109109                 * @since 10.3.0
    110110                 *
    111111                 * @param array         $value Array of arguments for the user query.
    112                  * @param BP_User_Query $this  Current BP_User_Query instance.
     112                 * @param BP_User_Query $query  Current BP_User_Query instance.
    113113                 */
    114114                $wp_user_query = new WP_User_Query(
    115115                        apply_filters(
    class BP_Group_Member_Query extends BP_User_Query { 
    367367                 * @since 2.0.0
    368368                 *
    369369                 * @param array                 $group_member_ids Array of associated member IDs.
    370                  * @param BP_Group_Member_Query $this             Current BP_Group_Member_Query instance.
     370                 * @param BP_Group_Member_Query $query             Current BP_Group_Member_Query instance.
    371371                 */
    372372                $this->group_member_ids = apply_filters( 'bp_group_member_query_group_member_ids', $this->group_member_ids, $this );
    373373
  • src/bp-groups/classes/class-bp-groups-group-members-template.php

    diff --git a/src/bp-groups/classes/class-bp-groups-group-members-template.php b/src/bp-groups/classes/class-bp-groups-group-members-template.php
    index 8ebd96825..1fce407e2 100644
    a b class BP_Groups_Group_Members_Template { 
    246246                         * @since 2.3.0 `$this` parameter added.
    247247                         * @since 2.7.0 Action renamed from `loop_end`.
    248248                         *
    249                          * @param BP_Groups_Group_Members_Template $this Instance of the current Members template.
     249                         * @param BP_Groups_Group_Members_Template $template Instance of the current Members template.
    250250                         */
    251251                        do_action( 'group_members_loop_end', $this );
    252252
    class BP_Groups_Group_Members_Template { 
    277277                         * @since 2.3.0 `$this` parameter added.
    278278                         * @since 2.7.0 Action renamed from `loop_start`.
    279279                         *
    280                          * @param BP_Groups_Group_Members_Template $this Instance of the current Members template.
     280                         * @param BP_Groups_Group_Members_Template $template Instance of the current Members template.
    281281                         */
    282282                        do_action( 'group_members_loop_start', $this );
    283283                }
  • src/bp-groups/classes/class-bp-groups-group.php

    diff --git a/src/bp-groups/classes/class-bp-groups-group.php b/src/bp-groups/classes/class-bp-groups-group.php
    index e837d72ed..1a3de2fc4 100644
    a b class BP_Groups_Group { 
    287287                 *
    288288                 * @since 1.0.0
    289289                 *
    290                  * @param BP_Groups_Group $this Current instance of the group item being saved. Passed by reference.
     290                 * @param BP_Groups_Group $group Current instance of the group item being saved. Passed by reference.
    291291                 */
    292292                do_action_ref_array( 'groups_group_before_save', array( &$this ) );
    293293
    class BP_Groups_Group { 
    371371                 *
    372372                 * @since 1.0.0
    373373                 *
    374                  * @param BP_Groups_Group $this Current instance of the group item that was saved. Passed by reference.
     374                 * @param BP_Groups_Group $group Current instance of the group item that was saved. Passed by reference.
    375375                 */
    376376                do_action_ref_array( 'groups_group_after_save', array( &$this ) );
    377377
    class BP_Groups_Group { 
    408408                 *
    409409                 * @since 1.2.0
    410410                 *
    411                  * @param BP_Groups_Group $this     Current instance of the group item being deleted. Passed by reference.
     411                 * @param BP_Groups_Group $group     Current instance of the group item being deleted. Passed by reference.
    412412                 * @param array           $user_ids Array of user IDs that were members of the group.
    413413                 */
    414414                do_action_ref_array( 'bp_groups_delete_group', array( &$this, $user_ids ) );
  • src/bp-groups/classes/class-bp-groups-invite-template.php

    diff --git a/src/bp-groups/classes/class-bp-groups-invite-template.php b/src/bp-groups/classes/class-bp-groups-invite-template.php
    index 9375f813f..25d92e106 100644
    a b class BP_Groups_Invite_Template { 
    204204                         * @since 2.3.0 `$this` parameter added.
    205205                         * @since 2.7.0 Action renamed from `loop_start`.
    206206                         *
    207                          * @param BP_Groups_Invite_Template $this Instance of the current Invites template.
     207                         * @param BP_Groups_Invite_Template $template Instance of the current Invites template.
    208208                         */
    209209                        do_action( 'group_invitation_loop_end', $this );
    210210
    class BP_Groups_Invite_Template { 
    306306                         * @since 2.3.0 `$this` parameter added.
    307307                         * @since 2.7.0 Action renamed from `loop_start`.
    308308                         *
    309                          * @param BP_Groups_Invite_Template $this Instance of the current Invites template.
     309                         * @param BP_Groups_Invite_Template $template Instance of the current Invites template.
    310310                         */
    311311                        do_action( 'group_invitation_loop_start', $this );
    312312                }
  • src/bp-groups/classes/class-bp-groups-member-suggestions.php

    diff --git a/src/bp-groups/classes/class-bp-groups-member-suggestions.php b/src/bp-groups/classes/class-bp-groups-member-suggestions.php
    index e8b7fbb58..ae4daa4f3 100644
    a b class BP_Groups_Member_Suggestions extends BP_Members_Suggestions { 
    5555                 * @since 2.1.0
    5656                 *
    5757                 * @param array                        $args  Array of arguments for the suggestion service query.
    58                  * @param BP_Groups_Member_Suggestions $this  Instance of the current suggestion class.
     58                 * @param BP_Groups_Member_Suggestions $suggestions  Instance of the current suggestion class.
    5959                 */
    6060                $this->args             = apply_filters( 'bp_groups_member_suggestions_args', $this->args, $this );
    6161
    class BP_Groups_Member_Suggestions extends BP_Members_Suggestions { 
    7777                 * @since 2.1.0
    7878                 *
    7979                 * @param bool|WP_Error                $value True if valid, WP_Error if not.
    80                  * @param BP_Groups_Member_Suggestions $this  Instance of the current suggestion class.
     80                 * @param BP_Groups_Member_Suggestions $suggestions  Instance of the current suggestion class.
    8181                 */
    8282                return apply_filters( 'bp_groups_member_suggestions_validate_args', parent::validate(), $this );
    8383        }
    class BP_Groups_Member_Suggestions extends BP_Members_Suggestions { 
    135135                 * @since 2.1.0
    136136                 *
    137137                 * @param array                        $user_query Array of arguments for the query.
    138                  * @param BP_Groups_Member_Suggestions $this       Instance of the current suggestion class.
     138                 * @param BP_Groups_Member_Suggestions $suggestions       Instance of the current suggestion class.
    139139                 */
    140140                $user_query = apply_filters( 'bp_groups_member_suggestions_query_args', $user_query, $this );
    141141                if ( is_wp_error( $user_query ) ) {
    class BP_Groups_Member_Suggestions extends BP_Members_Suggestions { 
    166166                 * @since 2.1.0
    167167                 *
    168168                 * @param array                        $results Array of member suggestions.
    169                  * @param BP_Groups_Member_Suggestions $this    Instance of the current suggestion class.
     169                 * @param BP_Groups_Member_Suggestions $suggestions    Instance of the current suggestion class.
    170170                 */
    171171                return apply_filters( 'bp_groups_member_suggestions_get_suggestions', $results, $this );
    172172        }
  • src/bp-groups/classes/class-bp-groups-member.php

    diff --git a/src/bp-groups/classes/class-bp-groups-member.php b/src/bp-groups/classes/class-bp-groups-member.php
    index 10d511d45..3a67f36c0 100644
    a b class BP_Groups_Member { 
    281281                 *
    282282                 * @since 1.0.0
    283283                 *
    284                  * @param BP_Groups_Member $this Current instance of the group membership item being saved. Passed by reference.
     284                 * @param BP_Groups_Member $member Current instance of the group membership item being saved. Passed by reference.
    285285                 */
    286286                do_action_ref_array( 'groups_member_before_save', array( &$this ) );
    287287
    class BP_Groups_Member { 
    316316                 *
    317317                 * @since 1.0.0
    318318                 *
    319                  * @param BP_Groups_Member $this Current instance of the group membership item has been saved. Passed by reference.
     319                 * @param BP_Groups_Member $member Current instance of the group membership item has been saved. Passed by reference.
    320320                 */
    321321                do_action_ref_array( 'groups_member_after_save', array( &$this ) );
    322322
    class BP_Groups_Member { 
    431431                 *
    432432                 * @since 2.3.0
    433433                 *
    434                  * @param BP_Groups_Member $this Current group membership object.
     434                 * @param BP_Groups_Member $member Current group membership object.
    435435                 */
    436436                do_action_ref_array( 'groups_member_before_remove', array( $this ) );
    437437
    class BP_Groups_Member { 
    449449                 *
    450450                 * @since 2.3.0
    451451                 *
    452                  * @param BP_Groups_Member $this Current group membership object.
     452                 * @param BP_Groups_Member $member Current group membership object.
    453453                 */
    454454                do_action_ref_array( 'groups_member_after_remove', array( $this ) );
    455455
  • src/bp-messages/classes/class-bp-messages-message.php

    diff --git a/src/bp-messages/classes/class-bp-messages-message.php b/src/bp-messages/classes/class-bp-messages-message.php
    index 646b7ed72..bbdb86ab0 100644
    a b class BP_Messages_Message { 
    127127                 *
    128128                 * @since 1.0.0
    129129                 *
    130                  * @param BP_Messages_Message $this Current instance of the message item being saved. Passed by reference.
     130                 * @param BP_Messages_Message $message Current instance of the message item being saved. Passed by reference.
    131131                 */
    132132                do_action_ref_array( 'messages_message_before_save', array( &$this ) );
    133133
    class BP_Messages_Message { 
    176176                 *
    177177                 * @since 1.0.0
    178178                 *
    179                  * @param BP_Messages_Message $this Current instance of the message item being saved. Passed by reference.
     179                 * @param BP_Messages_Message $message Current instance of the message item being saved. Passed by reference.
    180180                 */
    181181                do_action_ref_array( 'messages_message_after_save', array( &$this ) );
    182182
  • src/bp-messages/classes/class-bp-messages-notice.php

    diff --git a/src/bp-messages/classes/class-bp-messages-notice.php b/src/bp-messages/classes/class-bp-messages-notice.php
    index f0061d511..65658d1b8 100644
    a b class BP_Messages_Notice { 
    118118                 *
    119119                 * @since 1.0.0
    120120                 *
    121                  * @param BP_Messages_Notice $this Current instance of the message notice item being saved. Passed by reference.
     121                 * @param BP_Messages_Notice $notice Current instance of the message notice item being saved. Passed by reference.
    122122                 */
    123123                do_action_ref_array( 'messages_notice_before_save', array( &$this ) );
    124124
    class BP_Messages_Notice { 
    146146                 *
    147147                 * @since 1.0.0
    148148                 *
    149                  * @param BP_Messages_Notice $this Current instance of the message item being saved. Passed by reference.
     149                 * @param BP_Messages_Notice $notice Current instance of the message item being saved. Passed by reference.
    150150                 */
    151151                do_action_ref_array( 'messages_notice_after_save', array( &$this ) );
    152152
    class BP_Messages_Notice { 
    195195                 *
    196196                 * @since 1.0.0
    197197                 *
    198                  * @param BP_Messages_Notice $this Current instance of the message notice item being deleted.
     198                 * @param BP_Messages_Notice $notice Current instance of the message notice item being deleted.
    199199                 */
    200200                do_action( 'messages_notice_before_delete', $this );
    201201
    class BP_Messages_Notice { 
    211211                 *
    212212                 * @since 2.8.0
    213213                 *
    214                  * @param BP_Messages_Notice $this Current instance of the message notice item being deleted.
     214                 * @param BP_Messages_Notice $notice Current instance of the message notice item being deleted.
    215215                 */
    216216                do_action( 'messages_notice_after_delete', $this );
    217217
  • src/bp-messages/classes/class-bp-messages-thread.php

    diff --git a/src/bp-messages/classes/class-bp-messages-thread.php b/src/bp-messages/classes/class-bp-messages-thread.php
    index 4032bd6bd..8f04e7bf7 100644
    a b class BP_Messages_Thread { 
    219219                 * @since 2.2.0
    220220                 * @since 10.0.0 Added `$r` as a parameter.
    221221                 *
    222                  * @param BP_Messages_Thread $this Message thread object.
     222                 * @param BP_Messages_Thread $thread Message thread object.
    223223                 * @param array              $r    Array of paremeters.
    224224                 */
    225225                do_action( 'bp_messages_thread_post_populate', $this, $r );
  • src/bp-templates/bp-legacy/buddypress-functions.php

    diff --git a/src/bp-templates/bp-legacy/buddypress-functions.php b/src/bp-templates/bp-legacy/buddypress-functions.php
    index d3ebe988a..fd74fa6d2 100644
    a b class BP_Legacy extends BP_Theme_Compat { 
    197197                 *
    198198                 * @since 1.7.0
    199199                 *
    200                  * @param BP_Legacy $this Current BP_Legacy instance.
     200                 * @param BP_Legacy $legacy Current BP_Legacy instance.
    201201                 */
    202202                do_action_ref_array( 'bp_theme_compat_actions', array( &$this ) );
    203203        }
  • src/bp-templates/bp-nouveau/buddypress-functions.php

    diff --git a/src/bp-templates/bp-nouveau/buddypress-functions.php b/src/bp-templates/bp-nouveau/buddypress-functions.php
    index c869799c4..36c75a96b 100644
    a b class BP_Nouveau extends BP_Theme_Compat { 
    128128                 *
    129129                 * @since 3.0.0
    130130                 *
    131                  * @param BP_Nouveau $value Current BP_Nouveau instance.
     131                 * @param BP_Nouveau $nouveau Current BP_Nouveau instance.
    132132                 */
    133133                do_action_ref_array( 'bp_nouveau_includes', array( &$this ) );
    134134        }
    class BP_Nouveau extends BP_Theme_Compat { 
    234234                 *
    235235                 * @since 3.0.0
    236236                 *
    237                  * @param BP_Nouveau $this Current BP_Nouveau instance.
     237                 * @param BP_Nouveau $nouveau Current BP_Nouveau instance.
    238238                 */
    239239                do_action_ref_array( 'bp_theme_compat_actions', array( &$this ) );
    240240        }
  • src/bp-xprofile/classes/class-bp-xprofile-field-type-checkbox-acceptance.php

    diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-checkbox-acceptance.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-checkbox-acceptance.php
    index 4b74b8a33..db6caab03 100644
    a b class BP_XProfile_Field_Type_Checkbox_Acceptance extends BP_XProfile_Field_Type 
    6464                 *
    6565                 * @since 8.0.0
    6666                 *
    67                  * @param BP_XProfile_Field_Type_Checkbox_Acceptance $this Current instance of the Checkbox Acceptance field type.
     67                 * @param BP_XProfile_Field_Type_Checkbox_Acceptance $acceptance Current instance of the Checkbox Acceptance field type.
    6868                 */
    6969                do_action( 'bp_xprofile_field_type_checkbox_acceptance', $this );
    7070
  • src/bp-xprofile/classes/class-bp-xprofile-field-type-checkbox.php

    diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-checkbox.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-checkbox.php
    index f3717d3dc..6d53450d8 100644
    a b class BP_XProfile_Field_Type_Checkbox extends BP_XProfile_Field_Type { 
    3939                 *
    4040                 * @since 2.0.0
    4141                 *
    42                  * @param BP_XProfile_Field_Type_Checkbox $this Current instance of
     42                 * @param BP_XProfile_Field_Type_Checkbox $checkbox Current instance of
    4343                 *                                              the field type checkbox.
    4444                 */
    4545                do_action( 'bp_xprofile_field_type_checkbox', $this );
  • src/bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php

    diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php
    index 908b3d17a..44ce0c3b5 100644
    a b class BP_XProfile_Field_Type_Datebox extends BP_XProfile_Field_Type { 
    3737                 *
    3838                 * @since 2.0.0
    3939                 *
    40                  * @param BP_XProfile_Field_Type_Datebox $this Current instance of
     40                 * @param BP_XProfile_Field_Type_Datebox $datebox Current instance of
    4141                 *                                             the field type datebox.
    4242                 */
    4343                do_action( 'bp_xprofile_field_type_datebox', $this );
  • src/bp-xprofile/classes/class-bp-xprofile-field-type-multiselectbox.php

    diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-multiselectbox.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-multiselectbox.php
    index 84c0e715e..d93bb4710 100644
    a b class BP_XProfile_Field_Type_Multiselectbox extends BP_XProfile_Field_Type { 
    3939                 *
    4040                 * @since 2.0.0
    4141                 *
    42                  * @param BP_XProfile_Field_Type_Multiselectbox $this Current instance of
     42                 * @param BP_XProfile_Field_Type_Multiselectbox $multiselectbox Current instance of
    4343                 *                                                    the field type multiple select box.
    4444                 */
    4545                do_action( 'bp_xprofile_field_type_multiselectbox', $this );
  • src/bp-xprofile/classes/class-bp-xprofile-field-type-number.php

    diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-number.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-number.php
    index 1bc56287b..406c8c00e 100644
    a b class BP_XProfile_Field_Type_Number extends BP_XProfile_Field_Type { 
    3535                 *
    3636                 * @since 2.0.0
    3737                 *
    38                  * @param BP_XProfile_Field_Type_Number $this Current instance of
     38                 * @param BP_XProfile_Field_Type_Number $number Current instance of
    3939                 *                                            the field type number.
    4040                 */
    4141                do_action( 'bp_xprofile_field_type_number', $this );
  • src/bp-xprofile/classes/class-bp-xprofile-field-type-radiobutton.php

    diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-radiobutton.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-radiobutton.php
    index 8c5fbbe54..aff6876c0 100644
    a b class BP_XProfile_Field_Type_Radiobutton extends BP_XProfile_Field_Type { 
    3737                 *
    3838                 * @since 2.0.0
    3939                 *
    40                  * @param BP_XProfile_Field_Type_Radiobutton $this Current instance of
     40                 * @param BP_XProfile_Field_Type_Radiobutton $radio_button Current instance of
    4141                 *                                                 the field type radio button.
    4242                 */
    4343                do_action( 'bp_xprofile_field_type_radiobutton', $this );
  • src/bp-xprofile/classes/class-bp-xprofile-field-type-selectbox.php

    diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-selectbox.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-selectbox.php
    index 15cb980b9..17317e825 100644
    a b class BP_XProfile_Field_Type_Selectbox extends BP_XProfile_Field_Type { 
    3737                 *
    3838                 * @since 2.0.0
    3939                 *
    40                  * @param BP_XProfile_Field_Type_Selectbox $this Current instance of
     40                 * @param BP_XProfile_Field_Type_Selectbox $selectbox Current instance of
    4141                 *                                               the field type select box.
    4242                 */
    4343                do_action( 'bp_xprofile_field_type_selectbox', $this );
  • src/bp-xprofile/classes/class-bp-xprofile-field-type-telephone.php

    diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-telephone.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-telephone.php
    index aa8544b47..fd0edcb22 100644
    a b class BP_XProfile_Field_Type_Telephone extends BP_XProfile_Field_Type { 
    3535                 *
    3636                 * @since 3.0.0
    3737                 *
    38                  * @param BP_XProfile_Field_Type_Telephone $this Current instance of the field type.
     38                 * @param BP_XProfile_Field_Type_Telephone $telephone Current instance of the field type.
    3939                 */
    4040                do_action( 'bp_xprofile_field_type_telephone', $this );
    4141        }
  • src/bp-xprofile/classes/class-bp-xprofile-field-type-textarea.php

    diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-textarea.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-textarea.php
    index 1e48da791..45d5eb0f8 100644
    a b class BP_XProfile_Field_Type_Textarea extends BP_XProfile_Field_Type { 
    3636                 *
    3737                 * @since 2.0.0
    3838                 *
    39                  * @param BP_XProfile_Field_Type_Textarea $this Current instance of
     39                 * @param BP_XProfile_Field_Type_Textarea $textarea Current instance of
    4040                 *                                              the field type textarea.
    4141                 */
    4242                do_action( 'bp_xprofile_field_type_textarea', $this );
  • src/bp-xprofile/classes/class-bp-xprofile-field-type-textbox.php

    diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-textbox.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-textbox.php
    index 45726a6c2..636cc53f1 100644
    a b class BP_XProfile_Field_Type_Textbox extends BP_XProfile_Field_Type { 
    3535                 *
    3636                 * @since 2.0.0
    3737                 *
    38                  * @param BP_XProfile_Field_Type_Textbox $this Current instance of
     38                 * @param BP_XProfile_Field_Type_Textbox $textbox Current instance of
    3939                 *                                             the field type text box.
    4040                 */
    4141                do_action( 'bp_xprofile_field_type_textbox', $this );
  • src/bp-xprofile/classes/class-bp-xprofile-field-type-url.php

    diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-url.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-url.php
    index 15b4bb0f0..7d6738a46 100644
    a b class BP_XProfile_Field_Type_URL extends BP_XProfile_Field_Type { 
    4545                 *
    4646                 * @since 2.0.0
    4747                 *
    48                  * @param BP_XProfile_Field_Type_URL $this Current instance of
     48                 * @param BP_XProfile_Field_Type_URL $URL Current instance of
    4949                 *                                         the field type URL.
    5050                 */
    5151                do_action( 'bp_xprofile_field_type_url', $this );
  • src/bp-xprofile/classes/class-bp-xprofile-field-type-wordpress-biography.php

    diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-wordpress-biography.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-wordpress-biography.php
    index 8a20035f5..07552ed55 100644
    a b class BP_XProfile_Field_Type_WordPress_Biography extends BP_XProfile_Field_Type_ 
    3737                 *
    3838                 * @since 8.0.0
    3939                 *
    40                  * @param BP_XProfile_Field_Type_WordPress_Biography $this Instance of the field type object.
     40                 * @param BP_XProfile_Field_Type_WordPress_Biography $biography Instance of the field type object.
    4141                 */
    4242                do_action( 'bp_xprofile_field_type_wordpress_biography', $this );
    4343        }
  • src/bp-xprofile/classes/class-bp-xprofile-field-type-wordpress-textbox.php

    diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-wordpress-textbox.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-wordpress-textbox.php
    index 4024f1a52..17eb446ae 100644
    a b class BP_XProfile_Field_Type_WordPress_Textbox extends BP_XProfile_Field_Type_Wo 
    3838                 *
    3939                 * @since 8.0.0
    4040                 *
    41                  * @param BP_XProfile_Field_Type_WordPress_Textbox $this Instance of the field type object.
     41                 * @param BP_XProfile_Field_Type_WordPress_Textbox $textbox Instance of the field type object.
    4242                 */
    4343                do_action( 'bp_xprofile_field_type_wordpress_textbox', $this );
    4444
  • src/bp-xprofile/classes/class-bp-xprofile-field-type-wordpress.php

    diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-wordpress.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-wordpress.php
    index fc48228b8..93c79f559 100644
    a b abstract class BP_XProfile_Field_Type_WordPress extends BP_XProfile_Field_Type { 
    7272                 *
    7373                 * @since 8.0.0
    7474                 *
    75                  * @param BP_XProfile_Field_Type_WordPress $this Instance of the field type object.
     75                 * @param BP_XProfile_Field_Type_WordPress $field_type Instance of the field type object.
    7676                 */
    7777                do_action( 'bp_xprofile_field_type_wordpress', $this );
    7878
  • src/bp-xprofile/classes/class-bp-xprofile-field-type.php

    diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type.php
    index 4c605eb7d..3a76fcb8c 100644
    a b abstract class BP_XProfile_Field_Type { 
    110110                 *
    111111                 * @since 2.0.0
    112112                 *
    113                  * @param BP_XProfile_Field_Type $this Current instance of
     113                 * @param BP_XProfile_Field_Type $field_type Current instance of
    114114                 *                                     the field type class.
    115115                 */
    116116                do_action( 'bp_xprofile_field_type', $this );
    abstract class BP_XProfile_Field_Type { 
    139139                 * @param string                 $format         Regex string.
    140140                 * @param string                 $replace_format Optional replace format If "replace", replaces the
    141141                 *                                               format instead of adding to it. Defaults to "add".
    142                  * @param BP_XProfile_Field_Type $this           Current instance of the BP_XProfile_Field_Type class.
     142                 * @param BP_XProfile_Field_Type $field_type           Current instance of the BP_XProfile_Field_Type class.
    143143                 */
    144144                $format = apply_filters( 'bp_xprofile_field_type_set_format', $format, $replace_format, $this );
    145145
    abstract class BP_XProfile_Field_Type { 
    188188                         *
    189189                         * @param string                 $value  Field value.
    190190                         * @param array                  $values Original array of values.
    191                          * @param BP_XProfile_Field_Type $this   Current instance of the BP_XProfile_Field_Type class.
     191                         * @param BP_XProfile_Field_Type $field_type   Current instance of the BP_XProfile_Field_Type class.
    192192                         */
    193193                        $this->validation_allowed_values[] = apply_filters_deprecated( 'bp_xprofile_field_type_set_whitelist_values', array( $value, $values, $this ), '7.0.0', 'bp_xprofile_field_type_set_allowed_values' );
    194194
    abstract class BP_XProfile_Field_Type { 
    199199                         *
    200200                         * @param string                 $value  Field value.
    201201                         * @param array                  $values Original array of values.
    202                          * @param BP_XProfile_Field_Type $this   Current instance of the BP_XProfile_Field_Type class.
     202                         * @param BP_XProfile_Field_Type $field_type   Current instance of the BP_XProfile_Field_Type class.
    203203                         */
    204204                        $this->validation_allowed_values[] = apply_filters( 'bp_xprofile_field_type_set_allowed_values', $value, $values, $this );
    205205                }
    abstract class BP_XProfile_Field_Type { 
    257257                 *
    258258                 * @param bool                   $validated Whether or not the field type is valid.
    259259                 * @param string|array           $values    Value to check against the registered formats.
    260                  * @param BP_XProfile_Field_Type $this      Current instance of the BP_XProfile_Field_Type class.
     260                 * @param BP_XProfile_Field_Type $field_type      Current instance of the BP_XProfile_Field_Type class.
    261261                 */
    262262                return (bool) apply_filters( 'bp_xprofile_field_type_is_valid', $validated, $values, $this );
    263263        }
  • src/bp-xprofile/classes/class-bp-xprofile-field.php

    diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field.php b/src/bp-xprofile/classes/class-bp-xprofile-field.php
    index c42b11fb5..b05d7a559 100644
    a b class BP_XProfile_Field { 
    196196                 *
    197197                 * @since 8.0.0
    198198                 *
    199                  * @param BP_XProfile_Field $this The xProfile field object.
     199                 * @param BP_XProfile_Field $field The xProfile field object.
    200200                 */
    201201                do_action( 'bp_xprofile_field', $this );
    202202        }
    class BP_XProfile_Field { 
    366366                 *
    367367                 * @since 3.0.0
    368368                 *
    369                  * @param BP_XProfile_Field $this        Current instance of the field being deleted. Passed by reference.
     369                 * @param BP_XProfile_Field $field        Current instance of the field being deleted. Passed by reference.
    370370                 * @param bool              $delete_data Whether or not to delete data.
    371371                 */
    372372                do_action_ref_array( 'xprofile_field_before_delete', array( &$this, $delete_data ) );
    class BP_XProfile_Field { 
    391391                 *
    392392                 * @since 3.0.0
    393393                 *
    394                  * @param BP_XProfile_Field $this        Current instance of the field being deleted. Passed by reference.
     394                 * @param BP_XProfile_Field $field        Current instance of the field being deleted. Passed by reference.
    395395                 * @param bool              $delete_data Whether or not to delete data.
    396396                 */
    397397                do_action_ref_array( 'xprofile_field_after_delete', array( &$this, $delete_data ) );
    class BP_XProfile_Field { 
    432432                 *
    433433                 * @since 1.0.0
    434434                 *
    435                  * @param BP_XProfile_Field $this Current instance of the field being saved.
     435                 * @param BP_XProfile_Field $field Current instance of the field being saved.
    436436                 */
    437437                do_action_ref_array( 'xprofile_field_before_save', array( $this ) );
    438438
    class BP_XProfile_Field { 
    530530                         *
    531531                         * @since 1.0.0
    532532                         *
    533                          * @param BP_XProfile_Field $this Current instance of the field being saved.
     533                         * @param BP_XProfile_Field $field Current instance of the field being saved.
    534534                         */
    535535                        do_action_ref_array( 'xprofile_field_after_save', array( $this ) );
    536536
    class BP_XProfile_Field { 
    739739                 *
    740740                 * @since 2.4.0
    741741                 *
    742                  * @param BP_XProfile_Field $this Field object.
     742                 * @param BP_XProfile_Field $field Field object.
    743743                 */
    744744                do_action( 'bp_xprofile_field_set_member_type', $this );
    745745
    class BP_XProfile_Field { 
    909909                 * @since 6.0.0
    910910                 *
    911911                 * @param bool              $do_autolink The autolink property of the field.
    912                  * @param BP_XProfile_Field $this Field object.
     912                 * @param BP_XProfile_Field $field Field object.
    913913                 */
    914914                return apply_filters( 'bp_xprofile_field_do_autolink', $this->do_autolink, $this );
    915915        }
    class BP_XProfile_Field { 
    13171317                                                         *
    13181318                                                         * @since 2.2.0
    13191319                                                         *
    1320                                                          * @param BP_XProfile_Field $this Current XProfile field.
     1320                                                         * @param BP_XProfile_Field $field Current XProfile field.
    13211321                                                         */
    13221322                                                        do_action( 'xprofile_field_after_sidebarbox', $this ); ?>
    13231323
    class BP_XProfile_Field { 
    13321332                                                         *
    13331333                                                         * @since 2.3.0
    13341334                                                         *
    1335                                                          * @param BP_XProfile_Field $this Current XProfile field.
     1335                                                         * @param BP_XProfile_Field $field Current XProfile field.
    13361336                                                         */
    13371337                                                        do_action( 'xprofile_field_before_contentbox', $this );
    13381338
    class BP_XProfile_Field { 
    13471347                                                         *
    13481348                                                         * @since 2.2.0
    13491349                                                         *
    1350                                                          * @param BP_XProfile_Field $this Current XProfile field.
     1350                                                         * @param BP_XProfile_Field $field Current XProfile field.
    13511351                                                         */
    13521352                                                        do_action( 'xprofile_field_after_contentbox', $this ); ?>
    13531353
    class BP_XProfile_Field { 
    14361436                 *
    14371437                 * @since 2.1.0
    14381438                 *
    1439                  * @param BP_XProfile_Field $this Current XProfile field.
     1439                 * @param BP_XProfile_Field $field Current XProfile field.
    14401440                 */
    14411441                do_action( 'xprofile_field_before_submitbox', $this ); ?>
    14421442
    class BP_XProfile_Field { 
    14531453                                                 *
    14541454                                                 * @since 2.1.0
    14551455                                                 *
    1456                                                  * @param BP_XProfile_Field $this Current XProfile field.
     1456                                                 * @param BP_XProfile_Field $field Current XProfile field.
    14571457                                                 */
    14581458                                                do_action( 'xprofile_field_submitbox_start', $this ); ?>
    14591459
    class BP_XProfile_Field { 
    14901490                 *
    14911491                 * @since 2.1.0
    14921492                 *
    1493                  * @param BP_XProfile_Field $this Current XProfile field.
     1493                 * @param BP_XProfile_Field $field Current XProfile field.
    14941494                 */
    14951495                do_action( 'xprofile_field_after_submitbox', $this );
    14961496        }
  • src/bp-xprofile/classes/class-bp-xprofile-group.php

    diff --git a/src/bp-xprofile/classes/class-bp-xprofile-group.php b/src/bp-xprofile/classes/class-bp-xprofile-group.php
    index 9a9d673c8..ae7068c57 100644
    a b class BP_XProfile_Group { 
    134134                 *
    135135                 * @since 1.0.0
    136136                 *
    137                  * @param BP_XProfile_Group $this Current instance of the group being saved. Passed by reference.
     137                 * @param BP_XProfile_Group $group Current instance of the group being saved. Passed by reference.
    138138                 */
    139139                do_action_ref_array( 'xprofile_group_before_save', array( &$this ) );
    140140
    class BP_XProfile_Group { 
    165165                 *
    166166                 * @since 1.0.0
    167167                 *
    168                  * @param BP_XProfile_Group $this Current instance of the group being saved. Passed by reference.
     168                 * @param BP_XProfile_Group $group Current instance of the group being saved. Passed by reference.
    169169                 */
    170170                do_action_ref_array( 'xprofile_group_after_save', array( &$this ) );
    171171
    class BP_XProfile_Group { 
    194194                 *
    195195                 * @since 2.0.0
    196196                 *
    197                  * @param BP_XProfile_Group $this Current instance of the group being deleted. Passed by reference.
     197                 * @param BP_XProfile_Group $group Current instance of the group being deleted. Passed by reference.
    198198                 */
    199199                do_action_ref_array( 'xprofile_group_before_delete', array( &$this ) );
    200200
    class BP_XProfile_Group { 
    223223                 *
    224224                 * @since 2.0.0
    225225                 *
    226                  * @param BP_XProfile_Group $this Current instance of the group being deleted. Passed by reference.
     226                 * @param BP_XProfile_Group $group Current instance of the group being deleted. Passed by reference.
    227227                 */
    228228                do_action_ref_array( 'xprofile_group_after_delete', array( &$this ) );
    229229
    class BP_XProfile_Group { 
    903903                                                         *
    904904                                                         * @since 2.6.0
    905905                                                         *
    906                                                          * @param BP_XProfile_Group $this Current XProfile group.
     906                                                         * @param BP_XProfile_Group $group Current XProfile group.
    907907                                                         */
    908908                                                        do_action( 'xprofile_group_admin_after_description', $this ); ?>
    909909
    class BP_XProfile_Group { 
    918918                                                         *
    919919                                                         * @since 2.1.0
    920920                                                         *
    921                                                          * @param BP_XProfile_Group $this Current XProfile group.
     921                                                         * @param BP_XProfile_Group $group Current XProfile group.
    922922                                                         */
    923923                                                        do_action( 'xprofile_group_before_submitbox', $this ); ?>
    924924
    class BP_XProfile_Group { 
    938938                                                                                         *
    939939                                                                                         * @since 2.1.0
    940940                                                                                         *
    941                                                                                          * @param BP_XProfile_Group $this Current XProfile group.
     941                                                                                         * @param BP_XProfile_Group $group Current XProfile group.
    942942                                                                                         */
    943943                                                                                        do_action( 'xprofile_group_submitbox_start', $this ); ?>
    944944
    class BP_XProfile_Group { 
    966966                                                         *
    967967                                                         * @since 2.1.0
    968968                                                         *
    969                                                          * @param BP_XProfile_Group $this Current XProfile group.
     969                                                         * @param BP_XProfile_Group $group Current XProfile group.
    970970                                                         */
    971971                                                        do_action( 'xprofile_group_after_submitbox', $this ); ?>
    972972
  • src/bp-xprofile/classes/class-bp-xprofile-profiledata.php

    diff --git a/src/bp-xprofile/classes/class-bp-xprofile-profiledata.php b/src/bp-xprofile/classes/class-bp-xprofile-profiledata.php
    index d028b0a37..c8b6f895e 100644
    a b class BP_XProfile_ProfileData { 
    140140                 * @since 1.2.7
    141141                 *
    142142                 * @param bool                    $retval Whether or not data already exists.
    143                  * @param BP_XProfile_ProfileData $this   Instance of the current BP_XProfile_ProfileData class.
     143                 * @param BP_XProfile_ProfileData $profile_data   Instance of the current BP_XProfile_ProfileData class.
    144144                 */
    145145                return apply_filters_ref_array( 'xprofile_data_exists', array( (bool)$retval, $this ) );
    146146        }
    class BP_XProfile_ProfileData { 
    167167                 * @since 1.2.7
    168168                 *
    169169                 * @param bool                    $retval Whether or not data is valid.
    170                  * @param BP_XProfile_ProfileData $this   Instance of the current BP_XProfile_ProfileData class.
     170                 * @param BP_XProfile_ProfileData $profile_data   Instance of the current BP_XProfile_ProfileData class.
    171171                 */
    172172                return apply_filters_ref_array( 'xprofile_data_is_valid_field', array( (bool)$retval, $this ) );
    173173        }
    class BP_XProfile_ProfileData { 
    213213                 * @param string                  $field_value The field value.
    214214                 * @param int                     $data_id     The field data ID.
    215215                 * @param bool                    $reserialize Whether to reserialize arrays before returning. Defaults to true.
    216                  * @param BP_XProfile_ProfileData $this        Current instance of the profile data being saved.
     216                 * @param BP_XProfile_ProfileData $profile_data        Current instance of the profile data being saved.
    217217                 */
    218218                $this->value = apply_filters( 'xprofile_data_value_before_save', $this->value, $this->id, true, $this );
    219219
    class BP_XProfile_ProfileData { 
    234234                 *
    235235                 * @since 1.0.0
    236236                 *
    237                  * @param BP_XProfile_ProfileData $this Current instance of the profile data being saved.
     237                 * @param BP_XProfile_ProfileData $profile_data Current instance of the profile data being saved.
    238238                 */
    239239                do_action_ref_array( 'xprofile_data_before_save', array( $this ) );
    240240
    class BP_XProfile_ProfileData { 
    260260                         *
    261261                         * @since 1.0.0
    262262                         *
    263                          * @param BP_XProfile_ProfileData $this Current instance of the profile data being saved.
     263                         * @param BP_XProfile_ProfileData $profile_data Current instance of the profile data being saved.
    264264                         */
    265265                        do_action_ref_array( 'xprofile_data_after_save', array( $this ) );
    266266
    class BP_XProfile_ProfileData { 
    289289                 *
    290290                 * @since 1.9.0
    291291                 *
    292                  * @param BP_XProfile_ProfileData $this Current instance of the profile data being deleted.
     292                 * @param BP_XProfile_ProfileData $profile_data Current instance of the profile data being deleted.
    293293                 */
    294294                do_action_ref_array( 'xprofile_data_before_delete', array( $this ) );
    295295
    class BP_XProfile_ProfileData { 
    303303                 *
    304304                 * @since 1.9.0
    305305                 *
    306                  * @param BP_XProfile_ProfileData $this Current instance of the profile data being deleted.
     306                 * @param BP_XProfile_ProfileData $profile_data Current instance of the profile data being deleted.
    307307                 */
    308308                do_action_ref_array( 'xprofile_data_after_delete', array( $this ) );
    309309