BuddyPress - Version 4.4.0

Version Description

See: https://codex.buddypress.org/releases/version-4-4-0/

Download this release

Release Info

Developer imath
Plugin Icon 128x128 BuddyPress
Version 4.4.0
Comparing to
See all releases

Code changes from version 4.3.0 to 4.4.0

bp-activity/bp-activity-filters.php CHANGED
@@ -13,7 +13,6 @@ defined( 'ABSPATH' ) || exit;
13
/* Filters *******************************************************************/
14
15
// Apply WordPress defined filters.
16
- add_filter( 'bp_get_activity_action', 'bp_activity_filter_kses', 1 );
17
add_filter( 'bp_get_activity_content_body', 'bp_activity_filter_kses', 1 );
18
add_filter( 'bp_get_activity_parent_content', 'bp_activity_filter_kses', 1 );
19
add_filter( 'bp_get_activity_latest_update', 'bp_activity_filter_kses', 1 );
13
/* Filters *******************************************************************/
14
15
// Apply WordPress defined filters.
16
add_filter( 'bp_get_activity_content_body', 'bp_activity_filter_kses', 1 );
17
add_filter( 'bp_get_activity_parent_content', 'bp_activity_filter_kses', 1 );
18
add_filter( 'bp_get_activity_latest_update', 'bp_activity_filter_kses', 1 );
bp-activity/bp-activity-functions.php CHANGED
@@ -1523,7 +1523,7 @@ function bp_activity_generate_action_string( $activity ) {
1523
* @return string $action
1524
*/
1525
function bp_activity_format_activity_action_activity_update( $action, $activity ) {
1526
- $action = sprintf( __( '%s posted an update', 'buddypress' ), bp_core_get_userlink( $activity->user_id ) );
1527
1528
/**
1529
* Filters the formatted activity action update string.
@@ -1546,7 +1546,7 @@ function bp_activity_format_activity_action_activity_update( $action, $activity
1546
* @return string $action
1547
*/
1548
function bp_activity_format_activity_action_activity_comment( $action, $activity ) {
1549
- $action = sprintf( __( '%s posted a new activity comment', 'buddypress' ), bp_core_get_userlink( $activity->user_id ) );
1550
1551
/**
1552
* Filters the formatted activity action comment string.
@@ -1589,19 +1589,22 @@ function bp_activity_format_activity_action_custom_post_type_post( $action, $act
1589
$post_url = $activity->post_url;
1590
}
1591
1592
if ( is_multisite() ) {
1593
- $blog_link = '<a href="' . esc_url( $blog_url ) . '">' . get_blog_option( $activity->item_id, 'blogname' ) . '</a>';
1594
1595
if ( ! empty( $bp->activity->track[ $activity->type ]->new_post_type_action_ms ) ) {
1596
- $action = sprintf( $bp->activity->track[ $activity->type ]->new_post_type_action_ms, $user_link, $post_url, $blog_link );
1597
} else {
1598
- $action = sprintf( _x( '%1$s wrote a new <a href="%2$s">item</a>, on the site %3$s', 'Activity Custom Post Type post action', 'buddypress' ), $user_link, esc_url( $post_url ), $blog_link );
1599
}
1600
} else {
1601
if ( ! empty( $bp->activity->track[ $activity->type ]->new_post_type_action ) ) {
1602
$action = sprintf( $bp->activity->track[ $activity->type ]->new_post_type_action, $user_link, $post_url );
1603
} else {
1604
- $action = sprintf( _x( '%1$s wrote a new <a href="%2$s">item</a>', 'Activity Custom Post Type post action', 'buddypress' ), $user_link, esc_url( $post_url ) );
1605
}
1606
}
1607
@@ -1639,6 +1642,7 @@ function bp_activity_format_activity_action_custom_post_type_comment( $action, $
1639
}
1640
1641
$user_link = bp_core_get_userlink( $activity->user_id );
1642
1643
if ( is_multisite() ) {
1644
$blog_link = '<a href="' . esc_url( get_home_url( $activity->item_id ) ) . '">' . get_blog_option( $activity->item_id, 'blogname' ) . '</a>';
@@ -1646,13 +1650,13 @@ function bp_activity_format_activity_action_custom_post_type_comment( $action, $
1646
if ( ! empty( $bp->activity->track[ $activity->type ]->new_post_type_comment_action_ms ) ) {
1647
$action = sprintf( $bp->activity->track[ $activity->type ]->new_post_type_comment_action_ms, $user_link, $activity->primary_link, $blog_link );
1648
} else {
1649
- $action = sprintf( _x( '%1$s commented on the <a href="%2$s">item</a>, on the site %3$s', 'Activity Custom Post Type comment action', 'buddypress' ), $user_link, $activity->primary_link, $blog_link );
1650
}
1651
} else {
1652
if ( ! empty( $bp->activity->track[ $activity->type ]->new_post_type_comment_action ) ) {
1653
$action = sprintf( $bp->activity->track[ $activity->type ]->new_post_type_comment_action, $user_link, $activity->primary_link );
1654
} else {
1655
- $action = sprintf( _x( '%1$s commented on the <a href="%2$s">item</a>', 'Activity Custom Post Type post comment action', 'buddypress' ), $user_link, $activity->primary_link );
1656
}
1657
}
1658
1523
* @return string $action
1524
*/
1525
function bp_activity_format_activity_action_activity_update( $action, $activity ) {
1526
+ $action = sprintf( esc_html__( '%s posted an update', 'buddypress' ), bp_core_get_userlink( $activity->user_id ) );
1527
1528
/**
1529
* Filters the formatted activity action update string.
1546
* @return string $action
1547
*/
1548
function bp_activity_format_activity_action_activity_comment( $action, $activity ) {
1549
+ $action = sprintf( esc_html__( '%s posted a new activity comment', 'buddypress' ), bp_core_get_userlink( $activity->user_id ) );
1550
1551
/**
1552
* Filters the formatted activity action comment string.
1589
$post_url = $activity->post_url;
1590
}
1591
1592
+ $post_link = '<a href="' . esc_url( $post_url ) . '">' . esc_html_x( 'item', 'Default text for the post type name', 'buddypress' ) . '</a>';
1593
+
1594
if ( is_multisite() ) {
1595
+ $blog_link = '<a href="' . esc_url( $blog_url ) . '">' . esc_html( get_blog_option( $activity->item_id, 'blogname' ) ) . '</a>';
1596
1597
if ( ! empty( $bp->activity->track[ $activity->type ]->new_post_type_action_ms ) ) {
1598
+ $action = sprintf( $bp->activity->track[ $activity->type ]->new_post_type_action_ms, $user_link, esc_url( $post_url ), $blog_link );
1599
} else {
1600
+
1601
+ $action = sprintf( esc_html_x( '%1$s wrote a new %2$s, on the site %3$s', 'Activity Custom Post Type post action', 'buddypress' ), $user_link, $post_link, $blog_link );
1602
}
1603
} else {
1604
if ( ! empty( $bp->activity->track[ $activity->type ]->new_post_type_action ) ) {
1605
$action = sprintf( $bp->activity->track[ $activity->type ]->new_post_type_action, $user_link, $post_url );
1606
} else {
1607
+ $action = sprintf( esc_html_x( '%1$s wrote a new %2$s', 'Activity Custom Post Type post action', 'buddypress' ), $user_link, $post_link );
1608
}
1609
}
1610
1642
}
1643
1644
$user_link = bp_core_get_userlink( $activity->user_id );
1645
+ $post_link = '<a href="' . esc_url( $activity->primary_link ) . '">' . esc_html_x( 'item', 'Default text for the post type name', 'buddypress' ) . '</a>';
1646
1647
if ( is_multisite() ) {
1648
$blog_link = '<a href="' . esc_url( get_home_url( $activity->item_id ) ) . '">' . get_blog_option( $activity->item_id, 'blogname' ) . '</a>';
1650
if ( ! empty( $bp->activity->track[ $activity->type ]->new_post_type_comment_action_ms ) ) {
1651
$action = sprintf( $bp->activity->track[ $activity->type ]->new_post_type_comment_action_ms, $user_link, $activity->primary_link, $blog_link );
1652
} else {
1653
+ $action = sprintf( esc_html_x( '%1$s commented on the %2$s, on the site %3$s', 'Activity Custom Post Type comment action', 'buddypress' ), $user_link, $post_link, $blog_link );
1654
}
1655
} else {
1656
if ( ! empty( $bp->activity->track[ $activity->type ]->new_post_type_comment_action ) ) {
1657
$action = sprintf( $bp->activity->track[ $activity->type ]->new_post_type_comment_action, $user_link, $activity->primary_link );
1658
} else {
1659
+ $action = sprintf( esc_html_x( '%1$s commented on the %2$s', 'Activity Custom Post Type post comment action', 'buddypress' ), $user_link, $post_link );
1660
}
1661
}
1662
bp-blogs/bp-blogs-activity.php CHANGED
@@ -127,7 +127,7 @@ function bp_blogs_format_activity_action_new_blog( $action, $activity ) {
127
$blog_url = bp_blogs_get_blogmeta( $activity->item_id, 'url' );
128
$blog_name = bp_blogs_get_blogmeta( $activity->item_id, 'name' );
129
130
- $action = sprintf( __( '%s created the site %s', 'buddypress' ), bp_core_get_userlink( $activity->user_id ), '<a href="' . esc_url( $blog_url ) . '">' . esc_html( $blog_name ) . '</a>' );
131
132
// Legacy filter - requires the BP_Blogs_Blog object.
133
if ( has_filter( 'bp_blogs_activity_created_blog_action' ) ) {
@@ -209,7 +209,7 @@ function bp_blogs_format_activity_action_new_blog_post( $action, $activity ) {
209
*/
210
if ( empty( $post_title ) ) {
211
// Defaults to no title.
212
- $post_title = esc_html__( '(no title)', 'buddypress' );
213
214
switch_to_blog( $activity->item_id );
215
@@ -230,15 +230,15 @@ function bp_blogs_format_activity_action_new_blog_post( $action, $activity ) {
230
}
231
232
// Build the 'post link' part of the activity action string.
233
- $post_link = '<a href="' . esc_url( $post_url ) . '">' . $post_title . '</a>';
234
235
$user_link = bp_core_get_userlink( $activity->user_id );
236
237
// Build the complete activity action string.
238
if ( is_multisite() ) {
239
- $action = sprintf( __( '%1$s wrote a new post, %2$s, on the site %3$s', 'buddypress' ), $user_link, $post_link, '<a href="' . esc_url( $blog_url ) . '">' . esc_html( $blog_name ) . '</a>' );
240
} else {
241
- $action = sprintf( __( '%1$s wrote a new post, %2$s', 'buddypress' ), $user_link, $post_link );
242
}
243
244
// Legacy filter - requires the post object.
@@ -358,13 +358,13 @@ function bp_blogs_format_activity_action_new_blog_comment( $action, $activity )
358
restore_current_blog();
359
}
360
361
- $post_link = '<a href="' . esc_url( $post_url ) . '">' . $post_title . '</a>';
362
$user_link = bp_core_get_userlink( $activity->user_id );
363
364
if ( is_multisite() ) {
365
- $action = sprintf( __( '%1$s commented on the post, %2$s, on the site %3$s', 'buddypress' ), $user_link, $post_link, '<a href="' . esc_url( $blog_url ) . '">' . esc_html( $blog_name ) . '</a>' );
366
} else {
367
- $action = sprintf( __( '%1$s commented on the post, %2$s', 'buddypress' ), $user_link, $post_link );
368
}
369
370
// Legacy filter - requires the comment object.
127
$blog_url = bp_blogs_get_blogmeta( $activity->item_id, 'url' );
128
$blog_name = bp_blogs_get_blogmeta( $activity->item_id, 'name' );
129
130
+ $action = sprintf( esc_html__( '%s created the site %s', 'buddypress' ), bp_core_get_userlink( $activity->user_id ), '<a href="' . esc_url( $blog_url ) . '">' . esc_html( $blog_name ) . '</a>' );
131
132
// Legacy filter - requires the BP_Blogs_Blog object.
133
if ( has_filter( 'bp_blogs_activity_created_blog_action' ) ) {
209
*/
210
if ( empty( $post_title ) ) {
211
// Defaults to no title.
212
+ $post_title = __( '(no title)', 'buddypress' );
213
214
switch_to_blog( $activity->item_id );
215
230
}
231
232
// Build the 'post link' part of the activity action string.
233
+ $post_link = '<a href="' . esc_url( $post_url ) . '">' . esc_html( $post_title ) . '</a>';
234
235
$user_link = bp_core_get_userlink( $activity->user_id );
236
237
// Build the complete activity action string.
238
if ( is_multisite() ) {
239
+ $action = sprintf( esc_html__( '%1$s wrote a new post, %2$s, on the site %3$s', 'buddypress' ), $user_link, $post_link, '<a href="' . esc_url( $blog_url ) . '">' . esc_html( $blog_name ) . '</a>' );
240
} else {
241
+ $action = sprintf( esc_html__( '%1$s wrote a new post, %2$s', 'buddypress' ), $user_link, $post_link );
242
}
243
244
// Legacy filter - requires the post object.
358
restore_current_blog();
359
}
360
361
+ $post_link = '<a href="' . esc_url( $post_url ) . '">' . esc_html( $post_title ) . '</a>';
362
$user_link = bp_core_get_userlink( $activity->user_id );
363
364
if ( is_multisite() ) {
365
+ $action = sprintf( esc_html__( '%1$s commented on the post, %2$s, on the site %3$s', 'buddypress' ), $user_link, $post_link, '<a href="' . esc_url( $blog_url ) . '">' . esc_html( $blog_name ) . '</a>' );
366
} else {
367
+ $action = sprintf( esc_html__( '%1$s commented on the post, %2$s', 'buddypress' ), $user_link, $post_link );
368
}
369
370
// Legacy filter - requires the comment object.
bp-friends/bp-friends-activity.php CHANGED
@@ -141,7 +141,7 @@ function bp_friends_format_activity_action_friendship_accepted( $action, $activi
141
$initiator_link = bp_core_get_userlink( $activity->user_id );
142
$friend_link = bp_core_get_userlink( $activity->secondary_item_id );
143
144
- $action = sprintf( __( '%1$s and %2$s are now friends', 'buddypress' ), $initiator_link, $friend_link );
145
146
// Backward compatibility for legacy filter
147
// The old filter has the $friendship object passed to it. We want to
@@ -175,7 +175,7 @@ function bp_friends_format_activity_action_friendship_created( $action, $activit
175
$initiator_link = bp_core_get_userlink( $activity->user_id );
176
$friend_link = bp_core_get_userlink( $activity->secondary_item_id );
177
178
- $action = sprintf( __( '%1$s and %2$s are now friends', 'buddypress' ), $initiator_link, $friend_link );
179
180
// Backward compatibility for legacy filter
181
// The old filter has the $friendship object passed to it. We want to
141
$initiator_link = bp_core_get_userlink( $activity->user_id );
142
$friend_link = bp_core_get_userlink( $activity->secondary_item_id );
143
144
+ $action = sprintf( esc_html__( '%1$s and %2$s are now friends', 'buddypress' ), $initiator_link, $friend_link );
145
146
// Backward compatibility for legacy filter
147
// The old filter has the $friendship object passed to it. We want to
175
$initiator_link = bp_core_get_userlink( $activity->user_id );
176
$friend_link = bp_core_get_userlink( $activity->secondary_item_id );
177
178
+ $action = sprintf( esc_html__( '%1$s and %2$s are now friends', 'buddypress' ), $initiator_link, $friend_link );
179
180
// Backward compatibility for legacy filter
181
// The old filter has the $friendship object passed to it. We want to
bp-groups/bp-groups-activity.php CHANGED
@@ -78,7 +78,7 @@ function bp_groups_format_activity_action_created_group( $action, $activity ) {
78
$group = groups_get_group( $activity->item_id );
79
$group_link = '<a href="' . esc_url( bp_get_group_permalink( $group ) ) . '">' . esc_html( $group->name ) . '</a>';
80
81
- $action = sprintf( __( '%1$s created the group %2$s', 'buddypress'), $user_link, $group_link );
82
83
/**
84
* Filters the 'created_group' activity actions.
@@ -106,7 +106,7 @@ function bp_groups_format_activity_action_joined_group( $action, $activity ) {
106
$group = groups_get_group( $activity->item_id );
107
$group_link = '<a href="' . esc_url( bp_get_group_permalink( $group ) ) . '">' . esc_html( $group->name ) . '</a>';
108
109
- $action = sprintf( __( '%1$s joined the group %2$s', 'buddypress' ), $user_link, $group_link );
110
111
// Legacy filters (do not follow parameter patterns of other activity
112
// action filters, and requires apply_filters_ref_array()).
@@ -153,22 +153,22 @@ function bp_groups_format_activity_action_group_details_updated( $action, $activ
153
154
// No changed details were found, so use a generic message.
155
if ( empty( $changed ) ) {
156
- $action = sprintf( __( '%1$s updated details for the group %2$s', 'buddypress' ), $user_link, $group_link );
157
158
// Name and description changed - to keep things short, don't describe changes in detail.
159
} elseif ( isset( $changed['name'] ) && isset( $changed['description'] ) ) {
160
- $action = sprintf( __( '%1$s changed the name and description of the group %2$s', 'buddypress' ), $user_link, $group_link );
161
162
// Name only.
163
} elseif ( ! empty( $changed['name']['old'] ) && ! empty( $changed['name']['new'] ) ) {
164
- $action = sprintf( __( '%1$s changed the name of the group %2$s from "%3$s" to "%4$s"', 'buddypress' ), $user_link, $group_link, esc_html( $changed['name']['old'] ), esc_html( $changed['name']['new'] ) );
165
166
// Description only.
167
} elseif ( ! empty( $changed['description']['old'] ) && ! empty( $changed['description']['new'] ) ) {
168
- $action = sprintf( __( '%1$s changed the description of the group %2$s from "%3$s" to "%4$s"', 'buddypress' ), $user_link, $group_link, esc_html( $changed['description']['old'] ), esc_html( $changed['description']['new'] ) );
169
170
} elseif ( ! empty( $changed['slug']['old'] ) && ! empty( $changed['slug']['new'] ) ) {
171
- $action = sprintf( __( '%1$s changed the permalink of the group %2$s.', 'buddypress' ), $user_link, $group_link );
172
173
}
174
78
$group = groups_get_group( $activity->item_id );
79
$group_link = '<a href="' . esc_url( bp_get_group_permalink( $group ) ) . '">' . esc_html( $group->name ) . '</a>';
80
81
+ $action = sprintf( esc_html__( '%1$s created the group %2$s', 'buddypress'), $user_link, $group_link );
82
83
/**
84
* Filters the 'created_group' activity actions.
106
$group = groups_get_group( $activity->item_id );
107
$group_link = '<a href="' . esc_url( bp_get_group_permalink( $group ) ) . '">' . esc_html( $group->name ) . '</a>';
108
109
+ $action = sprintf( esc_html__( '%1$s joined the group %2$s', 'buddypress' ), $user_link, $group_link );
110
111
// Legacy filters (do not follow parameter patterns of other activity
112
// action filters, and requires apply_filters_ref_array()).
153
154
// No changed details were found, so use a generic message.
155
if ( empty( $changed ) ) {
156
+ $action = sprintf( esc_html__( '%1$s updated details for the group %2$s', 'buddypress' ), $user_link, $group_link );
157
158
// Name and description changed - to keep things short, don't describe changes in detail.
159
} elseif ( isset( $changed['name'] ) && isset( $changed['description'] ) ) {
160
+ $action = sprintf( esc_html__( '%1$s changed the name and description of the group %2$s', 'buddypress' ), $user_link, $group_link );
161
162
// Name only.
163
} elseif ( ! empty( $changed['name']['old'] ) && ! empty( $changed['name']['new'] ) ) {
164
+ $action = sprintf( esc_html__( '%1$s changed the name of the group %2$s from "%3$s" to "%4$s"', 'buddypress' ), $user_link, $group_link, esc_html( $changed['name']['old'] ), esc_html( $changed['name']['new'] ) );
165
166
// Description only.
167
} elseif ( ! empty( $changed['description']['old'] ) && ! empty( $changed['description']['new'] ) ) {
168
+ $action = sprintf( esc_html__( '%1$s changed the description of the group %2$s from "%3$s" to "%4$s"', 'buddypress' ), $user_link, $group_link, esc_html( $changed['description']['old'] ), esc_html( $changed['description']['new'] ) );
169
170
} elseif ( ! empty( $changed['slug']['old'] ) && ! empty( $changed['slug']['new'] ) ) {
171
+ $action = sprintf( esc_html__( '%1$s changed the permalink of the group %2$s.', 'buddypress' ), $user_link, $group_link );
172
173
}
174
bp-groups/bp-groups-functions.php CHANGED
@@ -1312,7 +1312,7 @@ function groups_post_update( $args = '' ) {
1312
return false;
1313
1314
// Record this in activity streams.
1315
- $activity_action = sprintf( __( '%1$s posted an update in the group %2$s', 'buddypress'), bp_core_get_userlink( $user_id ), '<a href="' . bp_get_group_permalink( $bp->groups->current_group ) . '">' . esc_attr( $bp->groups->current_group->name ) . '</a>' );
1316
$activity_content = $content;
1317
1318
/**
1312
return false;
1313
1314
// Record this in activity streams.
1315
+ $activity_action = sprintf( esc_html__( '%1$s posted an update in the group %2$s', 'buddypress'), bp_core_get_userlink( $user_id ), '<a href="' . esc_url( bp_get_group_permalink( $bp->groups->current_group ) ) . '">' . esc_html( $bp->groups->current_group->name ) . '</a>' );
1316
$activity_content = $content;
1317
1318
/**
bp-groups/bp-groups-template.php CHANGED
@@ -5865,7 +5865,7 @@ function bp_groups_activity_feed() {
5865
return;
5866
} ?>
5867
5868
- <link rel="alternate" type="application/rss+xml" title="<?php bloginfo( 'name' ) ?> | <?php bp_current_group_name() ?> | <?php _e( 'Group Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_group_activity_feed_link() ?>" />
5869
5870
<?php
5871
}
5865
return;
5866
} ?>
5867
5868
+ <link rel="alternate" type="application/rss+xml" title="<?php bloginfo( 'name' ) ?> | <?php echo esc_attr( bp_get_current_group_name() ); ?> | <?php _e( 'Group Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_group_activity_feed_link() ?>" />
5869
5870
<?php
5871
}
bp-loader.php CHANGED
@@ -15,7 +15,7 @@
15
* Description: BuddyPress adds community features to WordPress. Member Profiles, Activity Streams, Direct Messaging, Notifications, and more!
16
* Author: The BuddyPress Community
17
* Author URI: https://buddypress.org/
18
- * Version: 4.3.0
19
* Text Domain: buddypress
20
* Domain Path: /bp-languages/
21
* License: GPLv2 or later (license.txt)
15
* Description: BuddyPress adds community features to WordPress. Member Profiles, Activity Streams, Direct Messaging, Notifications, and more!
16
* Author: The BuddyPress Community
17
* Author URI: https://buddypress.org/
18
+ * Version: 4.4.0
19
* Text Domain: buddypress
20
* Domain Path: /bp-languages/
21
* License: GPLv2 or later (license.txt)
bp-members/bp-members-activity.php CHANGED
@@ -47,7 +47,7 @@ add_action( 'bp_register_activity_actions', 'bp_members_register_activity_action
47
*/
48
function bp_members_format_activity_action_new_member( $action, $activity ) {
49
$userlink = bp_core_get_userlink( $activity->user_id );
50
- $action = sprintf( __( '%s became a registered member', 'buddypress' ), $userlink );
51
52
// Legacy filter - pass $user_id instead of $activity.
53
if ( has_filter( 'bp_core_activity_registered_member_action' ) ) {
47
*/
48
function bp_members_format_activity_action_new_member( $action, $activity ) {
49
$userlink = bp_core_get_userlink( $activity->user_id );
50
+ $action = sprintf( esc_html__( '%s became a registered member', 'buddypress' ), $userlink );
51
52
// Legacy filter - pass $user_id instead of $activity.
53
if ( has_filter( 'bp_core_activity_registered_member_action' ) ) {
bp-members/bp-members-functions.php CHANGED
@@ -415,7 +415,7 @@ function bp_core_get_userlink( $user_id, $no_anchor = false, $just_link = false
415
* @param string $value Link text based on passed parameters.
416
* @param int $user_id ID of the user to check.
417
*/
418
- return apply_filters( 'bp_core_get_userlink', '<a href="' . $url . '">' . $display_name . '</a>', $user_id );
419
}
420
421
/**
415
* @param string $value Link text based on passed parameters.
416
* @param int $user_id ID of the user to check.
417
*/
418
+ return apply_filters( 'bp_core_get_userlink', '<a href="' . esc_url( $url ) . '">' . $display_name . '</a>', $user_id );
419
}
420
421
/**
bp-messages/bp-messages-functions.php CHANGED
@@ -684,7 +684,7 @@ function bp_messages_personal_data_exporter( $email_address, $page ) {
684
685
foreach ( $thread->messages as $message_index => $message ) {
686
// Only include messages written by the user.
687
- if ( $recipient->user_id !== $message->sender_id ) {
688
continue;
689
}
690
684
685
foreach ( $thread->messages as $message_index => $message ) {
686
// Only include messages written by the user.
687
+ if ( $user->ID !== $message->sender_id ) {
688
continue;
689
}
690
bp-templates/bp-nouveau/includes/groups/ajax.php CHANGED
@@ -3,7 +3,7 @@
3
* Groups Ajax functions
4
*
5
* @since 3.0.0
6
- * @version 3.1.0
7
*/
8
9
// Exit if accessed directly.
@@ -384,15 +384,26 @@ function bp_nouveau_ajax_send_group_invites() {
384
}
385
386
// For feedback
387
- $invited = array();
388
389
foreach ( (array) $_POST['users'] as $user_id ) {
390
- $invited[ (int) $user_id ] = groups_invite_user(
391
- array(
392
- 'user_id' => $user_id,
393
- 'group_id' => $group_id,
394
- )
395
- );
396
}
397
398
if ( ! empty( $_POST['message'] ) ) {
3
* Groups Ajax functions
4
*
5
* @since 3.0.0
6
+ * @version 4.4.0
7
*/
8
9
// Exit if accessed directly.
384
}
385
386
// For feedback
387
+ $invited = array();
388
+ $is_friends_active = bp_is_active( 'friends' );
389
390
foreach ( (array) $_POST['users'] as $user_id ) {
391
+ $user_id = (int) $user_id;
392
+
393
+ if ( $is_friends_active && bp_nouveau_groups_get_group_invites_setting( $user_id ) && 'is_friend' !== BP_Friends_Friendship::check_is_friend( bp_loggedin_user_id(), $user_id ) ) {
394
+ continue;
395
+ } else {
396
+ $invited[ $user_id ] = groups_invite_user(
397
+ array(
398
+ 'user_id' => $user_id,
399
+ 'group_id' => $group_id,
400
+ )
401
+ );
402
+ }
403
+ }
404
+
405
+ if ( ! $invited ) {
406
+ wp_send_json_error( $response );
407
}
408
409
if ( ! empty( $_POST['message'] ) ) {
bp-templates/bp-nouveau/includes/groups/template-tags.php CHANGED
@@ -3,7 +3,7 @@
3
* Groups Template tags
4
*
5
* @since 3.0.0
6
- * @version 3.2.0
7
*/
8
9
// Exit if accessed directly.
@@ -192,11 +192,17 @@ function bp_nouveau_group_invites_interface() {
192
* Gets the displayed user group invites preferences
193
*
194
* @since 3.0.0
195
*
196
- * @return int Returns 1 if user chose to restrict to friends, 0 otherwise.
197
*/
198
- function bp_nouveau_groups_get_group_invites_setting() {
199
- return (int) bp_get_user_meta( bp_displayed_user_id(), '_bp_nouveau_restrict_invites_to_friends' );
200
}
201
202
/**
3
* Groups Template tags
4
*
5
* @since 3.0.0
6
+ * @version 4.4.0
7
*/
8
9
// Exit if accessed directly.
192
* Gets the displayed user group invites preferences
193
*
194
* @since 3.0.0
195
+ * @since 4.4.0
196
*
197
+ * @param int $user_id The user ID to check group invites preference for.
198
+ * @return int Returns 1 if user chose to restrict to friends, 0 otherwise.
199
*/
200
+ function bp_nouveau_groups_get_group_invites_setting( $user_id = 0 ) {
201
+ if ( ! $user_id ) {
202
+ $user_id = bp_displayed_user_id();
203
+ }
204
+
205
+ return (int) bp_get_user_meta( $user_id, '_bp_nouveau_restrict_invites_to_friends' );
206
}
207
208
/**
bp-xprofile/bp-xprofile-activity.php CHANGED
@@ -60,7 +60,7 @@ add_action( 'bp_register_activity_actions', 'xprofile_register_activity_actions'
60
*/
61
function bp_xprofile_format_activity_action_new_avatar( $action, $activity ) {
62
$userlink = bp_core_get_userlink( $activity->user_id );
63
- $action = sprintf( __( '%s changed their profile picture', 'buddypress' ), $userlink );
64
65
// Legacy filter - pass $user_id instead of $activity.
66
if ( has_filter( 'bp_xprofile_new_avatar_action' ) ) {
@@ -94,7 +94,7 @@ function bp_xprofile_format_activity_action_updated_profile( $action, $activity
94
// your language doesn't have this restriction, feel free to use a more
95
// natural translation.
96
$profile_link = trailingslashit( bp_core_get_user_domain( $activity->user_id ) . bp_get_profile_slug() );
97
- $action = sprintf( __( "%s's profile was updated", 'buddypress' ), '<a href="' . $profile_link . '">' . bp_core_get_user_displayname( $activity->user_id ) . '</a>' );
98
99
/**
100
* Filters the formatted 'updated_profile' activity stream action.
60
*/
61
function bp_xprofile_format_activity_action_new_avatar( $action, $activity ) {
62
$userlink = bp_core_get_userlink( $activity->user_id );
63
+ $action = sprintf( esc_html__( '%s changed their profile picture', 'buddypress' ), $userlink );
64
65
// Legacy filter - pass $user_id instead of $activity.
66
if ( has_filter( 'bp_xprofile_new_avatar_action' ) ) {
94
// your language doesn't have this restriction, feel free to use a more
95
// natural translation.
96
$profile_link = trailingslashit( bp_core_get_user_domain( $activity->user_id ) . bp_get_profile_slug() );
97
+ $action = sprintf( esc_html__( "%s's profile was updated", 'buddypress' ), '<a href="' . esc_url( $profile_link ) . '">' . bp_core_get_user_displayname( $activity->user_id ) . '</a>' );
98
99
/**
100
* Filters the formatted 'updated_profile' activity stream action.
buddypress.pot CHANGED
@@ -2,9 +2,9 @@
2
# This file is distributed under the GPLv2 or later (license.txt).
3
msgid ""
4
msgstr ""
5
- "Project-Id-Version: BuddyPress 4.3.0\n"
6
"Report-Msgid-Bugs-To: https://buddypress.trac.wordpress.org\n"
7
- "POT-Creation-Date: 2019-04-25 16:09:52+00:00\n"
8
"MIME-Version: 1.0\n"
9
"Content-Type: text/plain; charset=utf-8\n"
10
"Content-Transfer-Encoding: 8bit\n"
@@ -486,19 +486,19 @@ msgstr ""
486
msgid "Your browser does not support HTML5 audio"
487
msgstr ""
488
489
- #: bp-activity/bp-activity-filters.php:435
490
msgid "[Read more]"
491
msgstr ""
492
493
- #: bp-activity/bp-activity-filters.php:439
494
msgid "&hellip;"
495
msgstr ""
496
497
- #: bp-activity/bp-activity-filters.php:645
498
msgid "Load Newest"
499
msgstr ""
500
501
- #: bp-activity/bp-activity-filters.php:828
502
msgid "BuddyPress Activity Data"
503
msgstr ""
504
@@ -526,37 +526,37 @@ msgstr ""
526
msgid "%s posted a new activity comment"
527
msgstr ""
528
529
- #: bp-activity/bp-activity-functions.php:2592
530
#: bp-templates/bp-legacy/buddypress-functions.php:1049
531
#: bp-templates/bp-nouveau/includes/activity/ajax.php:334
532
msgid "There was an error posting your reply. Please try again."
533
msgstr ""
534
535
- #: bp-activity/bp-activity-functions.php:2620
536
msgid "The item you were replying to no longer exists."
537
msgstr ""
538
539
- #: bp-activity/bp-activity-functions.php:3229
540
msgid "Thumbnail"
541
msgstr ""
542
543
- #: bp-activity/bp-activity-functions.php:4187
544
msgid "Activity Date"
545
msgstr ""
546
547
- #: bp-activity/bp-activity-functions.php:4191
548
msgid "Activity Description"
549
msgstr ""
550
551
- #: bp-activity/bp-activity-functions.php:4195
552
msgid "Activity URL"
553
msgstr ""
554
555
- #: bp-activity/bp-activity-functions.php:4202
556
msgid "Activity Content"
557
msgstr ""
558
559
- #: bp-activity/bp-activity-functions.php:4223
560
#: bp-activity/bp-activity-notifications.php:389
561
#: bp-activity/classes/class-bp-activity-oembed-extension.php:138
562
#: bp-activity/classes/class-bp-activity-theme-compat.php:161
@@ -3486,7 +3486,7 @@ msgstr ""
3486
#: bp-core/deprecated/2.1.php:391 bp-groups/bp-groups-admin.php:1065
3487
#: bp-templates/bp-legacy/buddypress/groups/single/admin/delete-group.php:12
3488
#: bp-templates/bp-legacy/buddypress/groups/single/admin/delete-group.php:39
3489
- #: bp-templates/bp-nouveau/includes/groups/template-tags.php:367
3490
msgid "Delete Group"
3491
msgstr ""
3492
@@ -4245,7 +4245,7 @@ msgstr ""
4245
#: bp-templates/bp-nouveau/includes/functions.php:1301
4246
#: bp-templates/bp-nouveau/includes/functions.php:1312
4247
#: bp-templates/bp-nouveau/includes/functions.php:1323
4248
- #: bp-templates/bp-nouveau/includes/groups/template-tags.php:359
4249
msgid "Save Changes"
4250
msgstr ""
4251
@@ -4500,7 +4500,7 @@ msgstr ""
4500
#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:168
4501
#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:277
4502
#: bp-templates/bp-nouveau/buddypress/groups/single/admin/manage-members.php:64
4503
- #: bp-templates/bp-nouveau/includes/groups/template-tags.php:895
4504
msgid "Promote to Admin"
4505
msgstr ""
4506
@@ -6764,22 +6764,22 @@ msgid ""
6764
msgstr ""
6765
6766
#: bp-templates/bp-legacy/buddypress/groups/create.php:441
6767
- #: bp-templates/bp-nouveau/includes/groups/template-tags.php:388
6768
msgid "Back to Previous Step"
6769
msgstr ""
6770
6771
#: bp-templates/bp-legacy/buddypress/groups/create.php:448
6772
- #: bp-templates/bp-nouveau/includes/groups/template-tags.php:396
6773
msgid "Next Step"
6774
msgstr ""
6775
6776
#: bp-templates/bp-legacy/buddypress/groups/create.php:455
6777
- #: bp-templates/bp-nouveau/includes/groups/template-tags.php:403
6778
msgid "Create Group and Continue"
6779
msgstr ""
6780
6781
#: bp-templates/bp-legacy/buddypress/groups/create.php:462
6782
- #: bp-templates/bp-nouveau/includes/groups/template-tags.php:410
6783
msgid "Finish"
6784
msgstr ""
6785
@@ -6832,7 +6832,7 @@ msgid "Manage Group Details"
6832
msgstr ""
6833
6834
#: bp-templates/bp-legacy/buddypress/groups/single/admin/edit-details.php:40
6835
- #: bp-templates/bp-nouveau/includes/groups/template-tags.php:1415
6836
msgid "Notify group members of these changes via email"
6837
msgstr ""
6838
@@ -6859,22 +6859,22 @@ msgid "(banned)"
6859
msgstr ""
6860
6861
#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:271
6862
- #: bp-templates/bp-nouveau/includes/groups/template-tags.php:838
6863
msgid "Remove Ban"
6864
msgstr ""
6865
6866
#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:275
6867
- #: bp-templates/bp-nouveau/includes/groups/template-tags.php:857
6868
msgid "Kick &amp; Ban"
6869
msgstr ""
6870
6871
#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:276
6872
- #: bp-templates/bp-nouveau/includes/groups/template-tags.php:886
6873
msgid "Promote to Mod"
6874
msgstr ""
6875
6876
#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:281
6877
- #: bp-templates/bp-nouveau/includes/groups/template-tags.php:915
6878
msgid "Remove from group"
6879
msgstr ""
6880
@@ -6928,16 +6928,16 @@ msgstr ""
6928
#: bp-templates/bp-legacy/buddypress/groups/single/requests-loop.php:58
6929
#: bp-templates/bp-legacy/buddypress/members/single/friends/requests.php:63
6930
#: bp-templates/bp-legacy/buddypress/members/single/groups/invites.php:51
6931
- #: bp-templates/bp-nouveau/includes/groups/template-tags.php:721
6932
- #: bp-templates/bp-nouveau/includes/groups/template-tags.php:777
6933
msgid "Accept"
6934
msgstr ""
6935
6936
#: bp-templates/bp-legacy/buddypress/groups/single/requests-loop.php:60
6937
#: bp-templates/bp-legacy/buddypress/members/single/friends/requests.php:64
6938
#: bp-templates/bp-legacy/buddypress/members/single/groups/invites.php:52
6939
- #: bp-templates/bp-nouveau/includes/groups/template-tags.php:748
6940
- #: bp-templates/bp-nouveau/includes/groups/template-tags.php:804
6941
msgid "Reject"
6942
msgstr ""
6943
@@ -8532,27 +8532,27 @@ msgstr ""
8532
msgid "You are not allowed to send invitations for this group."
8533
msgstr ""
8534
8535
- #: bp-templates/bp-nouveau/includes/groups/ajax.php:419
8536
#. translators: count of users affected
8537
msgid "Invitation failed for %s user."
8538
msgid_plural "Invitation failed for %s users."
8539
msgstr[0] ""
8540
msgstr[1] ""
8541
8542
- #: bp-templates/bp-nouveau/includes/groups/ajax.php:438
8543
msgid "Invitations sent."
8544
msgstr ""
8545
8546
- #: bp-templates/bp-nouveau/includes/groups/ajax.php:452
8547
- #: bp-templates/bp-nouveau/includes/groups/ajax.php:491
8548
msgid "Group invitation could not be removed."
8549
msgstr ""
8550
8551
- #: bp-templates/bp-nouveau/includes/groups/ajax.php:480
8552
msgid "The member is already a member of the group."
8553
msgstr ""
8554
8555
- #: bp-templates/bp-nouveau/includes/groups/ajax.php:500
8556
msgid "There are no more pending invitations for the group."
8557
msgstr ""
8558
@@ -8680,11 +8680,11 @@ msgstr ""
8680
msgid "Group Moderator promotions"
8681
msgstr ""
8682
8683
- #: bp-templates/bp-nouveau/includes/groups/template-tags.php:1301
8684
msgid "Groups default front page"
8685
msgstr ""
8686
8687
- #: bp-templates/bp-nouveau/includes/groups/template-tags.php:1319
8688
#: bp-templates/bp-nouveau/includes/members/template-tags.php:711
8689
msgid "(BuddyPress) Widgets"
8690
msgstr ""
@@ -9367,24 +9367,30 @@ msgctxt "Post Type generic comments activity front filter"
9367
msgid "Item comments"
9368
msgstr ""
9369
9370
- #: bp-activity/bp-activity-functions.php:1598
9371
msgctxt "Activity Custom Post Type post action"
9372
- msgid "%1$s wrote a new <a href=\"%2$s\">item</a>, on the site %3$s"
9373
msgstr ""
9374
9375
- #: bp-activity/bp-activity-functions.php:1604
9376
msgctxt "Activity Custom Post Type post action"
9377
- msgid "%1$s wrote a new <a href=\"%2$s\">item</a>"
9378
msgstr ""
9379
9380
- #: bp-activity/bp-activity-functions.php:1649
9381
msgctxt "Activity Custom Post Type comment action"
9382
- msgid "%1$s commented on the <a href=\"%2$s\">item</a>, on the site %3$s"
9383
msgstr ""
9384
9385
- #: bp-activity/bp-activity-functions.php:1655
9386
msgctxt "Activity Custom Post Type post comment action"
9387
- msgid "%1$s commented on the <a href=\"%2$s\">item</a>"
9388
msgstr ""
9389
9390
#: bp-activity/classes/class-bp-activity-component.php:224
2
# This file is distributed under the GPLv2 or later (license.txt).
3
msgid ""
4
msgstr ""
5
+ "Project-Id-Version: BuddyPress 4.4.0\n"
6
"Report-Msgid-Bugs-To: https://buddypress.trac.wordpress.org\n"
7
+ "POT-Creation-Date: 2019-07-23 05:07:35+00:00\n"
8
"MIME-Version: 1.0\n"
9
"Content-Type: text/plain; charset=utf-8\n"
10
"Content-Transfer-Encoding: 8bit\n"
486
msgid "Your browser does not support HTML5 audio"
487
msgstr ""
488
489
+ #: bp-activity/bp-activity-filters.php:434
490
msgid "[Read more]"
491
msgstr ""
492
493
+ #: bp-activity/bp-activity-filters.php:438
494
msgid "&hellip;"
495
msgstr ""
496
497
+ #: bp-activity/bp-activity-filters.php:644
498
msgid "Load Newest"
499
msgstr ""
500
501
+ #: bp-activity/bp-activity-filters.php:827
502
msgid "BuddyPress Activity Data"
503
msgstr ""
504
526
msgid "%s posted a new activity comment"
527
msgstr ""
528
529
+ #: bp-activity/bp-activity-functions.php:2596
530
#: bp-templates/bp-legacy/buddypress-functions.php:1049
531
#: bp-templates/bp-nouveau/includes/activity/ajax.php:334
532
msgid "There was an error posting your reply. Please try again."
533
msgstr ""
534
535
+ #: bp-activity/bp-activity-functions.php:2624
536
msgid "The item you were replying to no longer exists."
537
msgstr ""
538
539
+ #: bp-activity/bp-activity-functions.php:3233
540
msgid "Thumbnail"
541
msgstr ""
542
543
+ #: bp-activity/bp-activity-functions.php:4191
544
msgid "Activity Date"
545
msgstr ""
546
547
+ #: bp-activity/bp-activity-functions.php:4195
548
msgid "Activity Description"
549
msgstr ""
550
551
+ #: bp-activity/bp-activity-functions.php:4199
552
msgid "Activity URL"
553
msgstr ""
554
555
+ #: bp-activity/bp-activity-functions.php:4206
556
msgid "Activity Content"
557
msgstr ""
558
559
+ #: bp-activity/bp-activity-functions.php:4227
560
#: bp-activity/bp-activity-notifications.php:389
561
#: bp-activity/classes/class-bp-activity-oembed-extension.php:138
562
#: bp-activity/classes/class-bp-activity-theme-compat.php:161
3486
#: bp-core/deprecated/2.1.php:391 bp-groups/bp-groups-admin.php:1065
3487
#: bp-templates/bp-legacy/buddypress/groups/single/admin/delete-group.php:12
3488
#: bp-templates/bp-legacy/buddypress/groups/single/admin/delete-group.php:39
3489
+ #: bp-templates/bp-nouveau/includes/groups/template-tags.php:373
3490
msgid "Delete Group"
3491
msgstr ""
3492
4245
#: bp-templates/bp-nouveau/includes/functions.php:1301
4246
#: bp-templates/bp-nouveau/includes/functions.php:1312
4247
#: bp-templates/bp-nouveau/includes/functions.php:1323
4248
+ #: bp-templates/bp-nouveau/includes/groups/template-tags.php:365
4249
msgid "Save Changes"
4250
msgstr ""
4251
4500
#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:168
4501
#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:277
4502
#: bp-templates/bp-nouveau/buddypress/groups/single/admin/manage-members.php:64
4503
+ #: bp-templates/bp-nouveau/includes/groups/template-tags.php:901
4504
msgid "Promote to Admin"
4505
msgstr ""
4506
6764
msgstr ""
6765
6766
#: bp-templates/bp-legacy/buddypress/groups/create.php:441
6767
+ #: bp-templates/bp-nouveau/includes/groups/template-tags.php:394
6768
msgid "Back to Previous Step"
6769
msgstr ""
6770
6771
#: bp-templates/bp-legacy/buddypress/groups/create.php:448
6772
+ #: bp-templates/bp-nouveau/includes/groups/template-tags.php:402
6773
msgid "Next Step"
6774
msgstr ""
6775
6776
#: bp-templates/bp-legacy/buddypress/groups/create.php:455
6777
+ #: bp-templates/bp-nouveau/includes/groups/template-tags.php:409
6778
msgid "Create Group and Continue"
6779
msgstr ""
6780
6781
#: bp-templates/bp-legacy/buddypress/groups/create.php:462
6782
+ #: bp-templates/bp-nouveau/includes/groups/template-tags.php:416
6783
msgid "Finish"
6784
msgstr ""
6785
6832
msgstr ""
6833
6834
#: bp-templates/bp-legacy/buddypress/groups/single/admin/edit-details.php:40
6835
+ #: bp-templates/bp-nouveau/includes/groups/template-tags.php:1421
6836
msgid "Notify group members of these changes via email"
6837
msgstr ""
6838
6859
msgstr ""
6860
6861
#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:271
6862
+ #: bp-templates/bp-nouveau/includes/groups/template-tags.php:844
6863
msgid "Remove Ban"
6864
msgstr ""
6865
6866
#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:275
6867
+ #: bp-templates/bp-nouveau/includes/groups/template-tags.php:863
6868
msgid "Kick &amp; Ban"
6869
msgstr ""
6870
6871
#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:276
6872
+ #: bp-templates/bp-nouveau/includes/groups/template-tags.php:892
6873
msgid "Promote to Mod"
6874
msgstr ""
6875
6876
#: bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php:281
6877
+ #: bp-templates/bp-nouveau/includes/groups/template-tags.php:921
6878
msgid "Remove from group"
6879
msgstr ""
6880
6928
#: bp-templates/bp-legacy/buddypress/groups/single/requests-loop.php:58
6929
#: bp-templates/bp-legacy/buddypress/members/single/friends/requests.php:63
6930
#: bp-templates/bp-legacy/buddypress/members/single/groups/invites.php:51
6931
+ #: bp-templates/bp-nouveau/includes/groups/template-tags.php:727
6932
+ #: bp-templates/bp-nouveau/includes/groups/template-tags.php:783
6933
msgid "Accept"
6934
msgstr ""
6935
6936
#: bp-templates/bp-legacy/buddypress/groups/single/requests-loop.php:60
6937
#: bp-templates/bp-legacy/buddypress/members/single/friends/requests.php:64
6938
#: bp-templates/bp-legacy/buddypress/members/single/groups/invites.php:52
6939
+ #: bp-templates/bp-nouveau/includes/groups/template-tags.php:754
6940
+ #: bp-templates/bp-nouveau/includes/groups/template-tags.php:810
6941
msgid "Reject"
6942
msgstr ""
6943
8532
msgid "You are not allowed to send invitations for this group."
8533
msgstr ""
8534
8535
+ #: bp-templates/bp-nouveau/includes/groups/ajax.php:430
8536
#. translators: count of users affected
8537
msgid "Invitation failed for %s user."
8538
msgid_plural "Invitation failed for %s users."
8539
msgstr[0] ""
8540
msgstr[1] ""
8541
8542
+ #: bp-templates/bp-nouveau/includes/groups/ajax.php:449
8543
msgid "Invitations sent."
8544
msgstr ""
8545
8546
+ #: bp-templates/bp-nouveau/includes/groups/ajax.php:463
8547
+ #: bp-templates/bp-nouveau/includes/groups/ajax.php:502
8548
msgid "Group invitation could not be removed."
8549
msgstr ""
8550
8551
+ #: bp-templates/bp-nouveau/includes/groups/ajax.php:491
8552
msgid "The member is already a member of the group."
8553
msgstr ""
8554
8555
+ #: bp-templates/bp-nouveau/includes/groups/ajax.php:511
8556
msgid "There are no more pending invitations for the group."
8557
msgstr ""
8558
8680
msgid "Group Moderator promotions"
8681
msgstr ""
8682
8683
+ #: bp-templates/bp-nouveau/includes/groups/template-tags.php:1307
8684
msgid "Groups default front page"
8685
msgstr ""
8686
8687
+ #: bp-templates/bp-nouveau/includes/groups/template-tags.php:1325
8688
#: bp-templates/bp-nouveau/includes/members/template-tags.php:711
8689
msgid "(BuddyPress) Widgets"
8690
msgstr ""
9367
msgid "Item comments"
9368
msgstr ""
9369
9370
+ #: bp-activity/bp-activity-functions.php:1592
9371
+ #: bp-activity/bp-activity-functions.php:1645
9372
+ msgctxt "Default text for the post type name"
9373
+ msgid "item"
9374
+ msgstr ""
9375
+
9376
+ #: bp-activity/bp-activity-functions.php:1601
9377
msgctxt "Activity Custom Post Type post action"
9378
+ msgid "%1$s wrote a new %2$s, on the site %3$s"
9379
msgstr ""
9380
9381
+ #: bp-activity/bp-activity-functions.php:1607
9382
msgctxt "Activity Custom Post Type post action"
9383
+ msgid "%1$s wrote a new %2$s"
9384
msgstr ""
9385
9386
+ #: bp-activity/bp-activity-functions.php:1653
9387
msgctxt "Activity Custom Post Type comment action"
9388
+ msgid "%1$s commented on the %2$s, on the site %3$s"
9389
msgstr ""
9390
9391
+ #: bp-activity/bp-activity-functions.php:1659
9392
msgctxt "Activity Custom Post Type post comment action"
9393
+ msgid "%1$s commented on the %2$s"
9394
msgstr ""
9395
9396
#: bp-activity/classes/class-bp-activity-component.php:224
class-buddypress.php CHANGED
@@ -303,7 +303,7 @@ class BuddyPress {
303
304
/** Versions **********************************************************/
305
306
- $this->version = '4.3.0';
307
$this->db_version = 11105;
308
309
/** Loading ***********************************************************/
303
304
/** Versions **********************************************************/
305
306
+ $this->version = '4.4.0';
307
$this->db_version = 11105;
308
309
/** Loading ***********************************************************/
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
Contributors: johnjamesjacoby, DJPaul, boonebgorges, r-a-y, imath, mercime, tw2113, dcavins, hnla, karmatosed, slaFFik, dimensionmedia, henrywright, netweb, offereins, espellcaste, modemlooper, danbp, Venutius, apeatling, shanebp
3
Tags: user profiles, activity streams, messaging, friends, user groups, notifications, community, social networking
4
Requires at least: 4.6
5
- Tested up to: 5.1
6
Requires PHP: 5.3
7
- Stable tag: 4.3.0
8
License: GPLv2 or later
9
License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
@@ -126,6 +126,9 @@ Try <a href="https://wordpress.org/plugins/bbpress/">bbPress</a>. It integrates
126
127
== Upgrade Notice ==
128
129
= 4.3.0 =
130
See: https://codex.buddypress.org/releases/version-4-3-0/
131
@@ -140,6 +143,9 @@ See: https://codex.buddypress.org/releases/version-4-0-0/
140
141
== Changelog ==
142
143
= 4.3.0 =
144
See: https://codex.buddypress.org/releases/version-4-3-0/
145
2
Contributors: johnjamesjacoby, DJPaul, boonebgorges, r-a-y, imath, mercime, tw2113, dcavins, hnla, karmatosed, slaFFik, dimensionmedia, henrywright, netweb, offereins, espellcaste, modemlooper, danbp, Venutius, apeatling, shanebp
3
Tags: user profiles, activity streams, messaging, friends, user groups, notifications, community, social networking
4
Requires at least: 4.6
5
+ Tested up to: 5.2
6
Requires PHP: 5.3
7
+ Stable tag: 4.4.0
8
License: GPLv2 or later
9
License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
126
127
== Upgrade Notice ==
128
129
+ = 4.4.0 =
130
+ See: https://codex.buddypress.org/releases/version-4-4-0/
131
+
132
= 4.3.0 =
133
See: https://codex.buddypress.org/releases/version-4-3-0/
134
143
144
== Changelog ==
145
146
+ = 4.4.0 =
147
+ See: https://codex.buddypress.org/releases/version-4-4-0/
148
+
149
= 4.3.0 =
150
See: https://codex.buddypress.org/releases/version-4-3-0/
151