Changeset 11035
- Timestamp:
- 08/24/2016 12:22:22 PM (8 years ago)
- Location:
- trunk/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-template.php
r11008 r11035 1541 1541 * @global object $activities_template {@link BP_Activity_Template} 1542 1542 * 1543 * @param object|bool$activity Optional. Falls back on the current item in the loop.1543 * @param BP_Activity_Activity $activity Optional. Falls back on the current item in the loop. 1544 1544 * @return bool True if can delete, false otherwise. 1545 1545 */ -
trunk/src/bp-groups/bp-groups-template.php
r11034 r11035 267 267 * @since 1.0.0 268 268 * 269 * @param object|bool$group Optional. Group object. Default: current group in loop.269 * @param BP_Groups_Group $group Optional. Group object. Default: current group in loop. 270 270 * @return bool 271 271 */ 272 function bp_group_is_visible( $group = false) {272 function bp_group_is_visible( $group = null ) { 273 273 global $groups_template; 274 274 … … 752 752 * @since 1.0.0 753 753 * 754 * @param object|bool $group Optional. Group object. 755 * Default: current group in loop. 756 */ 757 function bp_group_permalink( $group = false ) { 754 * @param BP_Groups_Group $group Optional. Group object. Default: current group in loop. 755 */ 756 function bp_group_permalink( $group = null ) { 758 757 echo bp_get_group_permalink( $group ); 759 758 } … … 763 762 * @since 1.0.0 764 763 * 765 * @param object|bool $group Optional. Group object. 766 * Default: current group in loop. 764 * @param BP_Groups_Group $group Optional. Group object. Default: current group in loop. 767 765 * @return string 768 766 */ 769 function bp_get_group_permalink( $group = false) {767 function bp_get_group_permalink( $group = null ) { 770 768 global $groups_template; 771 769 … … 1243 1241 * @since 1.7.0 1244 1242 * 1245 * @param object|bool $group Optional. Group object. 1246 * Default: current group in loop. 1247 * @param int $user_id ID of the user. 1243 * @param BP_Groups_Group $group Optional. Group object. Default: current group in loop. 1244 * @param int $user_id ID of the user. 1248 1245 * @return bool 1249 1246 */ 1250 function bp_is_group_creator( $group = false, $user_id = 0 ) {1247 function bp_is_group_creator( $group = null, $user_id = 0 ) { 1251 1248 global $groups_template; 1252 1249 … … 3226 3223 * 3227 3224 * @param object|bool $group Single group object. 3228 * @return mixed3225 * @return false|string 3229 3226 */ 3230 3227 function bp_get_group_join_button( $group = false ) { … … 4956 4953 * 4957 4954 * @param array $args Array of arguments for friends list output. 4958 * @return mixedHTML list of checkboxes, or false4955 * @return false|string HTML list of checkboxes, or false 4959 4956 */ 4960 4957 function bp_get_new_group_invite_friend_list( $args = array() ) { -
trunk/src/bp-xprofile/bp-xprofile-admin.php
r10882 r11035 549 549 * @since 1.5.0 550 550 * 551 * @param object$admin_field Admin field.551 * @param BP_XProfile_Field $admin_field Admin field. 552 552 * @param object $admin_group Admin group object. 553 553 * @param string $class Classes to append to output. -
trunk/src/bp-xprofile/bp-xprofile-functions.php
r10857 r11035 965 965 * @param string $object_type Type of object. 'group', 'field', or 'data'. 966 966 * @param string $meta_key Key of the metadata being updated. 967 * @param mixed$meta_value Value of the metadata being updated.967 * @param string $meta_value Value of the metadata being updated. 968 968 * @param mixed $prev_value Optional. If specified, only update existing 969 969 * metadata entries with the specified value. -
trunk/src/bp-xprofile/classes/class-bp-xprofile-field.php
r11030 r11035 505 505 * 506 506 * @param int $user_id ID of the user to get field data for. 507 * @return object507 * @return BP_XProfile_ProfileData 508 508 */ 509 509 public function get_field_data( $user_id = 0 ) {
Note: See TracChangeset
for help on using the changeset viewer.