Ticket #8890: 8890.2.patch
| File 8890.2.patch, 5.2 KB (added by , 3 years ago) |
|---|
-
src/bp-xprofile/bp-xprofile-filters.php
563 563 * Filter meta queries to modify for the xprofile data schema. 564 564 * 565 565 * @since 2.0.0 566 * 567 * @global wpdb $wpdb WordPress database object. 566 568 * 567 569 * @access private Do not use. 568 570 * -
src/bp-xprofile/bp-xprofile-functions.php
762 762 * When search_terms are passed to BP_User_Query, search against xprofile fields. 763 763 * 764 764 * @since 2.0.0 765 * 766 * @global wpdb $wpdb WordPress database object. 765 767 * 766 768 * @param array $sql Clauses in the user_id SQL query. 767 769 * @param BP_User_Query $query User query object. … … 960 962 * Delete a piece of xprofile metadata. 961 963 * 962 964 * @since 1.5.0 965 * 966 * @global wpdb $wpdb WordPress database object. 963 967 * 964 968 * @param int $object_id ID of the object the metadata belongs to. 965 969 * @param string $object_type Type of object. 'group', 'field', or 'data'. … … 1141 1145 * Return the field ID for the Full Name xprofile field. 1142 1146 * 1143 1147 * @since 2.0.0 1148 * 1149 * @global wpdb $wpdb WordPress database object. 1144 1150 * 1145 1151 * @return int Field ID. 1146 1152 */ … … 1470 1476 * Returns the signup field IDs. 1471 1477 * 1472 1478 * @since 8.0.0 1479 * 1480 * @global wpdb $wpdb WordPress database object. 1473 1481 * 1474 1482 * @return int[] The signup field IDs. 1475 1483 */ -
src/bp-xprofile/bp-xprofile-template.php
97 97 * Start off the profile groups. 98 98 * 99 99 * @since 1.0.0 100 * 101 * @global object $profile_template 100 102 * 101 103 * @return mixed 102 104 */ … … 109 111 * Set up the profile groups. 110 112 * 111 113 * @since 1.0.0 114 * 115 * @global object $profile_template 112 116 * 113 117 * @return mixed 114 118 */ … … 121 125 * Whether or not the group has fields to display. 122 126 * 123 127 * @since 1.0.0 128 * 129 * @global object $profile_template 124 130 * 125 131 * @return mixed 126 132 */ … … 146 152 * Return the class attribute for a field. 147 153 * 148 154 * @since 1.1.0 155 * 156 * @global object $profile_template 149 157 * 150 158 * @param string|bool $class Extra classes to append to class attribute. 151 159 * @return string … … 450 458 * Generate a comma-separated list of field IDs that are to be submitted on profile edit. 451 459 * 452 460 * @since 2.1.0 461 * 462 * @global object $profile_template 453 463 * 454 464 * @return string 455 465 */ … … 479 489 * Return the XProfile fields. 480 490 * 481 491 * @since 1.0.0 492 * 493 * @global object $profile_template 482 494 * 483 495 * @return mixed 484 496 */ … … 491 503 * Sets up the XProfile field. 492 504 * 493 505 * @since 1.0.0 506 * 507 * @global object $profile_template 494 508 * 495 509 * @return mixed 496 510 */ -
src/bp-xprofile/classes/class-bp-xprofile-data-template.php
301 301 * Sets up the profile group. 302 302 * 303 303 * @since 1.0.0 304 * 305 * @global $group. 306 * 304 307 */ 305 308 public function the_profile_group() { 306 309 global $group; … … 392 395 * Set up the profile fields. 393 396 * 394 397 * @since 1.0.0 398 * 399 * @global $field. 400 * 395 401 */ 396 402 public function the_profile_field() { 397 403 global $field; -
src/bp-xprofile/classes/class-bp-xprofile-field-type-wordpress.php
155 155 * to include the WordPress field value into the xProfile fields loop. 156 156 * 157 157 * @since 8.0.0 158 * 159 * @global wpdb $wpdb WordPress database object. 158 160 * 159 161 * @param integer $user_id The user ID. 160 162 * @param integer $field_id The xProfile field ID. -
src/bp-xprofile/classes/class-bp-xprofile-field.php
254 254 * 255 255 * @since 2.4.0 256 256 * @since 2.8.0 Added `$user_id` and `$get_data` parameters. 257 * 258 * @global wpdb $wpdb WordPress database object. 257 259 * 258 260 * @static 259 261 * … … 926 928 927 929 /** 928 930 * Get the type for provided field ID. 931 * 932 * @global wpdb $wpdb WordPress database object. 929 933 * 930 934 * @param int $field_id Field ID to get type of. 931 935 * @return bool|null|string … … 1058 1062 * Gets the IDs of fields applicable for a given member type or array of member types. 1059 1063 * 1060 1064 * @since 2.4.0 1065 * 1066 * global wpdb $wpdb WordPress database object. 1061 1067 * 1062 1068 * @param string|array $member_types Member type or array of member types. Use 'any' to return unrestricted 1063 1069 * fields (those available for anyone, regardless of member type).