Changeset 13372
- Timestamp:
- 11/24/2022 09:33:11 PM (2 years ago)
- Location:
- trunk/src
- Files:
-
- 40 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/classes/class-bp-activity-activity.php
r13344 r13372 256 256 * @since 1.0.0 257 257 * 258 * @param BP_Activity_Activity $ thisCurrent 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. 259 259 */ 260 260 do_action_ref_array( 'bp_activity_before_save', array( &$this ) ); … … 327 327 * @since 1.0.0 328 328 * 329 * @param BP_Activity_Activity $ thisCurrent 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. 330 330 */ 331 331 do_action_ref_array( 'bp_activity_after_save', array( &$this ) ); -
trunk/src/bp-activity/classes/class-bp-activity-feed.php
r13108 r13372 151 151 * @since 1.8.0 152 152 * 153 * @param BP_Activity_Feed $ thisCurrent instance of activity feed. Passed by reference.153 * @param BP_Activity_Feed $feed Current instance of activity feed. Passed by reference. 154 154 */ 155 155 do_action_ref_array( 'bp_activity_feed_prefetch', array( &$this ) ); … … 169 169 * @since 1.8.0 170 170 * 171 * @param BP_Activity_Feed $ thisCurrent instance of activity feed. Passed by reference.171 * @param BP_Activity_Feed $feed Current instance of activity feed. Passed by reference. 172 172 */ 173 173 do_action_ref_array( 'bp_activity_feed_postfetch', array( &$this ) ); -
trunk/src/bp-blogs/classes/class-bp-blogs-blog.php
r13307 r13372 103 103 * @since 1.0.0 104 104 * 105 * @param BP_Blogs_Blog $ thisCurrent 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. 106 106 */ 107 107 do_action_ref_array( 'bp_blogs_blog_before_save', array( &$this ) ); … … 135 135 * @since 1.0.0 136 136 * 137 * @param BP_Blogs_Blog $ thisCurrent 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. 138 138 */ 139 139 do_action_ref_array( 'bp_blogs_blog_after_save', array( &$this ) ); -
trunk/src/bp-core/classes/class-bp-button.php
r13108 r13372 360 360 * 361 361 * @param string $contents HTML being used for the button. 362 * @param BP_Button $ thisCurrent BP_Button instance.362 * @param BP_Button $button Current BP_Button instance. 363 363 * @param string $before HTML appended before the actual button. 364 364 * @param string $after HTML appended after the actual button. -
trunk/src/bp-core/classes/class-bp-email-recipient.php
r12353 r13372 33 33 * @param string|array|int|WP_User $email_or_user Either a email address, user ID, WP_User object, 34 34 * or an array containing any combination of the above. 35 * @param string $name Optional. If $email_or_user is a string, this is the recipient's name. 35 * @param string $name Optional. If $email_or_user is a string, this is the 36 * recipient's name. 36 37 */ 37 38 public function __construct( $email_or_user, $name = '' ) { … … 101 102 * @param string|array|int|WP_User $email_or_user Either a email address, user ID, WP_User object, 102 103 * or an array containing any combination of the above. 103 * @param string $nameIf $email_or_user is a string, this is the recipient's name.104 * @param BP_Email_Recipient $thisCurrent instance of the email type class.104 * @param string $name If $email_or_user is a string, this is the recipient's name. 105 * @param BP_Email_Recipient $recipient Current instance of the email type class. 105 106 */ 106 107 do_action( 'bp_email_recipient', $email_or_user, $name, $this ); … … 170 171 * @since 2.5.0 171 172 * 172 * @param WP_User $nameWP_User object for this recipient, or null if not set.173 * @param string $transformOptional. How the return value was transformed.174 * Accepts 'raw' (default) or 'search-email'.175 * @param BP_Email $recipient $thisCurrent instance of the email recipient class.173 * @param WP_User $user_object WP_User object for this recipient, or null if not set. 174 * @param string $transform Optional. How the return value was transformed. 175 * Accepts 'raw' (default) or 'search-email'. 176 * @param BP_Email_Recipient $recipient Current instance of the email recipient class. 176 177 */ 177 178 return apply_filters( 'bp_email_recipient_get_user', $this->user_object, $transform, $this ); -
trunk/src/bp-core/classes/class-bp-email.php
r12932 r13372 199 199 * @since 2.5.0 200 200 * 201 * @param string $email_type Unique identifier for this type of email.202 * @param BP_Email $ thisCurrent instance of the email type class.201 * @param string $email_type Unique identifier for this type of email. 202 * @param BP_Email $email Current instance of the email type class. 203 203 */ 204 204 do_action( 'bp_email', $email_type, $this ); … … 245 245 * @since 2.5.0 246 246 * 247 * @param mixed $property_value Property value.248 * @param string $property_name249 * @param string $transformHow to transform the return value.250 * Accepts 'raw' (default) or 'replace-tokens'.251 * @param BP_Email $ thisCurrent instance of the email type class.247 * @param mixed $property_value Property value. 248 * @param string $property_name Property name. 249 * @param string $transform How to transform the return value. 250 * Accepts 'raw' (default) or 'replace-tokens'. 251 * @param BP_Email $email Current instance of the email type class. 252 252 */ 253 253 $retval = apply_filters( "bp_email_get_{$property_name}", $this->$property_name, $property_name, $transform, $this ); … … 273 273 * @since 2.5.0 274 274 * 275 * @param string $retvalProperty value.276 * @param string $property_name277 * @param string $transformHow to transform the return value.278 * Accepts 'raw' (default) or 'replace-tokens'.279 * @param BP_Email $ thisCurrent instance of the email type class.275 * @param string $retval Property value. 276 * @param string $property_name Property name. 277 * @param string $transform How to transform the return value. 278 * Accepts 'raw' (default) or 'replace-tokens'. 279 * @param BP_Email $email Current instance of the email type class. 280 280 */ 281 281 return apply_filters( 'bp_email_get_property', $retval, $property_name, $transform, $this ); … … 551 551 * 552 552 * @param string[] $new_headers Key/value pairs of new header name/values (strings). 553 * @param BP_Email $ thisCurrent instance of the email type class.553 * @param BP_Email $email Current instance of the email type class. 554 554 */ 555 555 $this->headers = apply_filters( 'bp_email_set_headers', $new_headers, $this ); … … 593 593 * @since 2.5.0 594 594 * 595 * @param BP_Email_Recipient[] $bccBCC recipients.595 * @param BP_Email_Recipient[] $bcc BCC recipients. 596 596 * @param string|array|int|WP_User $bcc_address Either a email address, user ID, WP_User object, 597 597 * or an array containing any combination of the above. 598 * @param string $name Optional. If $bcc_address is a string, this is the recipient's name. 599 * @param string $operation If "replace", $to_address replaced previous recipients. If "add", 600 * $to_address was added to the array of recipients. 601 * @param BP_Email $this Current instance of the email type class. 598 * @param string $name Optional. If $bcc_address is a string, this is the recipient's 599 * name. 600 * @param string $operation If "replace", $to_address replaced previous recipients. 601 * If "add", $to_address was added to the array of recipients. 602 * @param BP_Email $email Current instance of the email type class. 602 603 */ 603 604 $this->bcc = apply_filters( 'bp_email_set_bcc', $bcc, $bcc_address, $name, $operation, $this ); … … 641 642 * @since 2.5.0 642 643 * 643 * @param BP_Email_Recipient[] $ccCC recipients.644 * @param BP_Email_Recipient[] $cc CC recipients. 644 645 * @param string|array|int|WP_User $cc_address Either a email address, user ID, WP_User object, 645 646 * or an array containing any combination of the above. 646 * @param string $nameOptional. If $cc_address is a string, this is the recipient's name.647 * @param string $operationIf "replace", $to_address replaced previous recipients. If "add",648 * $to_address was added to the array of recipients.649 * @param BP_Email $thisCurrent instance of the email type class.647 * @param string $name Optional. If $cc_address is a string, this is the recipient's name. 648 * @param string $operation If "replace", $to_address replaced previous recipients. If "add", 649 * $to_address was added to the array of recipients. 650 * @param BP_Email $email Current instance of the email type class. 650 651 */ 651 652 $this->cc = apply_filters( 'bp_email_set_cc', $cc, $cc_address, $name, $operation, $this ); … … 669 670 * @since 2.5.0 670 671 * 671 * @param string $content HTML email content.672 * @param BP_Email $ thisCurrent instance of the email type class.672 * @param string $content HTML email content. 673 * @param BP_Email $email Current instance of the email type class. 673 674 */ 674 675 $this->content_html = apply_filters( 'bp_email_set_content_html', $content, $this ); … … 692 693 * @since 2.5.0 693 694 * 694 * @param string $content Plain text email content.695 * @param BP_Email $ thisCurrent instance of the email type class.695 * @param string $content Plain text email content. 696 * @param BP_Email $email Current instance of the email type class. 696 697 */ 697 698 $this->content_plaintext = apply_filters( 'bp_email_set_content_plaintext', $content, $this ); … … 721 722 * @since 2.5.0 722 723 * 723 * @param string $content_type Email content type ("html" or "plaintext").724 * @param BP_Email $ thisCurrent instance of the email type class.724 * @param string $content_type Email content type ("html" or "plaintext"). 725 * @param BP_Email $email Current instance of the email type class. 725 726 */ 726 727 $this->content_type = apply_filters( 'bp_email_set_content_type', $content_type, $this ); … … 749 750 * @since 2.5.0 750 751 * 751 * @param BP_Email_Recipient $fromSender details.752 * @param BP_Email_Recipient $from Sender details. 752 753 * @param string|array|int|WP_User $email_address Either a email address, user ID, or WP_User object. 753 * @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 string $name Optional. If $email_address is a string, this is the 755 * recipient's name. 756 * @param BP_Email $email Current instance of the email type class. 755 757 */ 756 758 $this->from = apply_filters( 'bp_email_set_from', $from, $email_address, $name, $this ); … … 776 778 * @since 2.5.0 777 779 * 778 * @param WP_Post $postA Post.779 * @param BP_Email $ thisCurrent instance of the email type class.780 * @param WP_Post $post A Post. 781 * @param BP_Email $email Current instance of the email type class. 780 782 */ 781 783 $this->post_object = apply_filters( 'bp_email_set_post_object', $post, $this ); … … 832 834 * @since 2.5.0 833 835 * 834 * @param BP_Email_Recipient $reply_to"Reply to" recipient.836 * @param BP_Email_Recipient $reply_to "Reply to" recipient. 835 837 * @param string|array|int|WP_User $email_address Either a email address, user ID, WP_User object, 836 838 * or an array containing any combination of the above. 837 * @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. 839 * @param string $name Optional. If $email_address is a string, this is the 840 * recipient's name. 841 * @param BP_Email $email Current instance of the email type class. 839 842 */ 840 843 $this->reply_to = apply_filters( 'bp_email_set_reply_to', $reply_to, $email_address, $name, $this ); … … 858 861 * @since 2.5.0 859 862 * 860 * @param string $subject Email subject.861 * @param BP_Email $ thisCurrent instance of the email type class.863 * @param string $subject Email subject. 864 * @param BP_Email $email Current instance of the email type class. 862 865 */ 863 866 $this->subject = apply_filters( 'bp_email_set_subject', $subject, $this ); … … 884 887 * @since 2.5.0 885 888 * 886 * @param string $template Email template. Assumed to be HTML.887 * @param BP_Email $ thisCurrent instance of the email type class.889 * @param string $template Email template. Assumed to be HTML. 890 * @param BP_Email $email Current instance of the email type class. 888 891 */ 889 892 $this->template = apply_filters( 'bp_email_set_template', $template, $this ); … … 932 935 * @since 2.5.0 933 936 * 934 * @param BP_Email_Recipient[] "To" recipients.935 * @param string $to_address "To" address.936 * @param string $name"To" name.937 * @param string $operationIf "replace", $to_address replaced previous recipients. If "add",938 * $to_address was added to the array of recipients.939 * @param BP_Email $thisCurrent instance of the email type class.937 * @param BP_Email_Recipient[] $to "To" recipients. 938 * @param string $to_address "To" address. 939 * @param string $name "To" name. 940 * @param string $operation If "replace", $to_address replaced previous recipients. If "add", 941 * $to_address was added to the array of recipients. 942 * @param BP_Email $email Current instance of the email type class. 940 943 */ 941 944 $this->to = apply_filters( 'bp_email_set_to', $to, $to_address, $name, $operation, $this ); … … 973 976 * @param string[] $tokens Associative pairing of unformatted token 974 977 * names (key) and replacement values (value). 975 * @param BP_Email $ thisCurrent instance of the email type class.978 * @param BP_Email $email Current instance of the email type class. 976 979 */ 977 980 $this->tokens = apply_filters( 'bp_email_set_tokens', $formatted_tokens, $tokens, $this ); … … 1022 1025 * 1023 1026 * @param bool|WP_Error $retval Returns true if validation succesful, else a descriptive WP_Error. 1024 * @param BP_Email $thisCurrent instance of the email type class.1027 * @param BP_Email $email Current instance of the email type class. 1025 1028 */ 1026 1029 return apply_filters( 'bp_email_validate', $retval, $this ); -
trunk/src/bp-core/classes/class-bp-embed.php
r13108 r13372 56 56 * @since 1.5.0 57 57 * 58 * @param BP_Embed $ thisCurrent instance of the BP_Embed. Passed by reference.58 * @param BP_Embed $embed Current instance of the BP_Embed. Passed by reference. 59 59 */ 60 60 do_action_ref_array( 'bp_core_setup_oembed', array( &$this ) ); -
trunk/src/bp-core/classes/class-bp-members-suggestions.php
r11760 r13372 55 55 * @since 2.1.0 56 56 * 57 * @param array $args Array of arguments for the member suggestions.58 * @param BP_Members_Suggestions $ this Current BP_Members_Suggestions instance.57 * @param array $args Array of arguments for the member suggestions. 58 * @param BP_Members_Suggestions $suggestions Current BP_Members_Suggestions instance. 59 59 */ 60 60 $this->args = apply_filters( 'bp_members_suggestions_args', $this->args, $this ); … … 70 70 * @since 2.1.0 71 71 * 72 * @param bool|WP_Error $ valueResults of validation check.73 * @param BP_Members_Suggestions $ thisCurrent BP_Members_Suggestions instance.72 * @param bool|WP_Error $is_valid Results of validation check. 73 * @param BP_Members_Suggestions $suggestions Current BP_Members_Suggestions instance. 74 74 */ 75 75 return apply_filters( 'bp_members_suggestions_validate_args', parent::validate(), $this ); … … 105 105 * @since 2.1.0 106 106 * 107 * @param array $user_query Array of query arguments.108 * @param BP_Members_Suggestions $ thisCurrent BP_Members_Suggestions instance.107 * @param array $user_query Array of query arguments. 108 * @param BP_Members_Suggestions $suggestions Current BP_Members_Suggestions instance. 109 109 */ 110 110 $user_query = apply_filters( 'bp_members_suggestions_query_args', $user_query, $this ); … … 132 132 * @since 2.1.0 133 133 * 134 * @param array $results Array of users to suggest.135 * @param BP_Members_Suggestions $ thisCurrent BP_Members_Suggestions instance.134 * @param array $results Array of users to suggest. 135 * @param BP_Members_Suggestions $suggestions Current BP_Members_Suggestions instance. 136 136 */ 137 137 return apply_filters( 'bp_members_suggestions_get_suggestions', $results, $this ); -
trunk/src/bp-core/classes/class-bp-suggestions.php
r13108 r13372 51 51 * @var array 52 52 */ 53 protected $args = array( 54 ); 55 53 protected $args = array(); 56 54 57 55 /** … … 106 104 * @since 2.1.0 107 105 * 108 * @param BP_Suggestions $valueArguments to be validated.109 * @param BP_Suggestions $ thisCurrent BP_Suggestions instance.106 * @param array $args Arguments to be validated. 107 * @param BP_Suggestions $suggestions Current BP_Suggestions instance. 110 108 */ 111 $this->args 109 $this->args = apply_filters( 'bp_suggestions_args', $this->args, $this ); 112 110 113 111 // Check for invalid or missing mandatory parameters. … … 126 124 * @since 2.1.0 127 125 * 128 * @param bool $ valueWhether or not the values are valid.129 * @param BP_Suggestions $ thisCurrent BP_Suggestions instance.126 * @param bool $is_valid Whether or not the values are valid. 127 * @param BP_Suggestions $suggestions Current BP_Suggestions instance. 130 128 */ 131 129 return apply_filters( 'bp_suggestions_validate_args', true, $this ); -
trunk/src/bp-core/classes/class-bp-user-query.php
r13184 r13372 188 188 * @since 1.7.0 189 189 * 190 * @param BP_User_Query $ thisCurrent instance of the BP_User_Query. Passed by reference.190 * @param BP_User_Query $user_query Current instance of the BP_User_Query. Passed by reference. 191 191 */ 192 192 do_action_ref_array( 'bp_pre_user_query_construct', array( &$this ) ); … … 494 494 * @since 2.0.0 495 495 * 496 * @param array $sql Array of SQL clauses to be used in the query.497 * @param BP_User_Query $ thisCurrent BP_User_Query instance.496 * @param array $sql Array of SQL clauses to be used in the query. 497 * @param BP_User_Query $user_query Current BP_User_Query instance. 498 498 */ 499 499 $sql = apply_filters_ref_array( 'bp_user_query_uid_clauses', array( $sql, &$this ) ); … … 511 511 * @since 1.7.0 512 512 * 513 * @param BP_User_Query $ thisCurrent BP_User_Query instance. Passed by reference.513 * @param BP_User_Query $query Current BP_User_Query instance. Passed by reference. 514 514 */ 515 515 do_action_ref_array( 'bp_pre_user_query', array( &$this ) ); … … 549 549 * @since 1.7.0 550 550 * 551 * @param string $value SQL statement to select FOUND_ROWS().552 * @param BP_User_Query $ thisCurrent BP_User_Query instance.551 * @param string $value SQL statement to select FOUND_ROWS(). 552 * @param BP_User_Query $user_query Current BP_User_Query instance. 553 553 */ 554 554 $this->total_users = $wpdb->get_var( apply_filters( 'bp_found_user_query', "SELECT FOUND_ROWS()", $this ) ); … … 579 579 * @since 1.7.0 580 580 * 581 * @param array $value Array of arguments for the user query.582 * @param BP_User_Query $ thisCurrent BP_User_Query instance.581 * @param array $value Array of arguments for the user query. 582 * @param BP_User_Query $user_query Current BP_User_Query instance. 583 583 */ 584 584 $wp_user_query = new WP_User_Query( apply_filters( 'bp_wp_user_query_args', array( … … 697 697 * @since 1.7.0 698 698 * 699 * @param BP_User_Query $ thisCurrent BP_User_Query instance.699 * @param BP_User_Query $user_query Current BP_User_Query instance. 700 700 * @param string $user_ids_sql Comma-separated string of user IDs. 701 701 */ -
trunk/src/bp-groups/bp-groups-admin.php
r13280 r13372 647 647 * @since 1.7.0 648 648 * 649 * @param BP_Groups_Group $ thisInstance 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. 650 650 */ 651 651 do_action_ref_array( 'bp_groups_admin_edit', array( &$group ) ); ?> -
trunk/src/bp-groups/classes/class-bp-group-member-query.php
r13357 r13372 109 109 * @since 10.3.0 110 110 * 111 * @param array $value Array of arguments for the user query.112 * @param BP_User_Query $ thisCurrent BP_User_Query instance.111 * @param array $value Array of arguments for the user query. 112 * @param BP_User_Query $user_query Current BP_User_Query instance. 113 113 */ 114 114 $wp_user_query = new WP_User_Query( … … 368 368 * 369 369 * @param array $group_member_ids Array of associated member IDs. 370 * @param BP_Group_Member_Query $ thisCurrent BP_Group_Member_Query instance.370 * @param BP_Group_Member_Query $user_query Current BP_Group_Member_Query instance. 371 371 */ 372 372 $this->group_member_ids = apply_filters( 'bp_group_member_query_group_member_ids', $this->group_member_ids, $this ); -
trunk/src/bp-groups/classes/class-bp-groups-group-members-template.php
r13108 r13372 244 244 * 245 245 * @since 1.0.0 246 * @since 2.3.0 `$t his` parameter added.246 * @since 2.3.0 `$template_loop` parameter added. 247 247 * @since 2.7.0 Action renamed from `loop_end`. 248 248 * 249 * @param BP_Groups_Group_Members_Template $t hisInstance of the current Members template.249 * @param BP_Groups_Group_Members_Template $template_loop Instance of the current Members template. 250 250 */ 251 251 do_action( 'group_members_loop_end', $this ); … … 275 275 * 276 276 * @since 1.0.0 277 * @since 2.3.0 `$t his` parameter added.277 * @since 2.3.0 `$template_loop` parameter added. 278 278 * @since 2.7.0 Action renamed from `loop_start`. 279 279 * 280 * @param BP_Groups_Group_Members_Template $t hisInstance of the current Members template.280 * @param BP_Groups_Group_Members_Template $template_loop Instance of the current Members template. 281 281 */ 282 282 do_action( 'group_members_loop_start', $this ); -
trunk/src/bp-groups/classes/class-bp-groups-group.php
r13355 r13372 288 288 * @since 1.0.0 289 289 * 290 * @param BP_Groups_Group $ thisCurrent 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. 291 291 */ 292 292 do_action_ref_array( 'groups_group_before_save', array( &$this ) ); … … 372 372 * @since 1.0.0 373 373 * 374 * @param BP_Groups_Group $ thisCurrent 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. 375 375 */ 376 376 do_action_ref_array( 'groups_group_after_save', array( &$this ) ); … … 412 412 * @since 1.2.0 413 413 * 414 * @param BP_Groups_Group $ thisCurrent instance of the group item being deleted. Passed by reference.414 * @param BP_Groups_Group $group Current instance of the group item being deleted. Passed by reference. 415 415 * @param array $user_ids Array of user IDs that were members of the group. 416 416 */ -
trunk/src/bp-groups/classes/class-bp-groups-invite-template.php
r13108 r13372 202 202 * 203 203 * @since 1.1.0 204 * @since 2.3.0 `$t his` parameter added.204 * @since 2.3.0 `$template_loop` parameter added. 205 205 * @since 2.7.0 Action renamed from `loop_start`. 206 206 * 207 * @param BP_Groups_Invite_Template $t hisInstance of the current Invites template.207 * @param BP_Groups_Invite_Template $template_loop Instance of the current Invites template. 208 208 */ 209 209 do_action( 'group_invitation_loop_end', $this ); … … 304 304 * 305 305 * @since 1.1.0 306 * @since 2.3.0 `$t his` parameter added.306 * @since 2.3.0 `$template_loop` parameter added. 307 307 * @since 2.7.0 Action renamed from `loop_start`. 308 308 * 309 * @param BP_Groups_Invite_Template $t hisInstance of the current Invites template.309 * @param BP_Groups_Invite_Template $template_loop Instance of the current Invites template. 310 310 */ 311 311 do_action( 'group_invitation_loop_start', $this ); -
trunk/src/bp-groups/classes/class-bp-groups-member-suggestions.php
r11760 r13372 55 55 * @since 2.1.0 56 56 * 57 * @param array $args Array of arguments for the suggestion service query.58 * @param BP_Groups_Member_Suggestions $ thisInstance of the current suggestion class.57 * @param array $args Array of arguments for the suggestion service query. 58 * @param BP_Groups_Member_Suggestions $suggestions Instance of the current suggestion class. 59 59 */ 60 $this->args 60 $this->args = apply_filters( 'bp_groups_member_suggestions_args', $this->args, $this ); 61 61 62 62 // Check for invalid or missing mandatory parameters. … … 77 77 * @since 2.1.0 78 78 * 79 * @param bool|WP_Error $value True if valid, WP_Error if not.80 * @param BP_Groups_Member_Suggestions $ thisInstance of the current suggestion class.79 * @param bool|WP_Error $value True if valid, WP_Error if not. 80 * @param BP_Groups_Member_Suggestions $suggestions Instance of the current suggestion class. 81 81 */ 82 82 return apply_filters( 'bp_groups_member_suggestions_validate_args', parent::validate(), $this ); … … 135 135 * @since 2.1.0 136 136 * 137 * @param array $user_query Array of arguments for the query.138 * @param BP_Groups_Member_Suggestions $ thisInstance of the current suggestion class.137 * @param array $user_query Array of arguments for the query. 138 * @param BP_Groups_Member_Suggestions $suggestions Instance of the current suggestion class. 139 139 */ 140 140 $user_query = apply_filters( 'bp_groups_member_suggestions_query_args', $user_query, $this ); … … 166 166 * @since 2.1.0 167 167 * 168 * @param array $results Array of member suggestions.169 * @param BP_Groups_Member_Suggestions $ thisInstance of the current suggestion class.168 * @param array $results Array of member suggestions. 169 * @param BP_Groups_Member_Suggestions $suggestions Instance of the current suggestion class. 170 170 */ 171 171 return apply_filters( 'bp_groups_member_suggestions_get_suggestions', $results, $this ); -
trunk/src/bp-groups/classes/class-bp-groups-member.php
r13280 r13372 282 282 * @since 1.0.0 283 283 * 284 * @param BP_Groups_Member $ thisCurrent instance of the group membership item being saved. Passed by reference.284 * @param BP_Groups_Member $group_membership Current instance of the group membership item being saved. Passed by reference. 285 285 */ 286 286 do_action_ref_array( 'groups_member_before_save', array( &$this ) ); … … 317 317 * @since 1.0.0 318 318 * 319 * @param BP_Groups_Member $ thisCurrent 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. 320 320 */ 321 321 do_action_ref_array( 'groups_member_after_save', array( &$this ) ); … … 432 432 * @since 2.3.0 433 433 * 434 * @param BP_Groups_Member $ this Current group membership object.434 * @param BP_Groups_Member $group_membership Current group membership class. 435 435 */ 436 436 do_action_ref_array( 'groups_member_before_remove', array( $this ) ); … … 450 450 * @since 2.3.0 451 451 * 452 * @param BP_Groups_Member $ thisCurrent group membership object.452 * @param BP_Groups_Member $member Current group membership object. 453 453 */ 454 454 do_action_ref_array( 'groups_member_after_remove', array( $this ) ); -
trunk/src/bp-messages/classes/class-bp-messages-message.php
r13312 r13372 128 128 * @since 1.0.0 129 129 * 130 * @param BP_Messages_Message $ thisCurrent 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. 131 131 */ 132 132 do_action_ref_array( 'messages_message_before_save', array( &$this ) ); … … 177 177 * @since 1.0.0 178 178 * 179 * @param BP_Messages_Message $ thisCurrent 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. 180 180 */ 181 181 do_action_ref_array( 'messages_message_after_save', array( &$this ) ); -
trunk/src/bp-messages/classes/class-bp-messages-notice.php
r13108 r13372 119 119 * @since 1.0.0 120 120 * 121 * @param BP_Messages_Notice $ thisCurrent 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. 122 122 */ 123 123 do_action_ref_array( 'messages_notice_before_save', array( &$this ) ); … … 147 147 * @since 1.0.0 148 148 * 149 * @param BP_Messages_Notice $ thisCurrent 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. 150 150 */ 151 151 do_action_ref_array( 'messages_notice_after_save', array( &$this ) ); … … 196 196 * @since 1.0.0 197 197 * 198 * @param BP_Messages_Notice $ thisCurrent instance of the message notice item being deleted.198 * @param BP_Messages_Notice $notice Current instance of the message notice item being deleted. 199 199 */ 200 200 do_action( 'messages_notice_before_delete', $this ); … … 212 212 * @since 2.8.0 213 213 * 214 * @param BP_Messages_Notice $ thisCurrent instance of the message notice item being deleted.214 * @param BP_Messages_Notice $notice Current instance of the message notice item being deleted. 215 215 */ 216 216 do_action( 'messages_notice_after_delete', $this ); -
trunk/src/bp-messages/classes/class-bp-messages-thread.php
r13339 r13372 215 215 * @since 10.0.0 Added `$r` as a parameter. 216 216 * 217 * @param BP_Messages_Thread $th is Message thread object.218 * @param array $r Array of paremeters.217 * @param BP_Messages_Thread $thread Current messages thread class. 218 * @param array $r Array of paremeters. 219 219 */ 220 220 do_action( 'bp_messages_thread_post_populate', $this, $r ); -
trunk/src/bp-templates/bp-legacy/buddypress-functions.php
r13344 r13372 198 198 * @since 1.7.0 199 199 * 200 * @param BP_Legacy $t his Current BP_Legacyinstance.200 * @param BP_Legacy $template_pack Current Template Pack instance. 201 201 */ 202 202 do_action_ref_array( 'bp_theme_compat_actions', array( &$this ) ); -
trunk/src/bp-templates/bp-nouveau/buddypress-functions.php
r13306 r13372 129 129 * @since 3.0.0 130 130 * 131 * @param BP_Nouveau $ value Current BP_Nouveauinstance.131 * @param BP_Nouveau $template_pack Current Template Pack instance. 132 132 */ 133 133 do_action_ref_array( 'bp_nouveau_includes', array( &$this ) ); … … 235 235 * @since 3.0.0 236 236 * 237 * @param BP_Nouveau $t his Current BP_Nouveauinstance.237 * @param BP_Nouveau $template_pack Current Template Pack instance. 238 238 */ 239 239 do_action_ref_array( 'bp_theme_compat_actions', array( &$this ) ); -
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-checkbox-acceptance.php
r13108 r13372 65 65 * @since 8.0.0 66 66 * 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 $field_type Current instance of the field type class. 68 68 */ 69 69 do_action( 'bp_xprofile_field_type_checkbox_acceptance', $this ); -
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-checkbox.php
r11618 r13372 40 40 * @since 2.0.0 41 41 * 42 * @param BP_XProfile_Field_Type_Checkbox $this Current instance of 43 * the field type checkbox. 42 * @param BP_XProfile_Field_Type_Checkbox $field_type Current instance of the field type class. 44 43 */ 45 44 do_action( 'bp_xprofile_field_type_checkbox', $this ); -
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php
r13108 r13372 38 38 * @since 2.0.0 39 39 * 40 * @param BP_XProfile_Field_Type_Datebox $this Current instance of 41 * the field type datebox. 40 * @param BP_XProfile_Field_Type_Datebox $field_type Current instance of the field type class. 42 41 */ 43 42 do_action( 'bp_xprofile_field_type_datebox', $this ); -
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-multiselectbox.php
r13164 r13372 40 40 * @since 2.0.0 41 41 * 42 * @param BP_XProfile_Field_Type_Multiselectbox $this Current instance of 43 * the field type multiple select box. 42 * @param BP_XProfile_Field_Type_Multiselectbox $field_type Current instance of the field type class. 44 43 */ 45 44 do_action( 'bp_xprofile_field_type_multiselectbox', $this ); -
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-number.php
r13108 r13372 36 36 * @since 2.0.0 37 37 * 38 * @param BP_XProfile_Field_Type_Number $this Current instance of 39 * the field type number. 38 * @param BP_XProfile_Field_Type_Number $field_type Current instance of the field type class. 40 39 */ 41 40 do_action( 'bp_xprofile_field_type_number', $this ); -
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-radiobutton.php
r13164 r13372 38 38 * @since 2.0.0 39 39 * 40 * @param BP_XProfile_Field_Type_Radiobutton $this Current instance of 41 * the field type radio button. 40 * @param BP_XProfile_Field_Type_Radiobutton $field_type Current instance of the field type class. 42 41 */ 43 42 do_action( 'bp_xprofile_field_type_radiobutton', $this ); -
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-selectbox.php
r11645 r13372 38 38 * @since 2.0.0 39 39 * 40 * @param BP_XProfile_Field_Type_Selectbox $this Current instance of 41 * the field type select box. 40 * @param BP_XProfile_Field_Type_Selectbox $field_type Current instance of the field type class. 42 41 */ 43 42 do_action( 'bp_xprofile_field_type_selectbox', $this ); -
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-telephone.php
r13108 r13372 36 36 * @since 3.0.0 37 37 * 38 * @param BP_XProfile_Field_Type_Telephone $ this Current instance of the field type.38 * @param BP_XProfile_Field_Type_Telephone $field_type Current instance of the field type class. 39 39 */ 40 40 do_action( 'bp_xprofile_field_type_telephone', $this ); -
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-textarea.php
r13108 r13372 37 37 * @since 2.0.0 38 38 * 39 * @param BP_XProfile_Field_Type_Textarea $this Current instance of 40 * the field type textarea. 39 * @param BP_XProfile_Field_Type_Textarea $field_type Current instance of the field type class. 41 40 */ 42 41 do_action( 'bp_xprofile_field_type_textarea', $this ); -
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-textbox.php
r13108 r13372 36 36 * @since 2.0.0 37 37 * 38 * @param BP_XProfile_Field_Type_Textbox $this Current instance of 39 * the field type text box. 38 * @param BP_XProfile_Field_Type_Textbox $field_type Current instance of the field type class. 40 39 */ 41 40 do_action( 'bp_xprofile_field_type_textbox', $this ); -
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-url.php
r13108 r13372 46 46 * @since 2.0.0 47 47 * 48 * @param BP_XProfile_Field_Type_URL $this Current instance of 49 * the field type URL. 48 * @param BP_XProfile_Field_Type_URL $field_type Current instance of the field type class. 50 49 */ 51 50 do_action( 'bp_xprofile_field_type_url', $this ); -
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-wordpress-biography.php
r13108 r13372 38 38 * @since 8.0.0 39 39 * 40 * @param BP_XProfile_Field_Type_WordPress_Biography $ this Instance of the field type object.40 * @param BP_XProfile_Field_Type_WordPress_Biography $field_type Current instance of the field type class. 41 41 */ 42 42 do_action( 'bp_xprofile_field_type_wordpress_biography', $this ); -
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-wordpress-textbox.php
r13108 r13372 39 39 * @since 8.0.0 40 40 * 41 * @param BP_XProfile_Field_Type_WordPress_Textbox $ this Instance of the field type object.41 * @param BP_XProfile_Field_Type_WordPress_Textbox $field_type Current instance of the field type class. 42 42 */ 43 43 do_action( 'bp_xprofile_field_type_wordpress_textbox', $this ); -
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type-wordpress.php
r12885 r13372 73 73 * @since 8.0.0 74 74 * 75 * @param BP_XProfile_Field_Type_WordPress $ this Instance of the field type object.75 * @param BP_XProfile_Field_Type_WordPress $field_type Current instance of the field type class. 76 76 */ 77 77 do_action( 'bp_xprofile_field_type_wordpress', $this ); -
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type.php
r13108 r13372 111 111 * @since 2.0.0 112 112 * 113 * @param BP_XProfile_Field_Type $this Current instance of 114 * the field type class. 113 * @param BP_XProfile_Field_Type $field_type Current instance of the field type class. 115 114 */ 116 115 do_action( 'bp_xprofile_field_type', $this ); … … 140 139 * @param string $replace_format Optional replace format If "replace", replaces the 141 140 * 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.141 * @param BP_XProfile_Field_Type $field_type Current instance of the field type class. 143 142 */ 144 143 $format = apply_filters( 'bp_xprofile_field_type_set_format', $format, $replace_format, $this ); … … 187 186 * @deprecated 7.0.0 Use 'bp_xprofile_field_type_set_allowed_values' instead. 188 187 * 189 * @param string $value Field value.190 * @param array $values Original array of values.191 * @param BP_XProfile_Field_Type $ this Current instance of the BP_XProfile_Field_Type class.188 * @param string $value Field value. 189 * @param array $values Original array of values. 190 * @param BP_XProfile_Field_Type $field_type Current instance of the field type class. 192 191 */ 193 192 $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' ); … … 198 197 * @since 7.0.0 199 198 * 200 * @param string $value Field value.201 * @param array $values Original array of values.202 * @param BP_XProfile_Field_Type $ this Current instance of the BP_XProfile_Field_Type class.199 * @param string $value Field value. 200 * @param array $values Original array of values. 201 * @param BP_XProfile_Field_Type $field_type Current instance of the field type class. 203 202 */ 204 203 $this->validation_allowed_values[] = apply_filters( 'bp_xprofile_field_type_set_allowed_values', $value, $values, $this ); … … 256 255 * @since 2.0.0 257 256 * 258 * @param bool $validated Whether or not the field type is valid.259 * @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.257 * @param bool $validated Whether or not the field type is valid. 258 * @param string|array $values Value to check against the registered formats. 259 * @param BP_XProfile_Field_Type $field_type Current instance of the field type class. 261 260 */ 262 261 return (bool) apply_filters( 'bp_xprofile_field_type_is_valid', $validated, $values, $this ); -
trunk/src/bp-xprofile/classes/class-bp-xprofile-field.php
r13231 r13372 197 197 * @since 8.0.0 198 198 * 199 * @param BP_XProfile_Field $ thisThe xProfile field object.199 * @param BP_XProfile_Field $field The xProfile field object. 200 200 */ 201 201 do_action( 'bp_xprofile_field', $this ); … … 367 367 * @since 3.0.0 368 368 * 369 * @param BP_XProfile_Field $ thisCurrent 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. 370 370 * @param bool $delete_data Whether or not to delete data. 371 371 */ … … 392 392 * @since 3.0.0 393 393 * 394 * @param BP_XProfile_Field $ thisCurrent 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. 395 395 * @param bool $delete_data Whether or not to delete data. 396 396 */ … … 433 433 * @since 1.0.0 434 434 * 435 * @param BP_XProfile_Field $ thisCurrent instance of the field being saved.435 * @param BP_XProfile_Field $field Current instance of the field being saved. 436 436 */ 437 437 do_action_ref_array( 'xprofile_field_before_save', array( $this ) ); … … 484 484 * @since 1.5.0 485 485 * 486 * @param string 487 * @param BP_XProfile_Field$type Current field type being saved for.486 * @param string $post_option Submitted option value. 487 * @param string $type Current field type being saved for. 488 488 */ 489 $options = apply_filters( 'xprofile_field_options_before_save', $post_option,$this->type );489 $options = apply_filters( 'xprofile_field_options_before_save', $post_option, $this->type ); 490 490 491 491 /** … … 494 494 * @since 1.5.0 495 495 * 496 * @param string 497 * @param BP_XProfile_Field$type Current field type being saved for.496 * @param string $post_default Default option value. 497 * @param string $type Current field type being saved for. 498 498 */ 499 $defaults 499 $defaults = apply_filters( 'xprofile_field_default_before_save', $post_default, $this->type ); 500 500 501 501 $counter = 1; … … 531 531 * @since 1.0.0 532 532 * 533 * @param BP_XProfile_Field $ thisCurrent instance of the field being saved.533 * @param BP_XProfile_Field $field Current instance of the field being saved. 534 534 */ 535 535 do_action_ref_array( 'xprofile_field_after_save', array( $this ) ); … … 594 594 * 595 595 * @since 1.2.5 596 * @since 3.0.0 Added the `$ this` parameter.596 * @since 3.0.0 Added the `$field_object` parameter. 597 597 * 598 598 * @param array $children Found children for a field. … … 740 740 * @since 2.4.0 741 741 * 742 * @param BP_XProfile_Field $ this Field object.742 * @param BP_XProfile_Field $field Current instance of the field. 743 743 */ 744 744 do_action( 'bp_xprofile_field_set_member_type', $this ); … … 910 910 * 911 911 * @param bool $do_autolink The autolink property of the field. 912 * @param BP_XProfile_Field $ this Field object.912 * @param BP_XProfile_Field $field Current instance of the field. 913 913 */ 914 914 return apply_filters( 'bp_xprofile_field_do_autolink', $this->do_autolink, $this ); … … 1318 1318 * @since 2.2.0 1319 1319 * 1320 * @param BP_XProfile_Field $ this Current XProfile field.1320 * @param BP_XProfile_Field $field Current instance of the field. 1321 1321 */ 1322 1322 do_action( 'xprofile_field_after_sidebarbox', $this ); ?> … … 1333 1333 * @since 2.3.0 1334 1334 * 1335 * @param BP_XProfile_Field $ this Current XProfile field.1335 * @param BP_XProfile_Field $field Current instance of the field. 1336 1336 */ 1337 1337 do_action( 'xprofile_field_before_contentbox', $this ); … … 1348 1348 * @since 2.2.0 1349 1349 * 1350 * @param BP_XProfile_Field $ this Current XProfile field.1350 * @param BP_XProfile_Field $field Current instance of the field. 1351 1351 */ 1352 1352 do_action( 'xprofile_field_after_contentbox', $this ); ?> … … 1437 1437 * @since 2.1.0 1438 1438 * 1439 * @param BP_XProfile_Field $ this Current XProfile field.1439 * @param BP_XProfile_Field $field Current instance of the field. 1440 1440 */ 1441 1441 do_action( 'xprofile_field_before_submitbox', $this ); ?> … … 1454 1454 * @since 2.1.0 1455 1455 * 1456 * @param BP_XProfile_Field $ this Current XProfile field.1456 * @param BP_XProfile_Field $field Current instance of the field. 1457 1457 */ 1458 1458 do_action( 'xprofile_field_submitbox_start', $this ); ?> … … 1491 1491 * @since 2.1.0 1492 1492 * 1493 * @param BP_XProfile_Field $ this Current XProfile field.1493 * @param BP_XProfile_Field $field Current instance of the field. 1494 1494 */ 1495 1495 do_action( 'xprofile_field_after_submitbox', $this ); -
trunk/src/bp-xprofile/classes/class-bp-xprofile-group.php
r13358 r13372 135 135 * @since 1.0.0 136 136 * 137 * @param BP_XProfile_Group $ this Current instance of thegroup being saved. Passed by reference.137 * @param BP_XProfile_Group $field_group Current instance of the field group being saved. Passed by reference. 138 138 */ 139 139 do_action_ref_array( 'xprofile_group_before_save', array( &$this ) ); … … 166 166 * @since 1.0.0 167 167 * 168 * @param BP_XProfile_Group $ this Current instance of thegroup being saved. Passed by reference.168 * @param BP_XProfile_Group $field_group Current instance of the field group being saved. Passed by reference. 169 169 */ 170 170 do_action_ref_array( 'xprofile_group_after_save', array( &$this ) ); … … 195 195 * @since 2.0.0 196 196 * 197 * @param BP_XProfile_Group $ this Current instance of thegroup being deleted. Passed by reference.197 * @param BP_XProfile_Group $field_group Current instance of the field group being deleted. Passed by reference. 198 198 */ 199 199 do_action_ref_array( 'xprofile_group_before_delete', array( &$this ) ); … … 224 224 * @since 2.0.0 225 225 * 226 * @param BP_XProfile_Group $ this Current instance of thegroup being deleted. Passed by reference.226 * @param BP_XProfile_Group $field_group Current instance of the field group being deleted. Passed by reference. 227 227 */ 228 228 do_action_ref_array( 'xprofile_group_after_delete', array( &$this ) ); … … 911 911 * @since 2.6.0 912 912 * 913 * @param BP_XProfile_Group $ this Current XProfilegroup.913 * @param BP_XProfile_Group $field_group Current instance of the field group. 914 914 */ 915 915 do_action( 'xprofile_group_admin_after_description', $this ); ?> … … 926 926 * @since 2.1.0 927 927 * 928 * @param BP_XProfile_Group $ this Current XProfilegroup.928 * @param BP_XProfile_Group $field_group Current instance of the field group. 929 929 */ 930 930 do_action( 'xprofile_group_before_submitbox', $this ); ?> … … 946 946 * @since 2.1.0 947 947 * 948 * @param BP_XProfile_Group $ this Current XProfilegroup.948 * @param BP_XProfile_Group $field_group Current instance of the field group. 949 949 */ 950 950 do_action( 'xprofile_group_submitbox_start', $this ); ?> … … 974 974 * @since 2.1.0 975 975 * 976 * @param BP_XProfile_Group $ this Current XProfilegroup.976 * @param BP_XProfile_Group $field_group Current instance of the field group. 977 977 */ 978 978 do_action( 'xprofile_group_after_submitbox', $this ); ?> -
trunk/src/bp-xprofile/classes/class-bp-xprofile-profiledata.php
r12888 r13372 131 131 $retval = true; 132 132 } else { 133 $bp = buddypress();133 $bp = buddypress(); 134 134 $retval = $wpdb->get_row( $wpdb->prepare( "SELECT id FROM {$bp->profile->table_name_data} WHERE user_id = %d AND field_id = %d", $this->user_id, $this->field_id ) ); 135 135 } … … 140 140 * @since 1.2.7 141 141 * 142 * @param bool $retval Whether or not data already exists.143 * @param BP_XProfile_ProfileData $ thisInstance of the current BP_XProfile_ProfileData class.142 * @param bool $retval Whether or not data already exists. 143 * @param BP_XProfile_ProfileData $profile_data Instance of the current BP_XProfile_ProfileData class. 144 144 */ 145 145 return apply_filters_ref_array( 'xprofile_data_exists', array( (bool)$retval, $this ) ); … … 158 158 global $wpdb; 159 159 160 $bp = buddypress(); 161 160 $bp = buddypress(); 162 161 $retval = $wpdb->get_row( $wpdb->prepare( "SELECT id FROM {$bp->profile->table_name_fields} WHERE id = %d", $this->field_id ) ); 163 162 … … 167 166 * @since 1.2.7 168 167 * 169 * @param bool $retval Whether or not data is valid.170 * @param BP_XProfile_ProfileData $ thisInstance of the current BP_XProfile_ProfileData class.168 * @param bool $retval Whether or not data is valid. 169 * @param BP_XProfile_ProfileData $profile_data Instance of the current BP_XProfile_ProfileData class. 171 170 */ 172 171 return apply_filters_ref_array( 'xprofile_data_is_valid_field', array( (bool)$retval, $this ) ); … … 211 210 * @since 2.1.0 Added `$reserialize` and `$this` parameters. 212 211 * 213 * @param string $field_value The field value.214 * @param int $data_id The field data ID.215 * @param bool $reserialize Whether to reserialize arrays before returning. Defaults to true.216 * @param BP_XProfile_ProfileData $ thisCurrent instance of the profile data being saved.212 * @param string $field_value The field value. 213 * @param int $data_id The field data ID. 214 * @param bool $reserialize Whether to reserialize arrays before returning. Defaults to true. 215 * @param BP_XProfile_ProfileData $profile_data Current instance of the profile data being saved. 217 216 */ 218 217 $this->value = apply_filters( 'xprofile_data_value_before_save', $this->value, $this->id, true, $this ); … … 235 234 * @since 1.0.0 236 235 * 237 * @param BP_XProfile_ProfileData $ thisCurrent instance of the profile data being saved.236 * @param BP_XProfile_ProfileData $profile_data Current instance of the profile data being saved. 238 237 */ 239 238 do_action_ref_array( 'xprofile_data_before_save', array( $this ) ); … … 261 260 * @since 1.0.0 262 261 * 263 * @param BP_XProfile_ProfileData $ thisCurrent instance of the profile data being saved.262 * @param BP_XProfile_ProfileData $profile_data Current instance of the profile data being saved. 264 263 */ 265 264 do_action_ref_array( 'xprofile_data_after_save', array( $this ) ); … … 290 289 * @since 1.9.0 291 290 * 292 * @param BP_XProfile_ProfileData $ thisCurrent instance of the profile data being deleted.291 * @param BP_XProfile_ProfileData $profile_data Current instance of the profile data being deleted. 293 292 */ 294 293 do_action_ref_array( 'xprofile_data_before_delete', array( $this ) ); … … 304 303 * @since 1.9.0 305 304 * 306 * @param BP_XProfile_ProfileData $ thisCurrent instance of the profile data being deleted.305 * @param BP_XProfile_ProfileData $profile_data Current instance of the profile data being deleted. 307 306 */ 308 307 do_action_ref_array( 'xprofile_data_after_delete', array( $this ) );
Note: See TracChangeset
for help on using the changeset viewer.