BuddyPress - Version 2.7.0-rc1

Version Description

= 2.6.2 = See: https://codex.buddypress.org/releases/version-2-6-2/

= 2.6.1.1 = See: https://codex.buddypress.org/releases/version-2-6-1-1/

= 2.6.1 = See: https://codex.buddypress.org/releases/version-2-6-1/

= 2.6.0 = See: https://codex.buddypress.org/releases/version-2-6-0/

Download this release

Release Info

Developer mercime
Plugin Icon 128x128 BuddyPress
Version 2.7.0-rc1
Comparing to
See all releases

Code changes from version 2.7.0-beta1 to 2.7.0-rc1

Files changed (59) hide show
  1. bp-activity/bp-activity-functions.php +6 -3
  2. bp-blogs/bp-blogs-template.php +3 -4
  3. bp-core/admin/bp-core-admin-functions.php +211 -0
  4. bp-core/admin/css/common-rtl.css +168 -79
  5. bp-core/admin/css/common-rtl.min.css +1 -1
  6. bp-core/admin/css/common.css +168 -79
  7. bp-core/admin/css/common.min.css +1 -1
  8. bp-core/admin/js/dismissible-admin-notices.js +16 -0
  9. bp-core/admin/js/dismissible-admin-notices.min.js +1 -0
  10. bp-core/bp-core-options.php +2 -2
  11. bp-core/classes/class-bp-admin.php +96 -91
  12. bp-forums/bp-forums-loader.php +18 -0
  13. bp-groups/bp-groups-admin.php +22 -13
  14. bp-groups/bp-groups-functions.php +6 -1
  15. bp-groups/bp-groups-template.php +14 -5
  16. bp-groups/classes/class-bp-groups-group.php +9 -3
  17. bp-groups/classes/class-bp-groups-list-table.php +27 -12
  18. bp-loader.php +2 -2
  19. bp-notifications/bp-notifications-functions.php +4 -2
  20. bp-templates/bp-legacy/buddypress/activity/index.php +10 -7
  21. bp-templates/bp-legacy/buddypress/activity/single/home.php +7 -3
  22. bp-templates/bp-legacy/buddypress/blogs/create.php +6 -3
  23. bp-templates/bp-legacy/buddypress/blogs/index.php +4 -1
  24. bp-templates/bp-legacy/buddypress/forums/index.php +5 -2
  25. bp-templates/bp-legacy/buddypress/groups/create.php +30 -11
  26. bp-templates/bp-legacy/buddypress/groups/groups-loop.php +1 -1
  27. bp-templates/bp-legacy/buddypress/groups/index.php +10 -4
  28. bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php +1 -1
  29. bp-templates/bp-legacy/buddypress/groups/single/cover-image-header.php +8 -3
  30. bp-templates/bp-legacy/buddypress/groups/single/group-header.php +8 -4
  31. bp-templates/bp-legacy/buddypress/groups/single/request-membership.php +4 -1
  32. bp-templates/bp-legacy/buddypress/members/activate.php +6 -3
  33. bp-templates/bp-legacy/buddypress/members/index.php +4 -1
  34. bp-templates/bp-legacy/buddypress/members/members-loop.php +1 -1
  35. bp-templates/bp-legacy/buddypress/members/register.php +40 -24
  36. bp-templates/bp-legacy/buddypress/members/single/cover-image-header.php +6 -3
  37. bp-templates/bp-legacy/buddypress/members/single/friends.php +8 -2
  38. bp-templates/bp-legacy/buddypress/members/single/friends/requests.php +4 -1
  39. bp-templates/bp-legacy/buddypress/members/single/groups.php +8 -2
  40. bp-templates/bp-legacy/buddypress/members/single/groups/invites.php +4 -1
  41. bp-templates/bp-legacy/buddypress/members/single/member-header.php +6 -3
  42. bp-templates/bp-legacy/buddypress/members/single/messages.php +12 -3
  43. bp-templates/bp-legacy/buddypress/members/single/messages/compose.php +4 -1
  44. bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php +4 -1
  45. bp-templates/bp-legacy/buddypress/members/single/notifications/read.php +4 -1
  46. bp-templates/bp-legacy/buddypress/members/single/notifications/unread.php +4 -1
  47. bp-templates/bp-legacy/buddypress/members/single/profile/edit.php +1 -1
  48. bp-templates/bp-legacy/buddypress/members/single/settings/general.php +4 -1
  49. bp-templates/bp-legacy/buddypress/members/single/settings/notifications.php +4 -1
  50. bp-templates/bp-legacy/buddypress/members/single/settings/profile.php +4 -1
  51. bp-templates/bp-legacy/css/buddypress-rtl.css +16 -1
  52. bp-templates/bp-legacy/css/buddypress-rtl.min.css +1 -1
  53. bp-templates/bp-legacy/css/buddypress.css +16 -1
  54. bp-templates/bp-legacy/css/buddypress.min.css +1 -1
  55. bp-themes/bp-default/_inc/ajax.php +11 -4
  56. bp-xprofile/classes/class-bp-xprofile-field.php +1 -1
  57. bp-xprofile/classes/class-bp-xprofile-group.php +1 -1
  58. buddypress.pot +453 -405
  59. humans.txt +14 -1
bp-activity/bp-activity-functions.php CHANGED
@@ -1870,10 +1870,13 @@ function bp_activity_add( $args = '' ) {
1870
* @since 1.2.0
1871
*
1872
* @param array|string $args {
1873
- * @type string $content The content of the activity update.
1874
- * @type int $user_id Optional. Defaults to the logged-in user.
1875
* }
1876
- * @return int $activity_id The activity id.
1877
*/
1878
function bp_activity_post_update( $args = '' ) {
1879
1870
* @since 1.2.0
1871
*
1872
* @param array|string $args {
1873
+ * @type string $content The content of the activity update.
1874
+ * @type int $user_id Optional. Defaults to the logged-in user.
1875
+ * @type string $error_type Optional. Error type to return. Either 'bool' or 'wp_error'. Defaults to
1876
+ * 'bool' for boolean. 'wp_error' will return a WP_Error object.
1877
* }
1878
+ * @return int|bool|WP_Error $activity_id The activity id on success. On failure, either boolean false or WP_Error
1879
+ * object depending on the 'error_type' $args parameter.
1880
*/
1881
function bp_activity_post_update( $args = '' ) {
1882
bp-blogs/bp-blogs-template.php CHANGED
@@ -1111,9 +1111,8 @@ function bp_blogs_signup_blog( $blogname = '', $blog_title = '', $errors = '' )
1111
echo '<input name="blog_title" type="text" id="blog_title" value="'.esc_html($blog_title, 1).'" /></p>';
1112
?>
1113
1114
- <p>
1115
- <label for="blog_public_on"><?php _e('Privacy:', 'buddypress') ?></label>
1116
- <?php _e( 'I would like my site to appear in search engines, and in public listings around this network.', 'buddypress' ); ?>
1117
1118
<label class="checkbox" for="blog_public_on">
1119
<input type="radio" id="blog_public_on" name="blog_public" value="1" <?php if( !isset( $_POST['blog_public'] ) || '1' == $_POST['blog_public'] ) { ?>checked="checked"<?php } ?> />
@@ -1123,7 +1122,7 @@ function bp_blogs_signup_blog( $blogname = '', $blog_title = '', $errors = '' )
1123
<input type="radio" id="blog_public_off" name="blog_public" value="0" <?php if( isset( $_POST['blog_public'] ) && '0' == $_POST['blog_public'] ) { ?>checked="checked"<?php } ?> />
1124
<strong><?php _e( 'No' , 'buddypress'); ?></strong>
1125
</label>
1126
- </p>
1127
1128
<?php
1129
1111
echo '<input name="blog_title" type="text" id="blog_title" value="'.esc_html($blog_title, 1).'" /></p>';
1112
?>
1113
1114
+ <fieldset class="create-site">
1115
+ <legend class="label"><?php _e('Privacy: I would like my site to appear in search engines, and in public listings around this network', 'buddypress') ?></legend>
1116
1117
<label class="checkbox" for="blog_public_on">
1118
<input type="radio" id="blog_public_on" name="blog_public" value="1" <?php if( !isset( $_POST['blog_public'] ) || '1' == $_POST['blog_public'] ) { ?>checked="checked"<?php } ?> />
1122
<input type="radio" id="blog_public_off" name="blog_public" value="0" <?php if( isset( $_POST['blog_public'] ) && '0' == $_POST['blog_public'] ) { ?>checked="checked"<?php } ?> />
1123
<strong><?php _e( 'No' , 'buddypress'); ?></strong>
1124
</label>
1125
+ </fieldset>
1126
1127
<?php
1128
bp-core/admin/bp-core-admin-functions.php CHANGED
@@ -1113,3 +1113,214 @@ function bp_core_admin_user_spammed_js() {
1113
</script>
1114
<?php
1115
}
1113
</script>
1114
<?php
1115
}
1116
+
1117
+ /** Upgrade protection *******************************************************/
1118
+
1119
+ /**
1120
+ * Determines whether the current installation is running PHP 5.3 or greater.
1121
+ *
1122
+ * BuddyPress 2.8 introduces a minimum PHP requirement of PHP 5.3.
1123
+ *
1124
+ * @since 2.7.0
1125
+ *
1126
+ * @return bool
1127
+ */
1128
+ function bp_core_admin_is_running_php53_or_greater() {
1129
+ return version_compare( PHP_VERSION, '5.3', '>=' );
1130
+ }
1131
+
1132
+ /**
1133
+ * Replaces WP's default update notice on plugins.php with an error message, when site is not running PHP 5.3 or greater.
1134
+ *
1135
+ * @since 2.7.0
1136
+ */
1137
+ function bp_core_admin_maybe_disable_update_row_for_php53_requirement() {
1138
+ if ( bp_core_admin_is_running_php53_or_greater() ) {
1139
+ return;
1140
+ }
1141
+
1142
+ $loader = basename( constant( 'BP_PLUGIN_DIR' ) ) . '/bp-loader.php';
1143
+
1144
+ remove_action( "after_plugin_row_{$loader}", 'wp_plugin_update_row', 10, 2 );
1145
+ add_action( "after_plugin_row_{$loader}", 'bp_core_admin_php52_plugin_row', 10, 2 );
1146
+ }
1147
+ add_action( 'load-plugins.php', 'bp_core_admin_maybe_disable_update_row_for_php53_requirement', 100 );
1148
+
1149
+ /**
1150
+ * On the "Dashboard > Updates" page, remove BuddyPress from plugins list if PHP < 5.3.
1151
+ *
1152
+ * @since 2.7.0
1153
+ */
1154
+ function bp_core_admin_maybe_remove_from_update_core() {
1155
+ if ( bp_core_admin_is_running_php53_or_greater() ) {
1156
+ return;
1157
+ }
1158
+
1159
+ // Add filter to remove BP from the update plugins list.
1160
+ add_filter( 'site_transient_update_plugins', 'bp_core_admin_remove_buddypress_from_update_transient' );
1161
+ }
1162
+ add_action( 'load-update-core.php', 'bp_core_admin_maybe_remove_from_update_core' );
1163
+
1164
+ /**
1165
+ * Filter callback to remove BuddyPress from the update plugins list.
1166
+ *
1167
+ * Attached to the 'site_transient_update_plugins' filter.
1168
+ *
1169
+ * @since 2.7.0
1170
+ *
1171
+ * @param object $retval Object of plugin update data.
1172
+ * @return object
1173
+ */
1174
+ function bp_core_admin_remove_buddypress_from_update_transient( $retval ) {
1175
+ $loader = basename( constant( 'BP_PLUGIN_DIR' ) ) . '/bp-loader.php';
1176
+
1177
+ // Remove BP from update plugins list.
1178
+ if ( isset( $retval->response[ $loader ] ) ) {
1179
+ unset( $retval->response[ $loader ] );
1180
+ }
1181
+
1182
+ return $retval;
1183
+ }
1184
+
1185
+ /**
1186
+ * Outputs a replacement for WP's default update notice, when site is not running PHP 5.3 or greater.
1187
+ *
1188
+ * When we see that a site is not running PHP 5.3 and is trying to update to
1189
+ * BP 2.8+, we replace WP's default notice with our own, which both provides a
1190
+ * link to our documentation of the requirement, and removes the link that
1191
+ * allows a single plugin to be updated.
1192
+ *
1193
+ * @since 2.7.0
1194
+ *
1195
+ * @param string $file Plugin filename. buddypress/bp-loader.php.
1196
+ * @param array $plugin_data Data about the BuddyPress plugin, as returned by the
1197
+ * plugins API.
1198
+ */
1199
+ function bp_core_admin_php52_plugin_row( $file, $plugin_data ) {
1200
+ if ( is_multisite() && ! is_network_admin() ) {
1201
+ return;
1202
+ }
1203
+
1204
+ $current = get_site_transient( 'update_plugins' );
1205
+ if ( ! isset( $current->response[ $file ] ) ) {
1206
+ return false;
1207
+ }
1208
+
1209
+ $response = $current->response[ $file ];
1210
+
1211
+ // No need to do this if update is for < BP 2.8.
1212
+ if ( version_compare( $response->new_version, '2.8', '<' ) ) {
1213
+ return false;
1214
+ }
1215
+
1216
+ $wp_list_table = _get_list_table( 'WP_Plugins_List_Table' );
1217
+
1218
+ if ( is_network_admin() ) {
1219
+ $active_class = is_plugin_active_for_network( $file ) ? ' active' : '';
1220
+ } else {
1221
+ $active_class = is_plugin_active( $file ) ? ' active' : '';
1222
+ }
1223
+
1224
+ // WP 4.6 uses different markup for the plugin row notice.
1225
+ if ( function_exists( 'wp_get_ext_types' ) ) {
1226
+ $p = '<p>%s</p>';
1227
+
1228
+ // WP < 4.6.
1229
+ } else {
1230
+ $p = '%s';
1231
+
1232
+ // Ugh.
1233
+ $active_class .= ' not-shiny';
1234
+ }
1235
+
1236
+ echo '<tr class="plugin-update-tr' . $active_class . '" id="' . esc_attr( $response->slug . '-update' ) . '" data-slug="' . esc_attr( $response->slug ) . '" data-plugin="' . esc_attr( $file ) . '"><td colspan="' . esc_attr( $wp_list_table->get_column_count() ) . '" class="plugin-update colspanchange"><div class="update-message inline notice notice-error notice-alt">';
1237
+
1238
+ printf( $p,
1239
+ esc_html__( 'A BuddyPress update is available, but your system is not compatible.', 'buddypress' ) . ' ' .
1240
+ sprintf( __( 'See <a href="%s">the Codex guide</a> for more information.', 'buddypress' ), 'https://codex.buddypress.org/getting-started/buddypress-2-8-will-require-php-5-3/' )
1241
+ );
1242
+
1243
+ echo '</div></td></tr>';
1244
+
1245
+ /*
1246
+ * JavaScript to disable the bulk upgrade checkbox.
1247
+ * See WP_Plugins_List_Table::single_row().
1248
+ */
1249
+ $checkbox_id = 'checkbox_' . md5( $plugin_data['Name'] );
1250
+ echo "<script type='text/javascript'>document.getElementById('$checkbox_id').disabled = true;</script>";
1251
+ }
1252
+
1253
+ /**
1254
+ * Add an admin notice to installations that are not running PHP 5.3+.
1255
+ *
1256
+ * @since 2.7.0
1257
+ */
1258
+ function bp_core_admin_php53_admin_notice() {
1259
+ // If not on the Plugins page, stop now.
1260
+ if ( 'plugins' !== get_current_screen()->parent_base ) {
1261
+ return;
1262
+ }
1263
+
1264
+ if ( ! current_user_can( 'update_core' ) ) {
1265
+ return;
1266
+ }
1267
+
1268
+ if ( bp_core_admin_is_running_php53_or_greater() ) {
1269
+ return;
1270
+ }
1271
+
1272
+ $notice_id = 'bp28-php53';
1273
+ if ( bp_get_option( "bp-dismissed-notice-$notice_id" ) ) {
1274
+ return;
1275
+ }
1276
+
1277
+ $bp = buddypress();
1278
+ $min = bp_core_get_minified_asset_suffix();
1279
+
1280
+ wp_enqueue_script(
1281
+ 'bp-dismissible-admin-notices',
1282
+ "{$bp->plugin_url}bp-core/admin/js/dismissible-admin-notices{$min}.js",
1283
+ array( 'jquery' ),
1284
+ bp_get_version(),
1285
+ true
1286
+ );
1287
+
1288
+ $php_version = PHP_VERSION;
1289
+
1290
+ ?>
1291
+
1292
+ <div id="message" class="error notice is-dismissible bp-is-dismissible" data-noticeid="<?php echo esc_attr( $notice_id ); ?>">
1293
+ <p><strong><?php esc_html_e( 'Your site is not ready for BuddyPress 2.8.', 'buddypress' ); ?></strong></p>
1294
+ <p><?php printf( esc_html__( 'Your site is currently running PHP version %s, while BuddyPress 2.8 will require version 5.3+.', 'buddypress' ), $php_version ); ?> <?php printf( __( 'See <a href="%s">the Codex guide</a> for more information.', 'buddypress' ), 'https://codex.buddypress.org/getting-started/buddypress-2-8-will-require-php-5-3/' ); ?></p>
1295
+ <?php wp_nonce_field( "bp-dismissible-notice-$notice_id", "bp-dismissible-nonce-$notice_id" ); ?>
1296
+ </div>
1297
+ <?php
1298
+ }
1299
+ add_action( 'admin_notices', 'bp_core_admin_php53_admin_notice' );
1300
+ add_action( 'network_admin_notices', 'bp_core_admin_php53_admin_notice' );
1301
+
1302
+ /**
1303
+ * Catch and process an admin notice dismissal.
1304
+ *
1305
+ * @since 2.7.0
1306
+ */
1307
+ function bp_core_admin_notice_dismiss_callback() {
1308
+ if ( ! current_user_can( 'install_plugins' ) ) {
1309
+ wp_send_json_error();
1310
+ }
1311
+
1312
+ if ( empty( $_POST['nonce'] ) || empty( $_POST['notice_id'] ) ) {
1313
+ wp_send_json_error();
1314
+ }
1315
+
1316
+ $notice_id = wp_unslash( $_POST['notice_id'] );
1317
+
1318
+ if ( ! wp_verify_nonce( $_POST['nonce'], 'bp-dismissible-notice-' . $notice_id ) ) {
1319
+ wp_send_json_error();
1320
+ }
1321
+
1322
+ bp_update_option( "bp-dismissed-notice-$notice_id", 1 );
1323
+
1324
+ wp_send_json_success();
1325
+ }
1326
+ add_action( 'wp_ajax_bp_dismiss_notice', 'bp_core_admin_notice_dismiss_callback' );
bp-core/admin/css/common-rtl.css CHANGED
@@ -21,6 +21,7 @@ TABLE OF CONTENTS:
21
3.0 User's Lists
22
4.0 Emails - Edit page
23
5.0 Tools - BuddyPress
24
------------------------------------------------------------------------------*/
25
26
/*------------------------------------------------------------------------------
@@ -65,7 +66,27 @@ TABLE OF CONTENTS:
65
.index_page_bp-about .bp-headline-feature,
66
.dashboard_page_bp-about .bp-headline-feature {
67
margin-bottom: 3em;
68
text-align: center;
69
}
70
71
.index_page_bp-about .bp-headline-feature h3,
@@ -73,16 +94,15 @@ TABLE OF CONTENTS:
73
.dashboard_page_bp-about .bp-headline-feature h3,
74
.dashboard_page_bp-about .bp-headline-feature .headline-title {
75
font-size: 2.2em;
76
- line-height: 1.3;
77
- margin: 1.25em 0 0.6em;
78
- text-align: center;
79
}
80
81
.index_page_bp-about .bp-headline-feature p,
82
.dashboard_page_bp-about .bp-headline-feature p {
83
font-size: 1.15em;
84
- margin: 1.15em auto 0.6em;
85
- max-width: 80%;
86
}
87
88
.index_page_bp-about .bp-headline-feature .introduction,
@@ -97,26 +117,46 @@ TABLE OF CONTENTS:
97
.index_page_bp-about .bp-features-section,
98
.dashboard_page_bp-about .bp-features-section {
99
clear: both;
100
- margin-bottom: 2em;
101
- margin-top: 2em;
102
padding-bottom: 0;
103
}
104
105
.index_page_bp-about .bp-features-section h3,
106
.dashboard_page_bp-about .bp-features-section h3 {
107
- font-size: 1.8em;
108
- font-weight: normal;
109
- line-height: 1.5em;
110
- margin: 0 0 0.6em;
111
text-align: center;
112
}
113
114
.index_page_bp-about .bp-feature,
115
.dashboard_page_bp-about .bp-feature {
116
- clear: both;
117
- overflow: hidden;
118
margin-bottom: 3em;
119
- margin-top: 3em;
120
}
121
122
.index_page_bp-about .bp-feature::after,
@@ -126,55 +166,28 @@ TABLE OF CONTENTS:
126
127
.index_page_bp-about .bp-feature h4,
128
.dashboard_page_bp-about .bp-feature h4 {
129
- color: #23282d;
130
- display: inline-block;
131
font-size: 1.25em;
132
- margin-bottom: 0.6em;
133
margin-top: 0;
134
- width: 47%;
135
}
136
137
.index_page_bp-about .bp-feature p,
138
.dashboard_page_bp-about .bp-feature p {
139
- float: right;
140
- font-size: 1.15em;
141
- width: 47%;
142
- }
143
-
144
- .index_page_bp-about .bp-feature.opposite h4,
145
- .dashboard_page_bp-about .bp-feature.opposite h4,
146
- .index_page_bp-about .bp-feature.opposite p,
147
- .dashboard_page_bp-about .bp-feature.opposite p {
148
- float: left;
149
- }
150
-
151
- .index_page_bp-about .bp-feature img,
152
- .dashboard_page_bp-about .bp-feature img {
153
- clear: left;
154
- float: left;
155
- margin-right: 2.5%;
156
- width: 50%;
157
- max-width: 50%;
158
- }
159
-
160
- .index_page_bp-about .bp-feature.opposite img,
161
- .dashboard_page_bp-about .bp-feature.opposite img{
162
- clear: right;
163
- float: right;
164
- margin-right: 0;
165
- margin-left: 2.5%;
166
}
167
168
-
169
/*
170
* 1.2.3 Changelog Section
171
*/
172
.index_page_bp-about .bp-changelog-section,
173
.dashboard_page_bp-about .bp-changelog-section {
174
- border-top: 1px solid #ccc;
175
clear: both;
176
- margin-bottom: 3em;
177
- margin-top: 2em;
178
padding-bottom: 0;
179
}
180
@@ -189,7 +202,7 @@ TABLE OF CONTENTS:
189
font-size: 1.8em;
190
font-weight: 300;
191
line-height: 1.5;
192
- margin: 1.25em 0 0.6em;
193
text-align: center;
194
}
195
@@ -213,39 +226,38 @@ TABLE OF CONTENTS:
213
214
.index_page_bp-about .bp-changelog h4,
215
.dashboard_page_bp-about .bp-changelog h4 {
216
- font-size: 1.15em;
217
- margin-top: 1.5em;
218
- margin-bottom: 0.6em;
219
}
220
221
.index_page_bp-about .bp-changelog p,
222
.dashboard_page_bp-about .bp-changelog p {
223
- font-size: 1.05em;
224
- margin-top: 0.75em;
225
}
226
227
.bp-assets {
228
clear: both;
229
margin-bottom: 2em;
230
- padding-top: 3em;
231
}
232
233
@media screen and ( max-width: 782px ) {
234
.index_page_bp-about .bp-headline-feature,
235
.dashboard_page_bp-about .bp-headline-feature {
236
- max-width: 100%;
237
- }
238
- .index_page_bp-about .bp-headline-feature .headline-title,
239
- .dashboard_page_bp-about .bp-headline-feature .headline-title {
240
- font-size: 1.5em;
241
- line-height: 1.5;
242
}
243
- .index_page_bp-about .bp-headline-feature p,
244
- .dashboard_page_bp-about .bp-headline-feature p {
245
- max-width: 100%;
246
}
247
.index_page_bp-about .bp-features-section,
248
.dashboard_page_bp-about .bp-features-section {
249
margin-bottom: 0;
250
margin-top: 2em;
251
}
@@ -256,6 +268,8 @@ TABLE OF CONTENTS:
256
font-size: 1.8em;
257
font-weight: 300;
258
line-height: 1.5;
259
}
260
.index_page_bp-about .bp-features-section h4,
261
.dashboard_page_bp-about .bp-features-section h4,
@@ -268,8 +282,17 @@ TABLE OF CONTENTS:
268
}
269
.index_page_bp-about .bp-feature,
270
.dashboard_page_bp-about .bp-feature {
271
margin-bottom: 1em;
272
margin-top: 1em;
273
}
274
.index_page_bp-about .bp-feature h4,
275
.dashboard_page_bp-about .bp-feature h4,
@@ -283,19 +306,22 @@ TABLE OF CONTENTS:
283
.dashboard_page_bp-about .bp-feature.opposite p {
284
float: none;
285
}
286
- .index_page_bp-about .bp-feature img,
287
- .dashboard_page_bp-about .bp-feature img {
288
- clear: right;
289
- float: none;
290
- margin-right: 0;
291
- width: 100%;
292
- max-width: 100%;
293
}
294
- .index_page_bp-about .bp-feature.opposite img,
295
- .dashboard_page_bp-about .bp-feature.opposite img{
296
- clear: right;
297
- float: none;
298
- margin-left: 0;
299
}
300
.index_page_bp-about .bp-changelog-section .two-col > div,
301
.dashboard_page_bp-about .bp-changelog-section .two-col > div {
@@ -304,8 +330,58 @@ TABLE OF CONTENTS:
304
width: 100%;
305
}
306
}
307
-
308
-
309
/*------------------------------------------------------------------------------
310
* 2.0 Dashicons
311
*----------------------------------------------------------------------------*/
@@ -536,3 +612,16 @@ body.post-type-bp-email .categorydiv label {
536
padding: 0 30px 0 0;
537
}
538
}
21
3.0 User's Lists
22
4.0 Emails - Edit page
23
5.0 Tools - BuddyPress
24
+ 6.0 Plugins page
25
------------------------------------------------------------------------------*/
26
27
/*------------------------------------------------------------------------------
66
.index_page_bp-about .bp-headline-feature,
67
.dashboard_page_bp-about .bp-headline-feature {
68
margin-bottom: 3em;
69
+ margin-top: 3em;
70
+ padding: 2em 3em;
71
+ }
72
+
73
+ .index_page_bp-about .bp-headline,
74
+ .dashboard_page_bp-about .bp-headline {
75
+ margin: 0 auto;
76
+ width: 35em;
77
+ }
78
+
79
+ .index_page_bp-about .bp-headline span.dashicons,
80
+ .dashboard_page_bp-about .bp-headline span.dashicons {
81
+ background-color: #f1f1f1;
82
+ clear: right;
83
+ font-size: 100px;
84
+ float: right;
85
+ height: 100px;
86
+ line-height: 100px;
87
+ margin: 0 0 15px 15px ;
88
text-align: center;
89
+ width: 100px;
90
}
91
92
.index_page_bp-about .bp-headline-feature h3,
94
.dashboard_page_bp-about .bp-headline-feature h3,
95
.dashboard_page_bp-about .bp-headline-feature .headline-title {
96
font-size: 2.2em;
97
+ font-weight: 300;
98
+ line-height: 1;
99
+ margin: 0 125px 0 0;
100
}
101
102
.index_page_bp-about .bp-headline-feature p,
103
.dashboard_page_bp-about .bp-headline-feature p {
104
font-size: 1.15em;
105
+ margin: 1.15em 125px 0.6em auto;
106
}
107
108
.index_page_bp-about .bp-headline-feature .introduction,
117
.index_page_bp-about .bp-features-section,
118
.dashboard_page_bp-about .bp-features-section {
119
clear: both;
120
+ margin-top: 3em;
121
+ overflow: hidden;
122
padding-bottom: 0;
123
}
124
125
+ .index_page_bp-about span.dashicons,
126
+ .dashboard_page_bp-about span.dashicons {
127
+ background-color: #fff;
128
+ border-radius: 50%;
129
+ clear: right;
130
+ color: #d84800;
131
+ font-size: 50px;
132
+ float: right;
133
+ height: 80px;
134
+ line-height: 80px;
135
+ margin: 0 0 15px 15px ;
136
+ text-align: center;
137
+ width: 80px;
138
+ }
139
+
140
.index_page_bp-about .bp-features-section h3,
141
.dashboard_page_bp-about .bp-features-section h3 {
142
+ font-size: 2em;
143
+ font-weight: 300;
144
+ line-height: 1.5;
145
+ margin: 0 auto 3em;
146
text-align: center;
147
}
148
149
.index_page_bp-about .bp-feature,
150
.dashboard_page_bp-about .bp-feature {
151
+ float: right;
152
margin-bottom: 3em;
153
+ margin-left: 4.799999999%;
154
+ width: 47.6%;
155
+ }
156
+
157
+ .index_page_bp-about .bp-feature:nth-of-type(2n),
158
+ .dashboard_page_bp-about .bp-feature:nth-of-type(2n) {
159
+ margin-left: 0;
160
}
161
162
.index_page_bp-about .bp-feature::after,
166
167
.index_page_bp-about .bp-feature h4,
168
.dashboard_page_bp-about .bp-feature h4 {
169
font-size: 1.25em;
170
+ line-height: 1.5;
171
+ margin-bottom: 0;
172
+ margin-right: 110px;
173
margin-top: 0;
174
+ text-align: right;
175
}
176
177
.index_page_bp-about .bp-feature p,
178
.dashboard_page_bp-about .bp-feature p {
179
+ margin-right: 110px;
180
}
181
182
/*
183
* 1.2.3 Changelog Section
184
*/
185
.index_page_bp-about .bp-changelog-section,
186
.dashboard_page_bp-about .bp-changelog-section {
187
clear: both;
188
+ margin-bottom: 8em;
189
+ margin-top: 3em;
190
+ overflow: hidden;
191
padding-bottom: 0;
192
}
193
202
font-size: 1.8em;
203
font-weight: 300;
204
line-height: 1.5;
205
+ margin: 0 auto 0.5em;
206
text-align: center;
207
}
208
226
227
.index_page_bp-about .bp-changelog h4,
228
.dashboard_page_bp-about .bp-changelog h4 {
229
+ font-size: 1em;
230
+ margin-bottom: 0;
231
+ margin-top: 0;
232
}
233
234
.index_page_bp-about .bp-changelog p,
235
.dashboard_page_bp-about .bp-changelog p {
236
+ margin-bottom: 3em;
237
+ }
238
+
239
+ .bp-changelog-url {
240
+ text-align: center;
241
}
242
243
.bp-assets {
244
clear: both;
245
margin-bottom: 2em;
246
}
247
248
@media screen and ( max-width: 782px ) {
249
.index_page_bp-about .bp-headline-feature,
250
.dashboard_page_bp-about .bp-headline-feature {
251
+ padding: 0;
252
}
253
+ .index_page_bp-about .bp-headline,
254
+ .dashboard_page_bp-about .bp-headline {
255
+ margin: 0;
256
+ width: 97%;
257
}
258
.index_page_bp-about .bp-features-section,
259
.dashboard_page_bp-about .bp-features-section {
260
+ clear: both;
261
margin-bottom: 0;
262
margin-top: 2em;
263
}
268
font-size: 1.8em;
269
font-weight: 300;
270
line-height: 1.5;
271
+ margin-bottom: 0.5em;
272
+ margin-top: 0.5em;
273
}
274
.index_page_bp-about .bp-features-section h4,
275
.dashboard_page_bp-about .bp-features-section h4,
282
}
283
.index_page_bp-about .bp-feature,
284
.dashboard_page_bp-about .bp-feature {
285
+ clear: both;
286
+ float: right;
287
margin-bottom: 1em;
288
margin-top: 1em;
289
+ margin-left: 0;
290
+ padding-left: 1em;
291
+ width: 100%;
292
+ }
293
+ .index_page_bp-about .bp-feature span,
294
+ .dashboard_page_bp-about .bp-feature span {
295
+ margin-top: 0.33em;
296
}
297
.index_page_bp-about .bp-feature h4,
298
.dashboard_page_bp-about .bp-feature h4,
306
.dashboard_page_bp-about .bp-feature.opposite p {
307
float: none;
308
}
309
+ .index_page_bp-about .bp-changelog-section,
310
+ .dashboard_page_bp-about .bp-changelog-section {
311
+ clear: both;
312
+ margin-bottom: 2em;
313
}
314
+ .index_page_bp-about .bp-changelog-section .changelog-title,
315
+ .dashboard_page_bp-about .bp-changelog-section .changelog-title {
316
+ margin-bottom: 1em;
317
+ }
318
+ .index_page_bp-about .bp-changelog h4,
319
+ .dashboard_page_bp-about .bp-changelog h4 {
320
+ font-size: 1em;
321
+ }
322
+ .index_page_bp-about .bp-changelog p,
323
+ .dashboard_page_bp-about .bp-changelog p {
324
+ margin-bottom: 2em;
325
}
326
.index_page_bp-about .bp-changelog-section .two-col > div,
327
.dashboard_page_bp-about .bp-changelog-section .two-col > div {
330
width: 100%;
331
}
332
}
333
+ @media screen and ( max-width: 360px ) {
334
+ .index_page_bp-about .bp-headline,
335
+ .dashboard_page_bp-about .bp-headline {
336
+ text-align: center;
337
+ }
338
+ .index_page_bp-about .bp-headline span.dashicons,
339
+ .dashboard_page_bp-about .bp-headline span.dashicons {
340
+ clear: none;
341
+ font-size: 80px;
342
+ float: none;
343
+ height: 80px;
344
+ line-height: 80px;
345
+ margin: 0 auto;
346
+ width: 80px;
347
+ }
348
+ .index_page_bp-about .bp-headline-feature h3,
349
+ .index_page_bp-about .bp-headline-feature .headline-title,
350
+ .dashboard_page_bp-about .bp-headline-feature h3,
351
+ .dashboard_page_bp-about .bp-headline-feature .headline-title {
352
+ margin: 1em 0 0 0;
353
+ text-align: right;
354
+ }
355
+ .index_page_bp-about .bp-headline-feature p,
356
+ .dashboard_page_bp-about .bp-headline-feature p {
357
+ margin: 1.15em 0 0.6em auto;
358
+ text-align: right;
359
+ }
360
+ .index_page_bp-about .bp-headline-feature .headline-title,
361
+ .dashboard_page_bp-about .bp-headline-feature .headline-title {
362
+ font-size: 1.5em;
363
+ line-height: 1.5;
364
+ }
365
+ .index_page_bp-about .bp-headline-feature p,
366
+ .dashboard_page_bp-about .bp-headline-feature p {
367
+ width: auto;
368
+ }
369
+ .index_page_bp-about .bp-feature,
370
+ .dashboard_page_bp-about .bp-feature {
371
+ text-align: center;
372
+ }
373
+ .index_page_bp-about span.dashicons,
374
+ .dashboard_page_bp-about span.dashicons {
375
+ float: none;
376
+ }
377
+ .index_page_bp-about .bp-features-section h4,
378
+ .dashboard_page_bp-about .bp-features-section h4,
379
+ .index_page_bp-about .bp-features-section p,
380
+ .dashboard_page_bp-about .bp-features-section p {
381
+ margin-right: 0;
382
+ text-align: right;
383
+ }
384
+ }
385
/*------------------------------------------------------------------------------
386
* 2.0 Dashicons
387
*----------------------------------------------------------------------------*/
612
padding: 0 30px 0 0;
613
}
614
}
615
+
616
+
617
+ /*------------------------------------------------------------------------------
618
+ * 6.0 Plugins page
619
+ *----------------------------------------------------------------------------*/
620
+ #buddypress-update.not-shiny .update-message {
621
+ border-right: 0;
622
+ padding-right: 36px;
623
+ }
624
+
625
+ #buddypress-update.not-shiny .update-message:before {
626
+ content: "\f534";
627
+ }
bp-core/admin/css/common-rtl.min.css CHANGED
@@ -1 +1 @@
1
- .bp-badge{color:#d84800;display:inline-block;font:400 150px/1 dashicons!important}.bp-badge:before{content:"\f448"}.dashboard_page_bp-about .bp-changelog-section::after,.dashboard_page_bp-about .bp-feature::after,.index_page_bp-about .bp-changelog-section::after,.index_page_bp-about .bp-feature::after{content:''}.about-wrap .bp-badge{position:absolute;top:0;left:0}@media only screen and (max-width:500px){.about-wrap .bp-badge{position:relative;margin:10px auto;top:auto;left:auto}}.dashboard_page_bp-about .bp-headline-feature,.index_page_bp-about .bp-headline-feature{margin-bottom:3em;text-align:center}.dashboard_page_bp-about .bp-headline-feature .headline-title,.dashboard_page_bp-about .bp-headline-feature h3,.index_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature h3{font-size:2.2em;line-height:1.3;margin:1.25em 0 .6em;text-align:center}.dashboard_page_bp-about .bp-headline-feature p,.index_page_bp-about .bp-headline-feature p{font-size:1.15em;margin:1.15em auto .6em;max-width:80%}.dashboard_page_bp-about .bp-headline-feature .introduction,.index_page_bp-about .bp-headline-feature .introduction{font-weight:600}.dashboard_page_bp-about .bp-features-section,.index_page_bp-about .bp-features-section{clear:both;margin-bottom:2em;margin-top:2em;padding-bottom:0}.dashboard_page_bp-about .bp-features-section h3,.index_page_bp-about .bp-features-section h3{font-size:1.8em;font-weight:400;line-height:1.5em;margin:0 0 .6em;text-align:center}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{clear:both;overflow:hidden;margin-bottom:3em;margin-top:3em}.dashboard_page_bp-about .bp-feature h4,.index_page_bp-about .bp-feature h4{color:#23282d;display:inline-block;font-size:1.25em;margin-bottom:.6em;margin-top:0;width:47%}.dashboard_page_bp-about .bp-feature p,.index_page_bp-about .bp-feature p{float:right;font-size:1.15em;width:47%}.dashboard_page_bp-about .bp-feature.opposite h4,.dashboard_page_bp-about .bp-feature.opposite p,.index_page_bp-about .bp-feature.opposite h4,.index_page_bp-about .bp-feature.opposite p{float:left}.dashboard_page_bp-about .bp-feature img,.index_page_bp-about .bp-feature img{clear:left;float:left;margin-right:2.5%;width:50%;max-width:50%}.dashboard_page_bp-about .bp-feature.opposite img,.index_page_bp-about .bp-feature.opposite img{clear:right;float:right;margin-right:0;margin-left:2.5%}.dashboard_page_bp-about .bp-changelog-section,.index_page_bp-about .bp-changelog-section{border-top:1px solid #ccc;clear:both;margin-bottom:3em;margin-top:2em;padding-bottom:0}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-changelog-section .changelog-title{color:#23282d;font-size:1.8em;font-weight:300;line-height:1.5;margin:1.25em 0 .6em;text-align:center}.dashboard_page_bp-about .bp-changelog-section .two-col>div,.index_page_bp-about .bp-changelog-section .two-col>div{float:right;margin-left:4.799999999%;position:relative;width:47.6%}.dashboard_page_bp-about .bp-changelog-section .two-col>div.last-feature,.index_page_bp-about .bp-changelog-section .two-col>div.last-feature{margin-left:0}.dashboard_page_bp-about .bp-changelog,.index_page_bp-about .bp-changelog{margin-bottom:3em}.dashboard_page_bp-about .bp-changelog h4,.index_page_bp-about .bp-changelog h4{font-size:1.15em;margin-top:1.5em;margin-bottom:.6em}.dashboard_page_bp-about .bp-changelog p,.index_page_bp-about .bp-changelog p{font-size:1.05em;margin-top:.75em}.bp-assets{clear:both;margin-bottom:2em;padding-top:3em}@media screen and (max-width:782px){.dashboard_page_bp-about .bp-headline-feature,.dashboard_page_bp-about .bp-headline-feature p,.index_page_bp-about .bp-headline-feature,.index_page_bp-about .bp-headline-feature p{max-width:100%}.dashboard_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature .headline-title{font-size:1.5em;line-height:1.5}.dashboard_page_bp-about .bp-features-section,.index_page_bp-about .bp-features-section{margin-bottom:0;margin-top:2em}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.dashboard_page_bp-about .bp-features-section h3,.index_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-features-section h3{font-size:1.8em;font-weight:300;line-height:1.5}.dashboard_page_bp-about .bp-changelog-section h4,.dashboard_page_bp-about .bp-features-section h4,.index_page_bp-about .bp-changelog-section h4,.index_page_bp-about .bp-features-section h4{font-size:1.25em;line-height:1.25;margin-top:.6em;text-align:right}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{margin-bottom:1em;margin-top:1em}.dashboard_page_bp-about .bp-feature h4,.dashboard_page_bp-about .bp-feature p,.index_page_bp-about .bp-feature h4,.index_page_bp-about .bp-feature p{width:100%}.dashboard_page_bp-about .bp-feature.opposite h4,.dashboard_page_bp-about .bp-feature.opposite p,.index_page_bp-about .bp-feature.opposite h4,.index_page_bp-about .bp-feature.opposite p{float:none}.dashboard_page_bp-about .bp-feature img,.index_page_bp-about .bp-feature img{clear:right;float:none;margin-right:0;width:100%;max-width:100%}.dashboard_page_bp-about .bp-feature.opposite img,.index_page_bp-about .bp-feature.opposite img{clear:right;float:none;margin-left:0}.dashboard_page_bp-about .bp-changelog-section .two-col>div,.index_page_bp-about .bp-changelog-section .two-col>div{margin-top:0;padding-bottom:.5em;width:100%}}#adminmenu #toplevel_page_bp-activity .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_user .wp-menu-image:before{content:"\f452"}#adminmenu #toplevel_page_bp-groups .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_user .wp-menu-image:before{content:"\f456"}#adminmenu #toplevel_page_bp-notifications .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_user .wp-menu-image:before{content:"\f439"}#adminmenu #toplevel_page_bp-messages .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_user .wp-menu-image:before{content:"\f457"}#adminmenu #toplevel_page_bp-friends .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_user .wp-menu-image:before{content:"\f454"}#adminmenu #toplevel_page_bp-settings .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_user .wp-menu-image:before{content:"\f108"}#adminmenu li.toplevel_page_bp-components .wp-menu-image,#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image{content:"\f448"}.settings_page_bp-components td.plugin-title span{float:right;width:18px;height:18px;margin-left:5px}.settings_page_bp-components td.plugin-title span:before{font-family:dashicons;font-size:18px}.settings_page_bp-components tr.activity td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.notifications td.plugin-title span:before{content:"\f339"}.settings_page_bp-components tr.xprofile td.plugin-title span:before{content:"\f336"}.settings_page_bp-components tr.settings td.plugin-title span:before{content:"\f108"}.settings_page_bp-components tr.groups td.plugin-title span:before{content:"\f456"}.settings_page_bp-components tr.messages td.plugin-title span:before{content:"\f457"}.settings_page_bp-components tr.forums td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.blogs td.plugin-title span:before{content:"\f120"}.settings_page_bp-components tr.friends td.plugin-title span:before{content:"\f454"}.settings_page_bp-components tr.core td.plugin-title span:before{content:"\f448"}.settings_page_bp-components tr.members td.plugin-title span:before{content:"\f307"}#bp-admin-component-form .wp-list-table.plugins .plugin-title{width:25%}@media screen and (max-width:782px){.settings_page_bp-components td.plugin-title span{margin-top:5px}#bp-admin-component-form .wp-list-table.plugins .plugin-title{display:block;width:auto}#bp-admin-component-form .subsubsub{margin-bottom:0;padding-bottom:35px}}#adminmenu .toplevel_page_network-tools div.wp-menu-image:before{content:""}body.site-users-php th#role,body.users-php th#role,body.users_page_bp-signups th#count_sent{width:10%}body.site-users-php th#email,body.site-users-php th#name,body.users-php th#email,body.users-php th#name,body.users-php th#registered,body.users_page_bp-signups th#date_sent,body.users_page_bp-signups th#email,body.users_page_bp-signups th#name,body.users_page_bp-signups th#registered{width:15%}body.post-type-bp-email th#situation,body.users-php th#blogs,body.users_page_bp-signups th#blogs{width:20%}body.users_page_bp-signups td.count_sent,body.users_page_bp-signups th.column-count_sent{text-align:center}body.post-type-bp-email #excerpt{height:auto}body.post-type-bp-email td.column-situation ul{margin:0}body.post-type-bp-email .categorydiv label{display:block;float:right;padding-right:25px;text-indent:-25px}.tools_page_bp-tools .wrap{max-width:950px}.tools_page_bp-tools p{line-height:2}.tools_page_bp-tools fieldset{margin:2em 0 0}.tools_page_bp-tools legend{color:#23282d;font-size:1.3em;font-weight:600px;margin:1em 0}.tools_page_bp-tools label{clear:right;display:block;line-height:1.5em;margin:0 0 1em;vertical-align:middle}@media screen and (max-width:782px){.tools_page_bp-tools p{line-height:1.5}.tools_page_bp-tools label{margin-bottom:1em;padding-left:25px;text-indent:-33px}.tools_page_bp-tools .checkbox{padding:0 30px 0 0}}
1
+ .bp-badge{color:#d84800;display:inline-block;font:400 150px/1 dashicons!important}.bp-badge:before{content:"\f448"}.dashboard_page_bp-about .bp-changelog-section::after,.dashboard_page_bp-about .bp-feature::after,.index_page_bp-about .bp-changelog-section::after,.index_page_bp-about .bp-feature::after{content:''}.about-wrap .bp-badge{position:absolute;top:0;left:0}@media only screen and (max-width:500px){.about-wrap .bp-badge{position:relative;margin:10px auto;top:auto;left:auto}}.dashboard_page_bp-about .bp-headline-feature,.index_page_bp-about .bp-headline-feature{margin-bottom:3em;margin-top:3em;padding:2em 3em}.dashboard_page_bp-about .bp-headline,.index_page_bp-about .bp-headline{margin:0 auto;width:35em}.dashboard_page_bp-about .bp-headline span.dashicons,.index_page_bp-about .bp-headline span.dashicons{background-color:#f1f1f1;clear:right;font-size:100px;float:right;height:100px;line-height:100px;margin:0 0 15px 15px;text-align:center;width:100px}.dashboard_page_bp-about .bp-headline-feature .headline-title,.dashboard_page_bp-about .bp-headline-feature h3,.index_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature h3{font-size:2.2em;font-weight:300;line-height:1;margin:0 125px 0 0}.dashboard_page_bp-about .bp-headline-feature p,.index_page_bp-about .bp-headline-feature p{font-size:1.15em;margin:1.15em 125px .6em auto}.dashboard_page_bp-about .bp-headline-feature .introduction,.index_page_bp-about .bp-headline-feature .introduction{font-weight:600}.dashboard_page_bp-about .bp-features-section,.index_page_bp-about .bp-features-section{clear:both;margin-top:3em;overflow:hidden;padding-bottom:0}.dashboard_page_bp-about span.dashicons,.index_page_bp-about span.dashicons{background-color:#fff;border-radius:50%;clear:right;color:#d84800;font-size:50px;float:right;height:80px;line-height:80px;margin:0 0 15px 15px;text-align:center;width:80px}.dashboard_page_bp-about .bp-features-section h3,.index_page_bp-about .bp-features-section h3{font-size:2em;font-weight:300;line-height:1.5;margin:0 auto 3em;text-align:center}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{float:right;margin-bottom:3em;margin-left:4.799999999%;width:47.6%}.dashboard_page_bp-about .bp-feature:nth-of-type(2n),.index_page_bp-about .bp-feature:nth-of-type(2n){margin-left:0}.dashboard_page_bp-about .bp-feature h4,.index_page_bp-about .bp-feature h4{font-size:1.25em;line-height:1.5;margin-bottom:0;margin-right:110px;margin-top:0;text-align:right}.dashboard_page_bp-about .bp-feature p,.index_page_bp-about .bp-feature p{margin-right:110px}.dashboard_page_bp-about .bp-changelog-section,.index_page_bp-about .bp-changelog-section{clear:both;margin-bottom:8em;margin-top:3em;overflow:hidden;padding-bottom:0}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-changelog-section .changelog-title{color:#23282d;font-size:1.8em;font-weight:300;line-height:1.5;margin:0 auto .5em;text-align:center}.dashboard_page_bp-about .bp-changelog-section .two-col>div,.index_page_bp-about .bp-changelog-section .two-col>div{float:right;margin-left:4.799999999%;position:relative;width:47.6%}.dashboard_page_bp-about .bp-changelog-section .two-col>div.last-feature,.index_page_bp-about .bp-changelog-section .two-col>div.last-feature{margin-left:0}.dashboard_page_bp-about .bp-changelog,.index_page_bp-about .bp-changelog{margin-bottom:3em}.dashboard_page_bp-about .bp-changelog h4,.index_page_bp-about .bp-changelog h4{font-size:1em;margin-bottom:0;margin-top:0}.dashboard_page_bp-about .bp-changelog p,.index_page_bp-about .bp-changelog p{margin-bottom:3em}.bp-changelog-url{text-align:center}.bp-assets{clear:both;margin-bottom:2em}@media screen and (max-width:782px){.dashboard_page_bp-about .bp-headline-feature,.index_page_bp-about .bp-headline-feature{padding:0}.dashboard_page_bp-about .bp-headline,.index_page_bp-about .bp-headline{margin:0;width:97%}.dashboard_page_bp-about .bp-features-section,.index_page_bp-about .bp-features-section{clear:both;margin-bottom:0;margin-top:2em}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.dashboard_page_bp-about .bp-features-section h3,.index_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-features-section h3{font-size:1.8em;font-weight:300;line-height:1.5;margin-bottom:.5em;margin-top:.5em}.dashboard_page_bp-about .bp-changelog-section h4,.dashboard_page_bp-about .bp-features-section h4,.index_page_bp-about .bp-changelog-section h4,.index_page_bp-about .bp-features-section h4{font-size:1.25em;line-height:1.25;margin-top:.6em;text-align:right}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{clear:both;float:right;margin-bottom:1em;margin-top:1em;margin-left:0;padding-left:1em;width:100%}.dashboard_page_bp-about .bp-feature span,.index_page_bp-about .bp-feature span{margin-top:.33em}.dashboard_page_bp-about .bp-feature h4,.dashboard_page_bp-about .bp-feature p,.index_page_bp-about .bp-feature h4,.index_page_bp-about .bp-feature p{width:100%}.dashboard_page_bp-about .bp-feature.opposite h4,.dashboard_page_bp-about .bp-feature.opposite p,.index_page_bp-about .bp-feature.opposite h4,.index_page_bp-about .bp-feature.opposite p{float:none}.dashboard_page_bp-about .bp-changelog-section,.index_page_bp-about .bp-changelog-section{clear:both;margin-bottom:2em}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-changelog-section .changelog-title{margin-bottom:1em}.dashboard_page_bp-about .bp-changelog h4,.index_page_bp-about .bp-changelog h4{font-size:1em}.dashboard_page_bp-about .bp-changelog p,.index_page_bp-about .bp-changelog p{margin-bottom:2em}.dashboard_page_bp-about .bp-changelog-section .two-col>div,.index_page_bp-about .bp-changelog-section .two-col>div{margin-top:0;padding-bottom:.5em;width:100%}}@media screen and (max-width:360px){.dashboard_page_bp-about .bp-headline,.index_page_bp-about .bp-headline{text-align:center}.dashboard_page_bp-about .bp-headline span.dashicons,.index_page_bp-about .bp-headline span.dashicons{clear:none;font-size:80px;float:none;height:80px;line-height:80px;margin:0 auto;width:80px}.dashboard_page_bp-about .bp-headline-feature .headline-title,.dashboard_page_bp-about .bp-headline-feature h3,.index_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature h3{margin:1em 0 0;text-align:right}.dashboard_page_bp-about .bp-headline-feature p,.index_page_bp-about .bp-headline-feature p{margin:1.15em 0 .6em auto;text-align:right;width:auto}.dashboard_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature .headline-title{font-size:1.5em;line-height:1.5}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{text-align:center}.dashboard_page_bp-about span.dashicons,.index_page_bp-about span.dashicons{float:none}.dashboard_page_bp-about .bp-features-section h4,.dashboard_page_bp-about .bp-features-section p,.index_page_bp-about .bp-features-section h4,.index_page_bp-about .bp-features-section p{margin-right:0;text-align:right}}#adminmenu #toplevel_page_bp-activity .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_user .wp-menu-image:before{content:"\f452"}#adminmenu #toplevel_page_bp-groups .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_user .wp-menu-image:before{content:"\f456"}#adminmenu #toplevel_page_bp-notifications .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_user .wp-menu-image:before{content:"\f439"}#adminmenu #toplevel_page_bp-messages .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_user .wp-menu-image:before{content:"\f457"}#adminmenu #toplevel_page_bp-friends .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_user .wp-menu-image:before{content:"\f454"}#adminmenu #toplevel_page_bp-settings .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_user .wp-menu-image:before{content:"\f108"}#adminmenu li.toplevel_page_bp-components .wp-menu-image,#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image{content:"\f448"}.settings_page_bp-components td.plugin-title span{float:right;width:18px;height:18px;margin-left:5px}.settings_page_bp-components td.plugin-title span:before{font-family:dashicons;font-size:18px}.settings_page_bp-components tr.activity td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.notifications td.plugin-title span:before{content:"\f339"}.settings_page_bp-components tr.xprofile td.plugin-title span:before{content:"\f336"}.settings_page_bp-components tr.settings td.plugin-title span:before{content:"\f108"}.settings_page_bp-components tr.groups td.plugin-title span:before{content:"\f456"}.settings_page_bp-components tr.messages td.plugin-title span:before{content:"\f457"}.settings_page_bp-components tr.forums td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.blogs td.plugin-title span:before{content:"\f120"}.settings_page_bp-components tr.friends td.plugin-title span:before{content:"\f454"}.settings_page_bp-components tr.core td.plugin-title span:before{content:"\f448"}.settings_page_bp-components tr.members td.plugin-title span:before{content:"\f307"}#bp-admin-component-form .wp-list-table.plugins .plugin-title{width:25%}@media screen and (max-width:782px){.settings_page_bp-components td.plugin-title span{margin-top:5px}#bp-admin-component-form .wp-list-table.plugins .plugin-title{display:block;width:auto}#bp-admin-component-form .subsubsub{margin-bottom:0;padding-bottom:35px}}#adminmenu .toplevel_page_network-tools div.wp-menu-image:before{content:""}body.site-users-php th#role,body.users-php th#role,body.users_page_bp-signups th#count_sent{width:10%}body.site-users-php th#email,body.site-users-php th#name,body.users-php th#email,body.users-php th#name,body.users-php th#registered,body.users_page_bp-signups th#date_sent,body.users_page_bp-signups th#email,body.users_page_bp-signups th#name,body.users_page_bp-signups th#registered{width:15%}body.post-type-bp-email th#situation,body.users-php th#blogs,body.users_page_bp-signups th#blogs{width:20%}body.users_page_bp-signups td.count_sent,body.users_page_bp-signups th.column-count_sent{text-align:center}body.post-type-bp-email #excerpt{height:auto}body.post-type-bp-email td.column-situation ul{margin:0}body.post-type-bp-email .categorydiv label{display:block;float:right;padding-right:25px;text-indent:-25px}.tools_page_bp-tools .wrap{max-width:950px}.tools_page_bp-tools p{line-height:2}.tools_page_bp-tools fieldset{margin:2em 0 0}.tools_page_bp-tools legend{color:#23282d;font-size:1.3em;font-weight:600px;margin:1em 0}.tools_page_bp-tools label{clear:right;display:block;line-height:1.5em;margin:0 0 1em;vertical-align:middle}@media screen and (max-width:782px){.tools_page_bp-tools p{line-height:1.5}.tools_page_bp-tools label{margin-bottom:1em;padding-left:25px;text-indent:-33px}.tools_page_bp-tools .checkbox{padding:0 30px 0 0}}#buddypress-update.not-shiny .update-message{border-right:0;padding-right:36px}#buddypress-update.not-shiny .update-message:before{content:"\f534"}
bp-core/admin/css/common.css CHANGED
@@ -21,6 +21,7 @@ TABLE OF CONTENTS:
21
3.0 User's Lists
22
4.0 Emails - Edit page
23
5.0 Tools - BuddyPress
24
------------------------------------------------------------------------------*/
25
26
/*------------------------------------------------------------------------------
@@ -65,7 +66,27 @@ TABLE OF CONTENTS:
65
.index_page_bp-about .bp-headline-feature,
66
.dashboard_page_bp-about .bp-headline-feature {
67
margin-bottom: 3em;
68
text-align: center;
69
}
70
71
.index_page_bp-about .bp-headline-feature h3,
@@ -73,16 +94,15 @@ TABLE OF CONTENTS:
73
.dashboard_page_bp-about .bp-headline-feature h3,
74
.dashboard_page_bp-about .bp-headline-feature .headline-title {
75
font-size: 2.2em;
76
- line-height: 1.3;
77
- margin: 1.25em 0 0.6em;
78
- text-align: center;
79
}
80
81
.index_page_bp-about .bp-headline-feature p,
82
.dashboard_page_bp-about .bp-headline-feature p {
83
font-size: 1.15em;
84
- margin: 1.15em auto 0.6em;
85
- max-width: 80%;
86
}
87
88
.index_page_bp-about .bp-headline-feature .introduction,
@@ -97,26 +117,46 @@ TABLE OF CONTENTS:
97
.index_page_bp-about .bp-features-section,
98
.dashboard_page_bp-about .bp-features-section {
99
clear: both;
100
- margin-bottom: 2em;
101
- margin-top: 2em;
102
padding-bottom: 0;
103
}
104
105
.index_page_bp-about .bp-features-section h3,
106
.dashboard_page_bp-about .bp-features-section h3 {
107
- font-size: 1.8em;
108
- font-weight: normal;
109
- line-height: 1.5em;
110
- margin: 0 0 0.6em;
111
text-align: center;
112
}
113
114
.index_page_bp-about .bp-feature,
115
.dashboard_page_bp-about .bp-feature {
116
- clear: both;
117
- overflow: hidden;
118
margin-bottom: 3em;
119
- margin-top: 3em;
120
}
121
122
.index_page_bp-about .bp-feature::after,
@@ -126,55 +166,28 @@ TABLE OF CONTENTS:
126
127
.index_page_bp-about .bp-feature h4,
128
.dashboard_page_bp-about .bp-feature h4 {
129
- color: #23282d;
130
- display: inline-block;
131
font-size: 1.25em;
132
- margin-bottom: 0.6em;
133
margin-top: 0;
134
- width: 47%;
135
}
136
137
.index_page_bp-about .bp-feature p,
138
.dashboard_page_bp-about .bp-feature p {
139
- float: left;
140
- font-size: 1.15em;
141
- width: 47%;
142
- }
143
-
144
- .index_page_bp-about .bp-feature.opposite h4,
145
- .dashboard_page_bp-about .bp-feature.opposite h4,
146
- .index_page_bp-about .bp-feature.opposite p,
147
- .dashboard_page_bp-about .bp-feature.opposite p {
148
- float: right;
149
- }
150
-
151
- .index_page_bp-about .bp-feature img,
152
- .dashboard_page_bp-about .bp-feature img {
153
- clear: right;
154
- float: right;
155
- margin-left: 2.5%;
156
- width: 50%;
157
- max-width: 50%;
158
- }
159
-
160
- .index_page_bp-about .bp-feature.opposite img,
161
- .dashboard_page_bp-about .bp-feature.opposite img{
162
- clear: left;
163
- float: left;
164
- margin-left: 0;
165
- margin-right: 2.5%;
166
}
167
168
-
169
/*
170
* 1.2.3 Changelog Section
171
*/
172
.index_page_bp-about .bp-changelog-section,
173
.dashboard_page_bp-about .bp-changelog-section {
174
- border-top: 1px solid #ccc;
175
clear: both;
176
- margin-bottom: 3em;
177
- margin-top: 2em;
178
padding-bottom: 0;
179
}
180
@@ -189,7 +202,7 @@ TABLE OF CONTENTS:
189
font-size: 1.8em;
190
font-weight: 300;
191
line-height: 1.5;
192
- margin: 1.25em 0 0.6em;
193
text-align: center;
194
}
195
@@ -213,39 +226,38 @@ TABLE OF CONTENTS:
213
214
.index_page_bp-about .bp-changelog h4,
215
.dashboard_page_bp-about .bp-changelog h4 {
216
- font-size: 1.15em;
217
- margin-top: 1.5em;
218
- margin-bottom: 0.6em;
219
}
220
221
.index_page_bp-about .bp-changelog p,
222
.dashboard_page_bp-about .bp-changelog p {
223
- font-size: 1.05em;
224
- margin-top: 0.75em;
225
}
226
227
.bp-assets {
228
clear: both;
229
margin-bottom: 2em;
230
- padding-top: 3em;
231
}
232
233
@media screen and ( max-width: 782px ) {
234
.index_page_bp-about .bp-headline-feature,
235
.dashboard_page_bp-about .bp-headline-feature {
236
- max-width: 100%;
237
- }
238
- .index_page_bp-about .bp-headline-feature .headline-title,
239
- .dashboard_page_bp-about .bp-headline-feature .headline-title {
240
- font-size: 1.5em;
241
- line-height: 1.5;
242
}
243
- .index_page_bp-about .bp-headline-feature p,
244
- .dashboard_page_bp-about .bp-headline-feature p {
245
- max-width: 100%;
246
}
247
.index_page_bp-about .bp-features-section,
248
.dashboard_page_bp-about .bp-features-section {
249
margin-bottom: 0;
250
margin-top: 2em;
251
}
@@ -256,6 +268,8 @@ TABLE OF CONTENTS:
256
font-size: 1.8em;
257
font-weight: 300;
258
line-height: 1.5;
259
}
260
.index_page_bp-about .bp-features-section h4,
261
.dashboard_page_bp-about .bp-features-section h4,
@@ -268,8 +282,17 @@ TABLE OF CONTENTS:
268
}
269
.index_page_bp-about .bp-feature,
270
.dashboard_page_bp-about .bp-feature {
271
margin-bottom: 1em;
272
margin-top: 1em;
273
}
274
.index_page_bp-about .bp-feature h4,
275
.dashboard_page_bp-about .bp-feature h4,
@@ -283,19 +306,22 @@ TABLE OF CONTENTS:
283
.dashboard_page_bp-about .bp-feature.opposite p {
284
float: none;
285
}
286
- .index_page_bp-about .bp-feature img,
287
- .dashboard_page_bp-about .bp-feature img {
288
- clear: left;
289
- float: none;
290
- margin-left: 0;
291
- width: 100%;
292
- max-width: 100%;
293
}
294
- .index_page_bp-about .bp-feature.opposite img,
295
- .dashboard_page_bp-about .bp-feature.opposite img{
296
- clear: left;
297
- float: none;
298
- margin-right: 0;
299
}
300
.index_page_bp-about .bp-changelog-section .two-col > div,
301
.dashboard_page_bp-about .bp-changelog-section .two-col > div {
@@ -304,8 +330,58 @@ TABLE OF CONTENTS:
304
width: 100%;
305
}
306
}
307
-
308
-
309
/*------------------------------------------------------------------------------
310
* 2.0 Dashicons
311
*----------------------------------------------------------------------------*/
@@ -536,3 +612,16 @@ body.post-type-bp-email .categorydiv label {
536
padding: 0 0 0 30px;
537
}
538
}
21
3.0 User's Lists
22
4.0 Emails - Edit page
23
5.0 Tools - BuddyPress
24
+ 6.0 Plugins page
25
------------------------------------------------------------------------------*/
26
27
/*------------------------------------------------------------------------------
66
.index_page_bp-about .bp-headline-feature,
67
.dashboard_page_bp-about .bp-headline-feature {
68
margin-bottom: 3em;
69
+ margin-top: 3em;
70
+ padding: 2em 3em;
71
+ }
72
+
73
+ .index_page_bp-about .bp-headline,
74
+ .dashboard_page_bp-about .bp-headline {
75
+ margin: 0 auto;
76
+ width: 35em;
77
+ }
78
+
79
+ .index_page_bp-about .bp-headline span.dashicons,
80
+ .dashboard_page_bp-about .bp-headline span.dashicons {
81
+ background-color: #f1f1f1;
82
+ clear: left;
83
+ font-size: 100px;
84
+ float: left;
85
+ height: 100px;
86
+ line-height: 100px;
87
+ margin: 0 15px 15px 0 ;
88
text-align: center;
89
+ width: 100px;
90
}
91
92
.index_page_bp-about .bp-headline-feature h3,
94
.dashboard_page_bp-about .bp-headline-feature h3,
95
.dashboard_page_bp-about .bp-headline-feature .headline-title {
96
font-size: 2.2em;
97
+ font-weight: 300;
98
+ line-height: 1;
99
+ margin: 0 0 0 125px;
100
}
101
102
.index_page_bp-about .bp-headline-feature p,
103
.dashboard_page_bp-about .bp-headline-feature p {
104
font-size: 1.15em;
105
+ margin: 1.15em auto 0.6em 125px;
106
}
107
108
.index_page_bp-about .bp-headline-feature .introduction,
117
.index_page_bp-about .bp-features-section,
118
.dashboard_page_bp-about .bp-features-section {
119
clear: both;
120
+ margin-top: 3em;
121
+ overflow: hidden;
122
padding-bottom: 0;
123
}
124
125
+ .index_page_bp-about span.dashicons,
126
+ .dashboard_page_bp-about span.dashicons {
127
+ background-color: #fff;
128
+ border-radius: 50%;
129
+ clear: left;
130
+ color: #d84800;
131
+ font-size: 50px;
132
+ float: left;
133
+ height: 80px;
134
+ line-height: 80px;
135
+ margin: 0 15px 15px 0 ;
136
+ text-align: center;
137
+ width: 80px;
138
+ }
139
+
140
.index_page_bp-about .bp-features-section h3,
141
.dashboard_page_bp-about .bp-features-section h3 {
142
+ font-size: 2em;
143
+ font-weight: 300;
144
+ line-height: 1.5;
145
+ margin: 0 auto 3em;
146
text-align: center;
147
}
148
149
.index_page_bp-about .bp-feature,
150
.dashboard_page_bp-about .bp-feature {
151
+ float: left;
152
margin-bottom: 3em;
153
+ margin-right: 4.799999999%;
154
+ width: 47.6%;
155
+ }
156
+
157
+ .index_page_bp-about .bp-feature:nth-of-type(2n),
158
+ .dashboard_page_bp-about .bp-feature:nth-of-type(2n) {
159
+ margin-right: 0;
160
}
161
162
.index_page_bp-about .bp-feature::after,
166
167
.index_page_bp-about .bp-feature h4,
168
.dashboard_page_bp-about .bp-feature h4 {
169
font-size: 1.25em;
170
+ line-height: 1.5;
171
+ margin-bottom: 0;
172
+ margin-left: 110px;
173
margin-top: 0;
174
+ text-align: left;
175
}
176
177
.index_page_bp-about .bp-feature p,
178
.dashboard_page_bp-about .bp-feature p {
179
+ margin-left: 110px;
180
}
181
182
/*
183
* 1.2.3 Changelog Section
184
*/
185
.index_page_bp-about .bp-changelog-section,
186
.dashboard_page_bp-about .bp-changelog-section {
187
clear: both;
188
+ margin-bottom: 8em;
189
+ margin-top: 3em;
190
+ overflow: hidden;
191
padding-bottom: 0;
192
}
193
202
font-size: 1.8em;
203
font-weight: 300;
204
line-height: 1.5;
205
+ margin: 0 auto 0.5em;
206
text-align: center;
207
}
208
226
227
.index_page_bp-about .bp-changelog h4,
228
.dashboard_page_bp-about .bp-changelog h4 {
229
+ font-size: 1em;
230
+ margin-bottom: 0;
231
+ margin-top: 0;
232
}
233
234
.index_page_bp-about .bp-changelog p,
235
.dashboard_page_bp-about .bp-changelog p {
236
+ margin-bottom: 3em;
237
+ }
238
+
239
+ .bp-changelog-url {
240
+ text-align: center;
241
}
242
243
.bp-assets {
244
clear: both;
245
margin-bottom: 2em;
246
}
247
248
@media screen and ( max-width: 782px ) {
249
.index_page_bp-about .bp-headline-feature,
250
.dashboard_page_bp-about .bp-headline-feature {
251
+ padding: 0;
252
}
253
+ .index_page_bp-about .bp-headline,
254
+ .dashboard_page_bp-about .bp-headline {
255
+ margin: 0;
256
+ width: 97%;
257
}
258
.index_page_bp-about .bp-features-section,
259
.dashboard_page_bp-about .bp-features-section {
260
+ clear: both;
261
margin-bottom: 0;
262
margin-top: 2em;
263
}
268
font-size: 1.8em;
269
font-weight: 300;
270
line-height: 1.5;
271
+ margin-bottom: 0.5em;
272
+ margin-top: 0.5em;
273
}
274
.index_page_bp-about .bp-features-section h4,
275
.dashboard_page_bp-about .bp-features-section h4,
282
}
283
.index_page_bp-about .bp-feature,
284
.dashboard_page_bp-about .bp-feature {
285
+ clear: both;
286
+ float: left;
287
margin-bottom: 1em;
288
margin-top: 1em;
289
+ margin-right: 0;
290
+ padding-right: 1em;
291
+ width: 100%;
292
+ }
293
+ .index_page_bp-about .bp-feature span,
294
+ .dashboard_page_bp-about .bp-feature span {
295
+ margin-top: 0.33em;
296
}
297
.index_page_bp-about .bp-feature h4,
298
.dashboard_page_bp-about .bp-feature h4,
306
.dashboard_page_bp-about .bp-feature.opposite p {
307
float: none;
308
}
309
+ .index_page_bp-about .bp-changelog-section,
310
+ .dashboard_page_bp-about .bp-changelog-section {
311
+ clear: both;
312
+ margin-bottom: 2em;
313
}
314
+ .index_page_bp-about .bp-changelog-section .changelog-title,
315
+ .dashboard_page_bp-about .bp-changelog-section .changelog-title {
316
+ margin-bottom: 1em;
317
+ }
318
+ .index_page_bp-about .bp-changelog h4,
319
+ .dashboard_page_bp-about .bp-changelog h4 {
320
+ font-size: 1em;
321
+ }
322
+ .index_page_bp-about .bp-changelog p,
323
+ .dashboard_page_bp-about .bp-changelog p {
324
+ margin-bottom: 2em;
325
}
326
.index_page_bp-about .bp-changelog-section .two-col > div,
327
.dashboard_page_bp-about .bp-changelog-section .two-col > div {
330
width: 100%;
331
}
332
}
333
+ @media screen and ( max-width: 360px ) {
334
+ .index_page_bp-about .bp-headline,
335
+ .dashboard_page_bp-about .bp-headline {
336
+ text-align: center;
337
+ }
338
+ .index_page_bp-about .bp-headline span.dashicons,
339
+ .dashboard_page_bp-about .bp-headline span.dashicons {
340
+ clear: none;
341
+ font-size: 80px;
342
+ float: none;
343
+ height: 80px;
344
+ line-height: 80px;
345
+ margin: 0 auto;
346
+ width: 80px;
347
+ }
348
+ .index_page_bp-about .bp-headline-feature h3,
349
+ .index_page_bp-about .bp-headline-feature .headline-title,
350
+ .dashboard_page_bp-about .bp-headline-feature h3,
351
+ .dashboard_page_bp-about .bp-headline-feature .headline-title {
352
+ margin: 1em 0 0 0;
353
+ text-align: left;
354
+ }
355
+ .index_page_bp-about .bp-headline-feature p,
356
+ .dashboard_page_bp-about .bp-headline-feature p {
357
+ margin: 1.15em auto 0.6em 0;
358
+ text-align: left;
359
+ }
360
+ .index_page_bp-about .bp-headline-feature .headline-title,
361
+ .dashboard_page_bp-about .bp-headline-feature .headline-title {
362
+ font-size: 1.5em;
363
+ line-height: 1.5;
364
+ }
365
+ .index_page_bp-about .bp-headline-feature p,
366
+ .dashboard_page_bp-about .bp-headline-feature p {
367
+ width: auto;
368
+ }
369
+ .index_page_bp-about .bp-feature,
370
+ .dashboard_page_bp-about .bp-feature {
371
+ text-align: center;
372
+ }
373
+ .index_page_bp-about span.dashicons,
374
+ .dashboard_page_bp-about span.dashicons {
375
+ float: none;
376
+ }
377
+ .index_page_bp-about .bp-features-section h4,
378
+ .dashboard_page_bp-about .bp-features-section h4,
379
+ .index_page_bp-about .bp-features-section p,
380
+ .dashboard_page_bp-about .bp-features-section p {
381
+ margin-left: 0;
382
+ text-align: left;
383
+ }
384
+ }
385
/*------------------------------------------------------------------------------
386
* 2.0 Dashicons
387
*----------------------------------------------------------------------------*/
612
padding: 0 0 0 30px;
613
}
614
}
615
+
616
+
617
+ /*------------------------------------------------------------------------------
618
+ * 6.0 Plugins page
619
+ *----------------------------------------------------------------------------*/
620
+ #buddypress-update.not-shiny .update-message {
621
+ border-left: 0;
622
+ padding-left: 36px;
623
+ }
624
+
625
+ #buddypress-update.not-shiny .update-message:before {
626
+ content: "\f534";
627
+ }
bp-core/admin/css/common.min.css CHANGED
@@ -1 +1 @@
1
- .bp-badge{color:#d84800;display:inline-block;font:400 150px/1 dashicons!important}.bp-badge:before{content:"\f448"}.dashboard_page_bp-about .bp-changelog-section::after,.dashboard_page_bp-about .bp-feature::after,.index_page_bp-about .bp-changelog-section::after,.index_page_bp-about .bp-feature::after{content:''}.about-wrap .bp-badge{position:absolute;top:0;right:0}@media only screen and (max-width:500px){.about-wrap .bp-badge{position:relative;margin:10px auto;top:auto;right:auto}}.dashboard_page_bp-about .bp-headline-feature,.index_page_bp-about .bp-headline-feature{margin-bottom:3em;text-align:center}.dashboard_page_bp-about .bp-headline-feature .headline-title,.dashboard_page_bp-about .bp-headline-feature h3,.index_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature h3{font-size:2.2em;line-height:1.3;margin:1.25em 0 .6em;text-align:center}.dashboard_page_bp-about .bp-headline-feature p,.index_page_bp-about .bp-headline-feature p{font-size:1.15em;margin:1.15em auto .6em;max-width:80%}.dashboard_page_bp-about .bp-headline-feature .introduction,.index_page_bp-about .bp-headline-feature .introduction{font-weight:600}.dashboard_page_bp-about .bp-features-section,.index_page_bp-about .bp-features-section{clear:both;margin-bottom:2em;margin-top:2em;padding-bottom:0}.dashboard_page_bp-about .bp-features-section h3,.index_page_bp-about .bp-features-section h3{font-size:1.8em;font-weight:400;line-height:1.5em;margin:0 0 .6em;text-align:center}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{clear:both;overflow:hidden;margin-bottom:3em;margin-top:3em}.dashboard_page_bp-about .bp-feature h4,.index_page_bp-about .bp-feature h4{color:#23282d;display:inline-block;font-size:1.25em;margin-bottom:.6em;margin-top:0;width:47%}.dashboard_page_bp-about .bp-feature p,.index_page_bp-about .bp-feature p{float:left;font-size:1.15em;width:47%}.dashboard_page_bp-about .bp-feature.opposite h4,.dashboard_page_bp-about .bp-feature.opposite p,.index_page_bp-about .bp-feature.opposite h4,.index_page_bp-about .bp-feature.opposite p{float:right}.dashboard_page_bp-about .bp-feature img,.index_page_bp-about .bp-feature img{clear:right;float:right;margin-left:2.5%;width:50%;max-width:50%}.dashboard_page_bp-about .bp-feature.opposite img,.index_page_bp-about .bp-feature.opposite img{clear:left;float:left;margin-left:0;margin-right:2.5%}.dashboard_page_bp-about .bp-changelog-section,.index_page_bp-about .bp-changelog-section{border-top:1px solid #ccc;clear:both;margin-bottom:3em;margin-top:2em;padding-bottom:0}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-changelog-section .changelog-title{color:#23282d;font-size:1.8em;font-weight:300;line-height:1.5;margin:1.25em 0 .6em;text-align:center}.dashboard_page_bp-about .bp-changelog-section .two-col>div,.index_page_bp-about .bp-changelog-section .two-col>div{float:left;margin-right:4.799999999%;position:relative;width:47.6%}.dashboard_page_bp-about .bp-changelog-section .two-col>div.last-feature,.index_page_bp-about .bp-changelog-section .two-col>div.last-feature{margin-right:0}.dashboard_page_bp-about .bp-changelog,.index_page_bp-about .bp-changelog{margin-bottom:3em}.dashboard_page_bp-about .bp-changelog h4,.index_page_bp-about .bp-changelog h4{font-size:1.15em;margin-top:1.5em;margin-bottom:.6em}.dashboard_page_bp-about .bp-changelog p,.index_page_bp-about .bp-changelog p{font-size:1.05em;margin-top:.75em}.bp-assets{clear:both;margin-bottom:2em;padding-top:3em}@media screen and (max-width:782px){.dashboard_page_bp-about .bp-headline-feature,.dashboard_page_bp-about .bp-headline-feature p,.index_page_bp-about .bp-headline-feature,.index_page_bp-about .bp-headline-feature p{max-width:100%}.dashboard_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature .headline-title{font-size:1.5em;line-height:1.5}.dashboard_page_bp-about .bp-features-section,.index_page_bp-about .bp-features-section{margin-bottom:0;margin-top:2em}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.dashboard_page_bp-about .bp-features-section h3,.index_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-features-section h3{font-size:1.8em;font-weight:300;line-height:1.5}.dashboard_page_bp-about .bp-changelog-section h4,.dashboard_page_bp-about .bp-features-section h4,.index_page_bp-about .bp-changelog-section h4,.index_page_bp-about .bp-features-section h4{font-size:1.25em;line-height:1.25;margin-top:.6em;text-align:left}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{margin-bottom:1em;margin-top:1em}.dashboard_page_bp-about .bp-feature h4,.dashboard_page_bp-about .bp-feature p,.index_page_bp-about .bp-feature h4,.index_page_bp-about .bp-feature p{width:100%}.dashboard_page_bp-about .bp-feature.opposite h4,.dashboard_page_bp-about .bp-feature.opposite p,.index_page_bp-about .bp-feature.opposite h4,.index_page_bp-about .bp-feature.opposite p{float:none}.dashboard_page_bp-about .bp-feature img,.index_page_bp-about .bp-feature img{clear:left;float:none;margin-left:0;width:100%;max-width:100%}.dashboard_page_bp-about .bp-feature.opposite img,.index_page_bp-about .bp-feature.opposite img{clear:left;float:none;margin-right:0}.dashboard_page_bp-about .bp-changelog-section .two-col>div,.index_page_bp-about .bp-changelog-section .two-col>div{margin-top:0;padding-bottom:.5em;width:100%}}#adminmenu #toplevel_page_bp-activity .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_user .wp-menu-image:before{content:"\f452"}#adminmenu #toplevel_page_bp-groups .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_user .wp-menu-image:before{content:"\f456"}#adminmenu #toplevel_page_bp-notifications .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_user .wp-menu-image:before{content:"\f439"}#adminmenu #toplevel_page_bp-messages .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_user .wp-menu-image:before{content:"\f457"}#adminmenu #toplevel_page_bp-friends .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_user .wp-menu-image:before{content:"\f454"}#adminmenu #toplevel_page_bp-settings .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_user .wp-menu-image:before{content:"\f108"}#adminmenu li.toplevel_page_bp-components .wp-menu-image,#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image{content:"\f448"}.settings_page_bp-components td.plugin-title span{float:left;width:18px;height:18px;margin-right:5px}.settings_page_bp-components td.plugin-title span:before{font-family:dashicons;font-size:18px}.settings_page_bp-components tr.activity td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.notifications td.plugin-title span:before{content:"\f339"}.settings_page_bp-components tr.xprofile td.plugin-title span:before{content:"\f336"}.settings_page_bp-components tr.settings td.plugin-title span:before{content:"\f108"}.settings_page_bp-components tr.groups td.plugin-title span:before{content:"\f456"}.settings_page_bp-components tr.messages td.plugin-title span:before{content:"\f457"}.settings_page_bp-components tr.forums td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.blogs td.plugin-title span:before{content:"\f120"}.settings_page_bp-components tr.friends td.plugin-title span:before{content:"\f454"}.settings_page_bp-components tr.core td.plugin-title span:before{content:"\f448"}.settings_page_bp-components tr.members td.plugin-title span:before{content:"\f307"}#bp-admin-component-form .wp-list-table.plugins .plugin-title{width:25%}@media screen and (max-width:782px){.settings_page_bp-components td.plugin-title span{margin-top:5px}#bp-admin-component-form .wp-list-table.plugins .plugin-title{display:block;width:auto}#bp-admin-component-form .subsubsub{margin-bottom:0;padding-bottom:35px}}#adminmenu .toplevel_page_network-tools div.wp-menu-image:before{content:""}body.site-users-php th#role,body.users-php th#role,body.users_page_bp-signups th#count_sent{width:10%}body.site-users-php th#email,body.site-users-php th#name,body.users-php th#email,body.users-php th#name,body.users-php th#registered,body.users_page_bp-signups th#date_sent,body.users_page_bp-signups th#email,body.users_page_bp-signups th#name,body.users_page_bp-signups th#registered{width:15%}body.post-type-bp-email th#situation,body.users-php th#blogs,body.users_page_bp-signups th#blogs{width:20%}body.users_page_bp-signups td.count_sent,body.users_page_bp-signups th.column-count_sent{text-align:center}body.post-type-bp-email #excerpt{height:auto}body.post-type-bp-email td.column-situation ul{margin:0}body.post-type-bp-email .categorydiv label{display:block;float:left;padding-left:25px;text-indent:-25px}.tools_page_bp-tools .wrap{max-width:950px}.tools_page_bp-tools p{line-height:2}.tools_page_bp-tools fieldset{margin:2em 0 0}.tools_page_bp-tools legend{color:#23282d;font-size:1.3em;font-weight:600px;margin:1em 0}.tools_page_bp-tools label{clear:left;display:block;line-height:1.5em;margin:0 0 1em;vertical-align:middle}@media screen and (max-width:782px){.tools_page_bp-tools p{line-height:1.5}.tools_page_bp-tools label{margin-bottom:1em;padding-right:25px;text-indent:-33px}.tools_page_bp-tools .checkbox{padding:0 0 0 30px}}
1
+ .bp-badge{color:#d84800;display:inline-block;font:400 150px/1 dashicons!important}.bp-badge:before{content:"\f448"}.dashboard_page_bp-about .bp-changelog-section::after,.dashboard_page_bp-about .bp-feature::after,.index_page_bp-about .bp-changelog-section::after,.index_page_bp-about .bp-feature::after{content:''}.about-wrap .bp-badge{position:absolute;top:0;right:0}@media only screen and (max-width:500px){.about-wrap .bp-badge{position:relative;margin:10px auto;top:auto;right:auto}}.dashboard_page_bp-about .bp-headline-feature,.index_page_bp-about .bp-headline-feature{margin-bottom:3em;margin-top:3em;padding:2em 3em}.dashboard_page_bp-about .bp-headline,.index_page_bp-about .bp-headline{margin:0 auto;width:35em}.dashboard_page_bp-about .bp-headline span.dashicons,.index_page_bp-about .bp-headline span.dashicons{background-color:#f1f1f1;clear:left;font-size:100px;float:left;height:100px;line-height:100px;margin:0 15px 15px 0;text-align:center;width:100px}.dashboard_page_bp-about .bp-headline-feature .headline-title,.dashboard_page_bp-about .bp-headline-feature h3,.index_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature h3{font-size:2.2em;font-weight:300;line-height:1;margin:0 0 0 125px}.dashboard_page_bp-about .bp-headline-feature p,.index_page_bp-about .bp-headline-feature p{font-size:1.15em;margin:1.15em auto .6em 125px}.dashboard_page_bp-about .bp-headline-feature .introduction,.index_page_bp-about .bp-headline-feature .introduction{font-weight:600}.dashboard_page_bp-about .bp-features-section,.index_page_bp-about .bp-features-section{clear:both;margin-top:3em;overflow:hidden;padding-bottom:0}.dashboard_page_bp-about span.dashicons,.index_page_bp-about span.dashicons{background-color:#fff;border-radius:50%;clear:left;color:#d84800;font-size:50px;float:left;height:80px;line-height:80px;margin:0 15px 15px 0;text-align:center;width:80px}.dashboard_page_bp-about .bp-features-section h3,.index_page_bp-about .bp-features-section h3{font-size:2em;font-weight:300;line-height:1.5;margin:0 auto 3em;text-align:center}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{float:left;margin-bottom:3em;margin-right:4.799999999%;width:47.6%}.dashboard_page_bp-about .bp-feature:nth-of-type(2n),.index_page_bp-about .bp-feature:nth-of-type(2n){margin-right:0}.dashboard_page_bp-about .bp-feature h4,.index_page_bp-about .bp-feature h4{font-size:1.25em;line-height:1.5;margin-bottom:0;margin-left:110px;margin-top:0;text-align:left}.dashboard_page_bp-about .bp-feature p,.index_page_bp-about .bp-feature p{margin-left:110px}.dashboard_page_bp-about .bp-changelog-section,.index_page_bp-about .bp-changelog-section{clear:both;margin-bottom:8em;margin-top:3em;overflow:hidden;padding-bottom:0}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-changelog-section .changelog-title{color:#23282d;font-size:1.8em;font-weight:300;line-height:1.5;margin:0 auto .5em;text-align:center}.dashboard_page_bp-about .bp-changelog-section .two-col>div,.index_page_bp-about .bp-changelog-section .two-col>div{float:left;margin-right:4.799999999%;position:relative;width:47.6%}.dashboard_page_bp-about .bp-changelog-section .two-col>div.last-feature,.index_page_bp-about .bp-changelog-section .two-col>div.last-feature{margin-right:0}.dashboard_page_bp-about .bp-changelog,.index_page_bp-about .bp-changelog{margin-bottom:3em}.dashboard_page_bp-about .bp-changelog h4,.index_page_bp-about .bp-changelog h4{font-size:1em;margin-bottom:0;margin-top:0}.dashboard_page_bp-about .bp-changelog p,.index_page_bp-about .bp-changelog p{margin-bottom:3em}.bp-changelog-url{text-align:center}.bp-assets{clear:both;margin-bottom:2em}@media screen and (max-width:782px){.dashboard_page_bp-about .bp-headline-feature,.index_page_bp-about .bp-headline-feature{padding:0}.dashboard_page_bp-about .bp-headline,.index_page_bp-about .bp-headline{margin:0;width:97%}.dashboard_page_bp-about .bp-features-section,.index_page_bp-about .bp-features-section{clear:both;margin-bottom:0;margin-top:2em}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.dashboard_page_bp-about .bp-features-section h3,.index_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-features-section h3{font-size:1.8em;font-weight:300;line-height:1.5;margin-bottom:.5em;margin-top:.5em}.dashboard_page_bp-about .bp-changelog-section h4,.dashboard_page_bp-about .bp-features-section h4,.index_page_bp-about .bp-changelog-section h4,.index_page_bp-about .bp-features-section h4{font-size:1.25em;line-height:1.25;margin-top:.6em;text-align:left}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{clear:both;float:left;margin-bottom:1em;margin-top:1em;margin-right:0;padding-right:1em;width:100%}.dashboard_page_bp-about .bp-feature span,.index_page_bp-about .bp-feature span{margin-top:.33em}.dashboard_page_bp-about .bp-feature h4,.dashboard_page_bp-about .bp-feature p,.index_page_bp-about .bp-feature h4,.index_page_bp-about .bp-feature p{width:100%}.dashboard_page_bp-about .bp-feature.opposite h4,.dashboard_page_bp-about .bp-feature.opposite p,.index_page_bp-about .bp-feature.opposite h4,.index_page_bp-about .bp-feature.opposite p{float:none}.dashboard_page_bp-about .bp-changelog-section,.index_page_bp-about .bp-changelog-section{clear:both;margin-bottom:2em}.dashboard_page_bp-about .bp-changelog-section .changelog-title,.index_page_bp-about .bp-changelog-section .changelog-title{margin-bottom:1em}.dashboard_page_bp-about .bp-changelog h4,.index_page_bp-about .bp-changelog h4{font-size:1em}.dashboard_page_bp-about .bp-changelog p,.index_page_bp-about .bp-changelog p{margin-bottom:2em}.dashboard_page_bp-about .bp-changelog-section .two-col>div,.index_page_bp-about .bp-changelog-section .two-col>div{margin-top:0;padding-bottom:.5em;width:100%}}@media screen and (max-width:360px){.dashboard_page_bp-about .bp-headline,.index_page_bp-about .bp-headline{text-align:center}.dashboard_page_bp-about .bp-headline span.dashicons,.index_page_bp-about .bp-headline span.dashicons{clear:none;font-size:80px;float:none;height:80px;line-height:80px;margin:0 auto;width:80px}.dashboard_page_bp-about .bp-headline-feature .headline-title,.dashboard_page_bp-about .bp-headline-feature h3,.index_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature h3{margin:1em 0 0;text-align:left}.dashboard_page_bp-about .bp-headline-feature p,.index_page_bp-about .bp-headline-feature p{margin:1.15em auto .6em 0;text-align:left;width:auto}.dashboard_page_bp-about .bp-headline-feature .headline-title,.index_page_bp-about .bp-headline-feature .headline-title{font-size:1.5em;line-height:1.5}.dashboard_page_bp-about .bp-feature,.index_page_bp-about .bp-feature{text-align:center}.dashboard_page_bp-about span.dashicons,.index_page_bp-about span.dashicons{float:none}.dashboard_page_bp-about .bp-features-section h4,.dashboard_page_bp-about .bp-features-section p,.index_page_bp-about .bp-features-section h4,.index_page_bp-about .bp-features-section p{margin-left:0;text-align:left}}#adminmenu #toplevel_page_bp-activity .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_user .wp-menu-image:before{content:"\f452"}#adminmenu #toplevel_page_bp-groups .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_user .wp-menu-image:before{content:"\f456"}#adminmenu #toplevel_page_bp-notifications .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_user .wp-menu-image:before{content:"\f439"}#adminmenu #toplevel_page_bp-messages .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_user .wp-menu-image:before{content:"\f457"}#adminmenu #toplevel_page_bp-friends .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_user .wp-menu-image:before{content:"\f454"}#adminmenu #toplevel_page_bp-settings .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_user .wp-menu-image:before{content:"\f108"}#adminmenu li.toplevel_page_bp-components .wp-menu-image,#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image{content:"\f448"}.settings_page_bp-components td.plugin-title span{float:left;width:18px;height:18px;margin-right:5px}.settings_page_bp-components td.plugin-title span:before{font-family:dashicons;font-size:18px}.settings_page_bp-components tr.activity td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.notifications td.plugin-title span:before{content:"\f339"}.settings_page_bp-components tr.xprofile td.plugin-title span:before{content:"\f336"}.settings_page_bp-components tr.settings td.plugin-title span:before{content:"\f108"}.settings_page_bp-components tr.groups td.plugin-title span:before{content:"\f456"}.settings_page_bp-components tr.messages td.plugin-title span:before{content:"\f457"}.settings_page_bp-components tr.forums td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.blogs td.plugin-title span:before{content:"\f120"}.settings_page_bp-components tr.friends td.plugin-title span:before{content:"\f454"}.settings_page_bp-components tr.core td.plugin-title span:before{content:"\f448"}.settings_page_bp-components tr.members td.plugin-title span:before{content:"\f307"}#bp-admin-component-form .wp-list-table.plugins .plugin-title{width:25%}@media screen and (max-width:782px){.settings_page_bp-components td.plugin-title span{margin-top:5px}#bp-admin-component-form .wp-list-table.plugins .plugin-title{display:block;width:auto}#bp-admin-component-form .subsubsub{margin-bottom:0;padding-bottom:35px}}#adminmenu .toplevel_page_network-tools div.wp-menu-image:before{content:""}body.site-users-php th#role,body.users-php th#role,body.users_page_bp-signups th#count_sent{width:10%}body.site-users-php th#email,body.site-users-php th#name,body.users-php th#email,body.users-php th#name,body.users-php th#registered,body.users_page_bp-signups th#date_sent,body.users_page_bp-signups th#email,body.users_page_bp-signups th#name,body.users_page_bp-signups th#registered{width:15%}body.post-type-bp-email th#situation,body.users-php th#blogs,body.users_page_bp-signups th#blogs{width:20%}body.users_page_bp-signups td.count_sent,body.users_page_bp-signups th.column-count_sent{text-align:center}body.post-type-bp-email #excerpt{height:auto}body.post-type-bp-email td.column-situation ul{margin:0}body.post-type-bp-email .categorydiv label{display:block;float:left;padding-left:25px;text-indent:-25px}.tools_page_bp-tools .wrap{max-width:950px}.tools_page_bp-tools p{line-height:2}.tools_page_bp-tools fieldset{margin:2em 0 0}.tools_page_bp-tools legend{color:#23282d;font-size:1.3em;font-weight:600px;margin:1em 0}.tools_page_bp-tools label{clear:left;display:block;line-height:1.5em;margin:0 0 1em;vertical-align:middle}@media screen and (max-width:782px){.tools_page_bp-tools p{line-height:1.5}.tools_page_bp-tools label{margin-bottom:1em;padding-right:25px;text-indent:-33px}.tools_page_bp-tools .checkbox{padding:0 0 0 30px}}#buddypress-update.not-shiny .update-message{border-left:0;padding-left:36px}#buddypress-update.not-shiny .update-message:before{content:"\f534"}
bp-core/admin/js/dismissible-admin-notices.js ADDED
@@ -0,0 +1,16 @@
1
+ (function($){
2
+ $(document).ready(function() {
3
+ $( '.bp-is-dismissible .notice-dismiss' ).click( function() {
4
+ var $notice = $( this ).closest( '.notice' );
5
+ var notice_id = $notice.data( 'noticeid' );
6
+ $.post( {
7
+ url: ajaxurl,
8
+ data: {
9
+ action: 'bp_dismiss_notice',
10
+ nonce: $( '#bp-dismissible-nonce-' + notice_id ).val(),
11
+ notice_id: $notice.data( 'noticeid' )
12
+ }
13
+ } );
14
+ } );
15
+ });
16
+ }(jQuery));
bp-core/admin/js/dismissible-admin-notices.min.js ADDED
@@ -0,0 +1 @@
1
+ !function(a){a(document).ready(function(){a(".bp-is-dismissible .notice-dismiss").click(function(){var b=a(this).closest(".notice"),c=b.data("noticeid");a.post({url:ajaxurl,data:{action:"bp_dismiss_notice",nonce:a("#bp-dismissible-nonce-"+c).val(),notice_id:b.data("noticeid")}})})})}(jQuery);
bp-core/bp-core-options.php CHANGED
@@ -248,7 +248,7 @@ function bp_pre_get_option( $value = false ) {
248
*
249
* The 'bp_get_option' filter is primarily for backward-compatibility.
250
*
251
- * @since 1.2.0
252
*
253
* @param string $option_name The option to be retrieved.
254
* @param string $default Optional. Default value to be returned if the option
@@ -261,7 +261,7 @@ function bp_get_option( $option_name, $default = '' ) {
261
/**
262
* Filters the option value for the requested option.
263
*
264
- * @since 1.2.0
265
*
266
* @param mixed $value The value for the option.
267
*/
248
*
249
* The 'bp_get_option' filter is primarily for backward-compatibility.
250
*
251
+ * @since 1.5.0
252
*
253
* @param string $option_name The option to be retrieved.
254
* @param string $default Optional. Default value to be returned if the option
261
/**
262
* Filters the option value for the requested option.
263
*
264
+ * @since 1.5.0
265
*
266
* @param mixed $value The value for the option.
267
*/
bp-core/classes/class-bp-admin.php CHANGED
@@ -613,81 +613,85 @@ class BP_Admin {
613
<?php endif; ?>
614
615
<div class="bp-headline-feature">
616
- <h3 class="headline-title"><?php esc_html_e( 'Activity Embeds', 'buddypress' ); ?></h3>
617
618
- <?php if ( $embedded_activity ) :
619
- wp_enqueue_script( 'wp-embed' );
620
- ?>
621
- <div class="embed-container">
622
- <?php echo $embedded_activity ; ?>
623
- </div>
624
625
- <?php else : ?>
626
627
- <div class="featured-image">
628
- <a href="http://wordpress.tv/2016/06/15/buddypress-2-6-introducing-buddypress-activity-embeds/" title="<?php esc_attr_e( 'View the Activity Embeds demo', 'buddypress' ); ?>">
629
- <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/activity-embeds.png' ); ?>" alt="<?php esc_attr_e( 'Embed activities into your WordPress posts or pages.', 'buddypress' ); ?>">
630
- </a>
631
- </div>
632
633
- <?php endif ; ?>
634
635
- <p class="introduction"><?php _e( 'Embed activities into your WordPress posts or pages.', 'buddypress' ); ?> </p>
636
- <p><?php _e( 'Copy the permalink URL of the activity of your choice, paste it into the content editor of your WordPress post or page, and <em>voilà</em>&#33;, you&#39;ve embedded an activity update.', 'buddypress' ); ?> <a href="http://wordpress.tv/2016/06/15/buddypress-2-6-introducing-buddypress-activity-embeds/"><?php esc_html_e( 'View the Activity Embeds demo', 'buddypress' ); ?></a></p>
637
638
- <div class="clear"></div>
639
- </div>
640
641
- <hr />
642
643
- <div class="bp-features-section">
644
- <h3 class="headline-title"><?php esc_html_e( 'Features', 'buddypress' ); ?></h3>
645
646
<div class="bp-feature">
647
- <h4 class="feature-title"><?php esc_html_e( 'Custom Front Page for Member Profile ', 'buddypress' ); ?></h4>
648
- <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/user-frontpage.png' ); ?>" alt="<?php esc_attr_e( 'A member custom front page using widgets.', 'buddypress' ); ?>">
649
- <p><?php _e( 'Theme developers or site owners can create custom front pages for their community&#39;s members by adding a <code>front.php</code> template to their template overrides. A specific template hierarchy is also available to make them even more unique.', 'buddypress' ); ?> <a href="https://bpdevel.wordpress.com/2016/05/24/custom-front-pages-for-your-users-profiles/"><?php esc_html_e( 'Read all about this new feature.', 'buddypress' ); ?></a></p>
650
</div>
651
652
<div class="bp-feature opposite">
653
- <h4 class="feature-title"><?php esc_html_e( 'Group Types API', 'buddypress' ); ?></h4>
654
- <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/group-type-pop.png' ); ?>" alt="<?php esc_attr_e( 'Group types metabox in Groups admin page.', 'buddypress' ); ?>">
655
- <p><?php esc_html_e( 'Registering group types finally enables a strict separation of different and explicit types of groups. This new feature is available to plugin developers starting with BuddyPress 2.6.', 'buddypress' ); ?> <a href="https://codex.buddypress.org/developer/group-types/"><?php esc_html_e( 'Learn how to set up Group Types.', 'buddypress' ); ?></a></p>
656
</div>
657
658
<div class="bp-feature">
659
- <h4 class="feature-title"><?php esc_html_e( 'New Navigation API', 'buddypress' ); ?></h4>
660
- <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/new-nav-api.png' ); ?>" alt="<?php esc_attr_e( 'Sample code for using the new navigation API', 'buddypress' ); ?>">
661
- <p><?php esc_html_e( 'The member and group navigation system has been totally rewritten, making it easier than ever to customize BuddyPress nav items.', 'buddypress' ); ?> <a href="https://codex.buddypress.org/developer/navigation-api/"><?php esc_html_e( 'Read the informative commit message.', 'buddypress' ); ?></a></p>
662
</div>
663
664
<div class="bp-feature opposite">
665
- <h4 class="feature-title"><?php esc_html_e( 'Stylesheets for Twenty Eleven and Twenty Ten', 'buddypress' ); ?></h4>
666
- <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/default-themes.png' ); ?>" alt="<?php esc_attr_e( 'Styled BuddyPress components in Twenty Eleven and Twenty Ten', 'buddypress' ); ?>">
667
- <p><?php esc_html_e( 'BuddyPress feels right at home now in the classic default themes, Twenty Ten and Twenty Eleven.', 'buddypress' ); ?></p>
668
</div>
669
</div>
670
671
<div class="bp-changelog-section">
672
- <h3 class="changelog-title"><?php esc_html_e( 'Under The Hood', 'buddypress' ); ?></h3>
673
-
674
- <div class="bp-changelog col two-col">
675
- <div>
676
- <h4 class="title"><?php esc_html_e( 'Performance Enhancements', 'buddypress' ); ?></h4>
677
- <p><?php esc_html_e( 'Class autoloading reduces the memory needed to run BuddyPress on your server. Improved caching strategies for group membership statuses mean fewer round trips to your overworked database server.', 'buddypress' ); ?></p>
678
- <h4 class="title"><?php esc_html_e( 'Localization Improvements', 'buddypress' ); ?></h4>
679
- <p><?php esc_html_e( 'Improved localization strings and comments help translators do their much-appreciated work: making BuddyPress available in many languages.', 'buddypress' ); ?></p>
680
- </div>
681
-
682
- <div class="last-feature">
683
- <h4 class="title"><?php esc_html_e( 'Notifications Updates', 'buddypress' ); ?></h4>
684
- <p><?php esc_html_e( 'Adjustments to the notifications component allow members to receive timely and relevant updates about activity in your community.', 'buddypress' ); ?></p>
685
- <h4 class="title"><?php esc_html_e( 'Accessibility Upgrades', 'buddypress' ); ?></h4>
686
- <p><?php esc_html_e( 'Continued improvements help make BuddyPress&#39; back- and front-end screens usable for everyone &#40;and on more devices&#41;.', 'buddypress' ); ?></p>
687
- <h4 class="title"><?php esc_html_e( 'Developer Reference', 'buddypress' ); ?></h4>
688
- <p><?php esc_html_e( 'Regular updates to inline code documentation make it easier for developers to understand how BuddyPress works.', 'buddypress' ); ?></p>
689
- </div>
690
- </div>
691
692
</div>
693
@@ -724,7 +728,7 @@ class BP_Admin {
724
<h3 class="wp-people-group"><?php _e( 'Project Leaders', 'buddypress' ); ?></h3>
725
<ul class="wp-people-group " id="wp-people-group-project-leaders">
726
<li class="wp-person" id="wp-person-johnjamesjacoby">
727
- <a class="web" href="https://profiles.wordpress.org/johnjamesjacoby"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/81ec16063d89b162d55efe72165c105f?s=60">
728
John James Jacoby</a>
729
<span class="title"><?php _e( 'Project Lead', 'buddypress' ); ?></span>
730
</li>
@@ -740,8 +744,13 @@ class BP_Admin {
740
</li>
741
</ul>
742
743
- <h3 class="wp-people-group"><?php _e( 'Core Team', 'buddypress' ); ?></h3>
744
<ul class="wp-people-group " id="wp-people-group-core-team">
745
<li class="wp-person" id="wp-person-r-a-y">
746
<a class="web" href="https://profiles.wordpress.org/r-a-y"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/3bfa556a62b5bfac1012b6ba5f42ebfa?s=60">
747
Ray</a>
@@ -752,11 +761,6 @@ class BP_Admin {
752
Mathieu Viet</a>
753
<span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
754
</li>
755
- <li class="wp-person" id="wp-person-mercime">
756
- <a class="web" href="https://profiles.wordpress.org/mercime"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/fae451be6708241627983570a1a1817a?s=60">
757
- Mercime</a>
758
- <span class="title"><?php _e( 'Navigator', 'buddypress' ); ?></span>
759
- </li>
760
<li class="wp-person" id="wp-person-dcavins">
761
<a class="web" href="https://profiles.wordpress.org/dcavins"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/a5fa7e83d59cb45ebb616235a176595a?s=60">
762
David Cavins</a>
@@ -772,22 +776,25 @@ class BP_Admin {
772
Hugo</a>
773
<span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
774
</li>
775
- </ul>
776
-
777
- <h3 class="wp-people-group"><?php _e( '&#x1f31f;Recent Rockstars&#x1f31f;', 'buddypress' ); ?></h3>
778
- <ul class="wp-people-group " id="wp-people-group-rockstars">
779
<li class="wp-person" id="wp-person-henry-wright">
780
<a class="web" href="https://profiles.wordpress.org/henry.wright"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/0da2f1a9340d6af196b870f6c107a248?s=60">
781
Henry Wright</a>
782
</li>
783
<li class="wp-person" id="wp-person-danbp">
784
<a class="web" href="https://profiles.wordpress.org/danbp"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/0deae2e7003027fbf153500cd3fa5501?s=60">
785
danbp</a>
786
</li>
787
<li class="wp-person" id="wp-person-shanebp">
788
<a class="web" href="https://profiles.wordpress.org/shanebp"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/ffd294ab5833ba14aaf175f9acc71cc4?s=60">
789
shanebp</a>
790
</li>
791
<li class="wp-person" id="wp-person-netweb">
792
<a class="web" href="https://profiles.wordpress.org/netweb"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/97e1620b501da675315ba7cfb740e80f?s=60">
793
Stephen Edgar</a>
@@ -812,53 +819,51 @@ class BP_Admin {
812
<a class="web" href="https://profiles.wordpress.org/ramiy"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/ce2a269e424156d79cb0c4e1d4d82db1?s=60">
813
Rami Yushuvaev</a>
814
</li>
815
-
816
</ul>
817
818
<h3 class="wp-people-group"><?php printf( esc_html__( 'Contributors to BuddyPress %s', 'buddypress' ), self::display_version() ); ?></h3>
819
<p class="wp-credits-list">
820
- <a href="https://profiles.wordpress.org/abweb/">abweb</a>,
821
<a href="https://profiles.wordpress.org/boonebgorges/">Boone B Gorges (boonebgorges)</a>,
822
- <a href="https://profiles.wordpress.org/thebrandonallen/">Brandon Allen (thebrandonallen)</a>,
823
- <a href="https://profiles.wordpress.org/chherbst/">chherbst</a>,
824
- <a href="https://profiles.wordpress.org/danbrellis/">danbrellis</a>,
825
<a href="https://profiles.wordpress.org/dcavins/">David Cavins (dcavins)</a>,
826
<a href="https://profiles.wordpress.org/wpdennis/">Dennis (wpdennis)</a>,
827
- <a href="https://profiles.wordpress.org/emrikol/">emrikol</a>,
828
- <a href="https://profiles.wordpress.org/wdfee/">Fee (wdfee)</a>,
829
- <a href="https://profiles.wordpress.org/garrett-eclipse/">Garrett Hyder (garrett-eclipse)</a>,
830
- <a href="https://profiles.wordpress.org/pento/">Gary Pendergast (pento)</a>,
831
- <a href="https://profiles.wordpress.org/Mamaduka/">George Mamadashvili (Mamaduka)</a>,
832
<a href="https://profiles.wordpress.org/henrywright/">Henry Wright (henry.wright)</a>,
833
<a href="https://profiles.wordpress.org/hnla/">Hugo (hnla)</a>,
834
<a href="https://profiles.wordpress.org/johnjamesjacoby/">John James Jacoby (johnjamesjacoby)</a>,
835
- <a href="https://profiles.wordpress.org/kmbdeamorg/">Klaus (kmbdeamorg)</a>,
836
- <a href="https://profiles.wordpress.org/sooskriszta/">OC2PS (sooskriszta)</a>,
837
<a href="https://profiles.wordpress.org/lakrisgubben/">lakrisgubben</a>,
838
<a href="https://profiles.wordpress.org/Offereins">Laurens Offereins (Offereins)</a>,
839
- <a href="https://profiles.wordpress.org/mahadri/">mahadri</a>,
840
<a href="https://profiles.wordpress.org/imath/">Mathieu Viet (imath)</a>,
841
<a href="https://profiles.wordpress.org/mercime/">mercime</a>,
842
<a href="https://profiles.wordpress.org/tw2113/">Michael Beckwith (tw2113)</a>,
843
- <a href="https://profiles.wordpress.org/mmcachran/">mmcachran</a>,
844
- <a href="https://profiles.wordpress.org/modemlooper/">modemlooper</a>,
845
- <a href="https://profiles.wordpress.org/nickmomrik/">Nick Momrik (nickmomrik)</a>,
846
- <a href="https://profiles.wordpress.org/OakCreative/">OakCreative</a>,
847
- <a href="https://profiles.wordpress.org/oksankaa/">oksankaa</a>,
848
<a href="https://profiles.wordpress.org/DJPaul/">Paul Gibbs (DJPaul)</a>,
849
- <a href="https://profiles.wordpress.org/ramiy/">Rami Yushuvaev (ramiy)</a>,
850
<a href="https://profiles.wordpress.org/r-a-y/">r-a-y</a>,
851
- <a href="https://profiles.wordpress.org/rekmla/">rekmla</a>,
852
- <a href="https://profiles.wordpress.org/r0z/">r0z</a>,
853
- <a href="https://profiles.wordpress.org/SergeyBiryukov/">Sergey Biryukov (SergeyBiryukov)</a>,
854
- <a href="https://profiles.wordpress.org/singhleo/">singhleo</a>,
855
- <a href="https://profiles.wordpress.org/slaffik/">Slava UA (slaffik)</a>,
856
<a href="https://profiles.wordpress.org/netweb/">Stephen Edgar (netweb)</a>,
857
<a href="https://profiles.wordpress.org/tharsheblows/">tharsheblows</a>,
858
- <a href="https://profiles.wordpress.org/VibeThemes/">VibeThemes</a>,
859
- <a href="https://profiles.wordpress.org/vortfu/">vortfu</a>,
860
- <a href="https://profiles.wordpress.org/WeddyWood/">WeddyWood</a>,
861
- <a href="https://profiles.wordpress.org/w3dzign/">w3dzign</a>.
862
</p>
863
864
<h3 class="wp-people-group"><?php _e( '&#x1f496;With our thanks to these Open Source projects&#x1f496;', 'buddypress' ); ?></h3>
613
<?php endif; ?>
614
615
<div class="bp-headline-feature">
616
+ <div class="bp-headline">
617
+ <span class="dashicons dashicons-list-view" aria-hidden="true"></span>
618
+ <h3 class="headline-title"><?php esc_html_e( 'Groups Query Overhaul', 'buddypress' ); ?></h3>
619
620
+ <p class="introduction"><?php _e( 'Huge performance improvements on sites using persistent caching.', 'buddypress' ); ?> <?php _e( ' ', 'buddypress' ); ?> <a href="https://bpdevel.wordpress.com/2016/09/19/group-queries-have-been-rewritten-for-bp-2-7/"><?php esc_html_e( 'Learn more about the Groups Query rewrite.', 'buddypress' ); ?></a></p>
621
+ </div>
622
+ </div>
623
624
+ <div class="bp-features-section">
625
626
+ <h3 class="headline-title"><?php esc_html_e( 'For Developers &amp; Site Administrators', 'buddypress' ); ?></h3>
627
628
+ <div class="bp-feature">
629
+ <span class="dashicons dashicons-calendar" aria-hidden="true"></span>
630
+ <h4 class="feature-title"><?php esc_html_e( 'Improved Profile Date Field', 'buddypress' ); ?></h4>
631
+ <p><?php _e( 'New Date Field settings, "Date format" and "Range", make it easier for site administrators to decide how date-based data will be collected and displayed.', 'buddypress' ); ?></p>
632
+ </div>
633
634
+ <div class="bp-feature opposite">
635
+ <span class="dashicons dashicons-groups" aria-hidden="true"></span>
636
+ <h4 class="feature-title"><?php esc_html_e( 'Group Types Integration in Templates', 'buddypress' ); ?></h4>
637
+ <p><?php esc_html_e( 'Enable developers to show Group Types in the front end as well as control where the group type information is rendered.', 'buddypress' ); ?> <a href="https://codex.buddypress.org/developer/group-types/"><?php esc_html_e( 'Learn how to implement this.', 'buddypress' ); ?></a></p>
638
+ </div>
639
640
+ <div class="bp-feature">
641
+ <span class="dashicons dashicons-clock" aria-hidden="true"></span>
642
+ <h4 class="feature-title"><?php esc_html_e( 'Localized Timestamps', 'buddypress' ); ?></h4>
643
+ <p><?php esc_html_e( 'Fix inaccurate timestamps due to time zones or page caching with new client-side timestamp handling.', 'buddypress' ); ?></p>
644
+ </div>
645
646
+ <div class="bp-feature opposite">
647
+ <span class="dashicons dashicons-email" aria-hidden="true"></span>
648
+ <h4 class="feature-title"><?php esc_html_e( 'Links to Unsubscribe from Emails', 'buddypress' ); ?></h4>
649
+ <p><?php esc_html_e( 'Improve user experience by facilitating the removal of any or all subscriptions through the new email tokens and unsuscribe links.', 'buddypress' ); ?></p>
650
+ </div>
651
652
+ <div class="bp-feature">
653
+ <span class="dashicons dashicons-filter" aria-hidden="true"></span>
654
+ <h4 class="title"><?php esc_html_e( 'Member Type and Group Type Filters in Users and Groups admin screens', 'buddypress' ); ?></h4>
655
+ <p><?php esc_html_e( 'Easily filter your members and groups by type and set types in bulk on the users and groups list tables in the dashboard.', 'buddypress' ); ?></p>
656
+ </div>
657
+
658
+ <div class="bp-feature opposite">
659
+ <span class="dashicons dashicons-universal-access" aria-hidden="true"></span>
660
+ <h4 class="title"><?php esc_html_e( 'Accessibility Updates for the Front-end and Back-end', 'buddypress' ); ?></h4>
661
+ <p><?php esc_html_e( 'Continued improvements for universal acceess help make BuddyPress&#39; back- and front-end screens usable for everyone &#40;and on more devices&#41;.', 'buddypress' ); ?></p>
662
+ </div>
663
664
<div class="bp-feature">
665
+ <span class="dashicons dashicons-admin-page" aria-hidden="true"></span>
666
+ <h4 class="title"><?php esc_html_e( 'Use WP Page Names for Headings of BP Directory Pages', 'buddypress' ); ?></h4>
667
+ <p><?php esc_html_e( 'Whatever you choose as the title of your Activity, Sites, Members, or Groups directory pages in the back end, is what you\'ll get as the heading in the front end.', 'buddypress' ); ?></p>
668
</div>
669
670
<div class="bp-feature opposite">
671
+ <span class="dashicons dashicons-image-filter" aria-hidden="true"></span>
672
+ <h4 class="title"><?php esc_html_e( 'Improvements to a Single Group\'s Management Screens', 'buddypress' ); ?></h4>
673
+ <p><?php esc_html_e( 'Improved markup, new modular group management templates, and a new member search form are just some of the enhancements added to the single group admin screens.', 'buddypress' ); ?></p>
674
</div>
675
676
<div class="bp-feature">
677
+ <span class="dashicons dashicons-groups" aria-hidden="true"></span>
678
+ <h4 class="title"><?php esc_html_e( 'Support for Querying for Groups by New Column "parent_id"', 'buddypress' ); ?></h4>
679
+ <p><?php esc_html_e( 'Query support for hierarchical groups which allows developers to extend this with their own plugins to add custom front-end functionality as needed.', 'buddypress' ); ?></p>
680
</div>
681
682
<div class="bp-feature opposite">
683
+ <span class="dashicons dashicons-chart-bar" aria-hidden="true"></span>
684
+ <h4 class="title"><?php esc_html_e( 'Many, Many Performance Improvements', 'buddypress' ); ?></h4>
685
+ <p><?php esc_html_e( 'Improve performance by removing extra database queries, adding new cache calls, and removing the number of loops in "bp_get_user_groups()".', 'buddypress' ); ?></p>
686
</div>
687
+
688
+
689
+ <div class="clear"></div>
690
</div>
691
692
<div class="bp-changelog-section">
693
+ <h3 class="changelog-title"><?php esc_html_e( 'And so much more!', 'buddypress' ); ?></h3>
694
+ <p class="bp-changelog-url"><a href="https://codex.buddypress.org/version-2-7-0/"><?php esc_html_e( 'Changelog for BuddyPress 2.7.0.', 'buddypress' ); ?></a></p>
695
696
</div>
697
728
<h3 class="wp-people-group"><?php _e( 'Project Leaders', 'buddypress' ); ?></h3>
729
<ul class="wp-people-group " id="wp-people-group-project-leaders">
730
<li class="wp-person" id="wp-person-johnjamesjacoby">
731
+ <a class="web" href="https://profiles.wordpress.org/johnjamesjacoby"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/7a2644fb53ae2f7bfd7143b504af396c?s=60">
732
John James Jacoby</a>
733
<span class="title"><?php _e( 'Project Lead', 'buddypress' ); ?></span>
734
</li>
744
</li>
745
</ul>
746
747
+ <h3 class="wp-people-group"><?php _e( 'BuddyPress Team', 'buddypress' ); ?></h3>
748
<ul class="wp-people-group " id="wp-people-group-core-team">
749
+ <li class="wp-person" id="wp-person-mercime">
750
+ <a class="web" href="https://profiles.wordpress.org/mercime"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/fae451be6708241627983570a1a1817a?s=60">
751
+ Mercime</a>
752
+ <span class="title"><?php _e( '2.7 Release Lead', 'buddypress' ); ?></span>
753
+ </li>
754
<li class="wp-person" id="wp-person-r-a-y">
755
<a class="web" href="https://profiles.wordpress.org/r-a-y"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/3bfa556a62b5bfac1012b6ba5f42ebfa?s=60">
756
Ray</a>
761
Mathieu Viet</a>
762
<span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
763
</li>
764
<li class="wp-person" id="wp-person-dcavins">
765
<a class="web" href="https://profiles.wordpress.org/dcavins"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/a5fa7e83d59cb45ebb616235a176595a?s=60">
766
David Cavins</a>
776
Hugo</a>
777
<span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
778
</li>
779
<li class="wp-person" id="wp-person-henry-wright">
780
<a class="web" href="https://profiles.wordpress.org/henry.wright"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/0da2f1a9340d6af196b870f6c107a248?s=60">
781
Henry Wright</a>
782
+ <span class="title"><?php _e( 'Community Support', 'buddypress' ); ?></span>
783
</li>
784
<li class="wp-person" id="wp-person-danbp">
785
<a class="web" href="https://profiles.wordpress.org/danbp"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/0deae2e7003027fbf153500cd3fa5501?s=60">
786
danbp</a>
787
+ <span class="title"><?php _e( 'Community Support', 'buddypress' ); ?></span>
788
</li>
789
<li class="wp-person" id="wp-person-shanebp">
790
<a class="web" href="https://profiles.wordpress.org/shanebp"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/ffd294ab5833ba14aaf175f9acc71cc4?s=60">
791
shanebp</a>
792
+ <span class="title"><?php _e( 'Community Support', 'buddypress' ); ?></span>
793
</li>
794
+ </ul>
795
+
796
+ <h3 class="wp-people-group"><?php _e( '&#x1f31f;Recent Rockstars&#x1f31f;', 'buddypress' ); ?></h3>
797
+ <ul class="wp-people-group " id="wp-people-group-rockstars">
798
<li class="wp-person" id="wp-person-netweb">
799
<a class="web" href="https://profiles.wordpress.org/netweb"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/97e1620b501da675315ba7cfb740e80f?s=60">
800
Stephen Edgar</a>
819
<a class="web" href="https://profiles.wordpress.org/ramiy"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/ce2a269e424156d79cb0c4e1d4d82db1?s=60">
820
Rami Yushuvaev</a>
821
</li>
822
+ <li class="wp-person" id="wp-person-slaffik">
823
+ <a class="web" href="https://profiles.wordpress.org/slaffik/"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/61fb07ede3247b63f19015f200b3eb2c?s=60">
824
+ Slava Abakumov</a>
825
+ </li>
826
</ul>
827
828
<h3 class="wp-people-group"><?php printf( esc_html__( 'Contributors to BuddyPress %s', 'buddypress' ), self::display_version() ); ?></h3>
829
<p class="wp-credits-list">
830
+ <a href="https://profiles.wordpress.org/jorbin/">Aaron Jorbin (jorbin)</a>,
831
+ <a href="https://profiles.wordpress.org/abwebstudio1/">abwebstudio1</a>,
832
<a href="https://profiles.wordpress.org/boonebgorges/">Boone B Gorges (boonebgorges)</a>,
833
+ <a href="https://profiles.wordpress.org/sbrajesh/">Brajesh Singh (sbrajesh)</a>,
834
+ <a href="https://profiles.wordpress.org/needle/">Christian Wach (needle)</a>,
835
+ <a href="https://profiles.wordpress.org/danbp/">danbp</a>,
836
+ <a href="https://profiles.wordpress.org/danielhuesken/">Daniel Hüsken (danielhuesken)</a>,
837
<a href="https://profiles.wordpress.org/dcavins/">David Cavins (dcavins)</a>,
838
+ <a href="https://profiles.wordpress.org/demon_ru/">demon_ru</a>,
839
<a href="https://profiles.wordpress.org/wpdennis/">Dennis (wpdennis)</a>,
840
+ <a href="https://profiles.wordpress.org/ericlewis/">Eric Andrew Lewis (ericlewis)</a>,
841
<a href="https://profiles.wordpress.org/henrywright/">Henry Wright (henry.wright)</a>,
842
+ <a href="https://profiles.wordpress.org/herbovec/">herbovec</a>,
843
<a href="https://profiles.wordpress.org/hnla/">Hugo (hnla)</a>,
844
+ <a href="https://profiles.wordpress.org/jdgrimes/">J.D. Grimes jdgrimes</a>,
845
<a href="https://profiles.wordpress.org/johnjamesjacoby/">John James Jacoby (johnjamesjacoby)</a>,
846
+ <a href="https://profiles.wordpress.org/dunhakdis/">Joseph G. (dunhakdis)</a>,
847
+ <a href="https://profiles.wordpress.org/kitsunesolar/">kitsunesolar</a>,
848
<a href="https://profiles.wordpress.org/lakrisgubben/">lakrisgubben</a>,
849
<a href="https://profiles.wordpress.org/Offereins">Laurens Offereins (Offereins)</a>,
850
<a href="https://profiles.wordpress.org/imath/">Mathieu Viet (imath)</a>,
851
<a href="https://profiles.wordpress.org/mercime/">mercime</a>,
852
<a href="https://profiles.wordpress.org/tw2113/">Michael Beckwith (tw2113)</a>,
853
+ <a href="https://profiles.wordpress.org/michaelbeil/">Michael Beil (michaelbeil)</a>,
854
<a href="https://profiles.wordpress.org/DJPaul/">Paul Gibbs (DJPaul)</a>,
855
<a href="https://profiles.wordpress.org/r-a-y/">r-a-y</a>,
856
+ <a href="https://profiles.wordpress.org/espellcaste/">Renato Alves (espellcaste)</a>,
857
+ <a href="https://profiles.wordpress.org/scharc/">scharc</a>,
858
+ <a href="https://profiles.wordpress.org/slaffik/">Slava Abakumov (slaffik)</a>,
859
+ <a href="https://profiles.wordpress.org/spenser4551/">spenser4551</a>,
860
<a href="https://profiles.wordpress.org/netweb/">Stephen Edgar (netweb)</a>,
861
+ <a href="https://profiles.wordpress.org/svenl77/">Sven Lehnert (svenl77)</a>,
862
<a href="https://profiles.wordpress.org/tharsheblows/">tharsheblows</a>,
863
+ <a href="https://profiles.wordpress.org/thomaslhotta/">thomaslhotta</a>,
864
+ <a href="https://profiles.wordpress.org/tomas711/">tomas711</a>,
865
+ <a href="https://profiles.wordpress.org/venturavan2/">venturavan2</a>,
866
+ <a href="https://profiles.wordpress.org/wordpressrene/">wordpressrene</a>.
867
</p>
868
869
<h3 class="wp-people-group"><?php _e( '&#x1f496;With our thanks to these Open Source projects&#x1f496;', 'buddypress' ); ?></h3>
bp-forums/bp-forums-loader.php CHANGED
@@ -268,6 +268,24 @@ class BP_Forums_Component extends BP_Component {
268
269
parent::setup_title();
270
}
271
}
272
273
/**
268
269
parent::setup_title();
270
}
271
+
272
+ /**
273
+ * Disable cache groups due to a caching discrepancy in BackPress.
274
+ *
275
+ * @since 2.7.0
276
+ * @see https://buddypress.trac.wordpress.org/ticket/4759
277
+ */
278
+ public function setup_cache_groups() {
279
+ wp_cache_add_non_persistent_groups( array(
280
+ // Posts.
281
+ 'bb_forums',
282
+ 'bb_query',
283
+ 'bb_cache_posts_post_ids',
284
+
285
+ // Topics
286
+ 'bb_post'
287
+ ) );
288
+ }
289
}
290
291
/**
bp-groups/bp-groups-admin.php CHANGED
@@ -1046,20 +1046,33 @@ function bp_groups_admin_edit_metabox_group_type( BP_Groups_Group $group = null
1046
return;
1047
}
1048
1049
- $types = bp_groups_get_group_types( array(), 'objects' );
1050
- $current_type = bp_groups_get_group_type( $group->id );
1051
?>
1052
1053
<label for="bp-groups-group-type" class="screen-reader-text"><?php
1054
/* translators: accessibility text */
1055
esc_html_e( 'Select group type', 'buddypress' );
1056
?></label>
1057
- <select name="bp-groups-group-type" id="bp-groups-group-type">
1058
- <option value="" <?php selected( '', $current_type ); ?>><?php /* translators: no option picked in select box */ esc_attr_e( '----', 'buddypress' ) ?></option>
1059
<?php foreach ( $types as $type ) : ?>
1060
- <option value="<?php echo esc_attr( $type->name ) ?>" <?php selected( $type->name, $current_type ) ?>><?php echo esc_html( $type->labels['singular_name'] ) ?></option>
1061
<?php endforeach; ?>
1062
- </select>
1063
1064
<?php
1065
@@ -1072,7 +1085,7 @@ function bp_groups_admin_edit_metabox_group_type( BP_Groups_Group $group = null
1072
* @since 2.6.0
1073
*/
1074
function bp_groups_process_group_type_update( $group_id ) {
1075
- if ( ! isset( $_POST['bp-group-type-nonce'] ) || ! isset( $_POST['bp-groups-group-type'] ) ) {
1076
return;
1077
}
1078
@@ -1083,17 +1096,13 @@ function bp_groups_process_group_type_update( $group_id ) {
1083
return;
1084
}
1085
1086
- // Group type string must either reference a valid group type, or be empty.
1087
- $group_type = wp_unslash( $_POST['bp-groups-group-type'] );
1088
- if ( $group_type && ! bp_groups_get_group_type_object( $group_type ) ) {
1089
- return;
1090
- }
1091
1092
/*
1093
* If an invalid group type is passed, someone's doing something
1094
* fishy with the POST request, so we can fail silently.
1095
*/
1096
- if ( bp_groups_set_group_type( $group_id, $group_type ) ) {
1097
// @todo Success messages can't be posted because other stuff happens on the page load.
1098
}
1099
}
1046
return;
1047
}
1048
1049
+ $types = bp_groups_get_group_types( array(), 'objects' );
1050
+ $current_types = bp_groups_get_group_type( $group->id, false );
1051
+ $backend_only = bp_groups_get_group_types( array( 'show_in_create_screen' => false ) );
1052
?>
1053
1054
<label for="bp-groups-group-type" class="screen-reader-text"><?php
1055
/* translators: accessibility text */
1056
esc_html_e( 'Select group type', 'buddypress' );
1057
?></label>
1058
+
1059
+ <ul class="categorychecklist form-no-clear">
1060
<?php foreach ( $types as $type ) : ?>
1061
+ <li>
1062
+ <label class="selectit"><input value="<?php echo esc_attr( $type->name ) ?>" name="bp-groups-group-type[]" type="checkbox" <?php checked( true, in_array( $type->name, $current_types ) ); ?>>
1063
+ <?php
1064
+ echo esc_html( $type->labels['singular_name'] );
1065
+ if ( in_array( $type->name, $backend_only ) ) {
1066
+ printf( ' <span class="description">%s</span>', esc_html__( '(Not available on the frontend)', 'buddypress' ) );
1067
+ }
1068
+ ?>
1069
+
1070
+ </label>
1071
+ </li>
1072
+
1073
<?php endforeach; ?>
1074
+
1075
+ </ul>
1076
1077
<?php
1078
1085
* @since 2.6.0
1086
*/
1087
function bp_groups_process_group_type_update( $group_id ) {
1088
+ if ( ! isset( $_POST['bp-group-type-nonce'] ) ) {
1089
return;
1090
}
1091
1096
return;
1097
}
1098
1099
+ $group_types = ! empty( $_POST['bp-groups-group-type'] ) ? wp_unslash( $_POST['bp-groups-group-type'] ) : array();
1100
1101
/*
1102
* If an invalid group type is passed, someone's doing something
1103
* fishy with the POST request, so we can fail silently.
1104
*/
1105
+ if ( bp_groups_set_group_type( $group_id, $group_types ) ) {
1106
// @todo Success messages can't be posted because other stuff happens on the page load.
1107
}
1108
}
bp-groups/bp-groups-functions.php CHANGED
@@ -2116,7 +2116,7 @@ add_action( 'bp_make_spam_user', 'groups_remove_data_for_user' );
2116
*
2117
* @since 2.6.0
2118
* @since 2.7.0 Introduce $has_directory, $show_in_create_screen, $show_in_list, and
2119
- * $description as $args parameters.
2120
*
2121
* @param string $group_type Unique string identifier for the group type.
2122
* @param array $args {
@@ -2131,6 +2131,10 @@ add_action( 'bp_make_spam_user', 'groups_remove_data_for_user' );
2131
* this will default to true, unless this is set explicitly to false.
2132
* @type string $description A short descriptive summary of what the group type is. Currently shown
2133
* on a group's "Manage > Settings" page when selecting group types.
2134
* @type array $labels {
2135
* Array of labels to use in various parts of the interface.
2136
*
@@ -2152,6 +2156,7 @@ function bp_groups_register_group_type( $group_type, $args = array() ) {
2152
'show_in_create_screen' => false,
2153
'show_in_list' => null,
2154
'description' => '',
2155
'labels' => array(),
2156
), 'register_group_type' );
2157
2116
*
2117
* @since 2.6.0
2118
* @since 2.7.0 Introduce $has_directory, $show_in_create_screen, $show_in_list, and
2119
+ * $description, $create_screen_checked as $args parameters.
2120
*
2121
* @param string $group_type Unique string identifier for the group type.
2122
* @param array $args {
2131
* this will default to true, unless this is set explicitly to false.
2132
* @type string $description A short descriptive summary of what the group type is. Currently shown
2133
* on a group's "Manage > Settings" page when selecting group types.
2134
+ * @type bool $create_screen_checked If $show_in_create_screen is true, whether we should have our group type
2135
+ * checkbox checked by default. Handy if you want to imply that the group
2136
+ * type should be enforced, but decision lies with the group creator.
2137
+ * Default: false.
2138
* @type array $labels {
2139
* Array of labels to use in various parts of the interface.
2140
*
2156
'show_in_create_screen' => false,
2157
'show_in_list' => null,
2158
'description' => '',
2159
+ 'create_screen_checked' => false,
2160
'labels' => array(),
2161
), 'register_group_type' );
2162
bp-groups/bp-groups-template.php CHANGED
@@ -223,6 +223,9 @@ function bp_group_type_list( $group_id = 0, $r = array() ) {
223
* @type string $label Label to add before the list. Defaults to 'Group Types:'.
224
* @type string $label_element Element to wrap around the label. Defaults to 'strong'.
225
* @type array $label_attr Element attributes for label element. Defaults to array().
226
* }
227
* @return string
228
*/
@@ -238,16 +241,19 @@ function bp_group_type_list( $group_id = 0, $r = array() ) {
238
),
239
'label' => __( 'Group Types:', 'buddypress' ),
240
'label_element' => 'strong',
241
- 'label_attr' => array()
242
), 'group_type_list' );
243
244
$retval = '';
245
246
if ( $types = bp_groups_get_group_type( $group_id, false ) ) {
247
// Make sure we can show the type in the list.
248
- $types = array_intersect( bp_groups_get_group_types( array( 'show_in_list' => true ) ), $types );
249
- if ( empty( $types ) ) {
250
- return $retval;
251
}
252
253
$before = $after = $label = '';
@@ -4490,7 +4496,10 @@ function bp_groups_members_template_part() {
4490
</ul>
4491
</div>
4492
4493
- <h2 class="bp-screen-reader-text"><?php _e( 'Members', 'buddypress' ); ?></h2>
4494
4495
<div id="members-group-list" class="group_members dir-list">
4496
223
* @type string $label Label to add before the list. Defaults to 'Group Types:'.
224
* @type string $label_element Element to wrap around the label. Defaults to 'strong'.
225
* @type array $label_attr Element attributes for label element. Defaults to array().
226
+ * @type bool $show_all Whether to show all registered group types. Defaults to 'false'. If
227
+ * 'false', only shows group types with the 'show_in_list' parameter set to
228
+ * true. See bp_groups_register_group_type() for more info.
229
* }
230
* @return string
231
*/
241
),
242
'label' => __( 'Group Types:', 'buddypress' ),
243
'label_element' => 'strong',
244
+ 'label_attr' => array(),
245
+ 'show_all' => false,
246
), 'group_type_list' );
247
248
$retval = '';
249
250
if ( $types = bp_groups_get_group_type( $group_id, false ) ) {
251
// Make sure we can show the type in the list.
252
+ if ( false === $show_all ) {
253
+ $types = array_intersect( bp_groups_get_group_types( array( 'show_in_list' => true ) ), $types );
254
+ if ( empty( $types ) ) {
255
+ return $retval;
256
+ }
257
}
258
259
$before = $after = $label = '';
4496
</ul>
4497
</div>
4498
4499
+ <h2 class="bp-screen-reader-text"><?php
4500
+ /* translators: accessibility text */
4501
+ _e( 'Members', 'buddypress' );
4502
+ ?></h2>
4503
4504
<div id="members-group-list" class="group_members dir-list">
4505
bp-groups/classes/class-bp-groups-group.php CHANGED
@@ -399,10 +399,15 @@ class BP_Groups_Group {
399
public function __get( $key ) {
400
switch ( $key ) {
401
case 'last_activity' :
402
- return groups_get_groupmeta( $this->id, 'last_activity' );
403
-
404
case 'total_member_count' :
405
- return (int) groups_get_groupmeta( $this->id, 'total_member_count' );
406
407
case 'admins' :
408
return $this->get_admins();
@@ -448,6 +453,7 @@ class BP_Groups_Group {
448
case 'mods' :
449
case 'total_member_count' :
450
case 'user_has_access' :
451
return true;
452
453
default :
399
public function __get( $key ) {
400
switch ( $key ) {
401
case 'last_activity' :
402
case 'total_member_count' :
403
+ case 'forum_id' :
404
+ $retval = groups_get_groupmeta( $this->id, $key );
405
+
406
+ if ( 'last_activity' !== $key ) {
407
+ $retval = (int) $retval;
408
+ }
409
+
410
+ return $retval;
411
412
case 'admins' :
413
return $this->get_admins();
453
case 'mods' :
454
case 'total_member_count' :
455
case 'user_has_access' :
456
+ case 'forum_id' :
457
return true;
458
459
default :
bp-groups/classes/class-bp-groups-list-table.php CHANGED
@@ -710,29 +710,44 @@ class BP_Groups_List_Table extends WP_List_Table {
710
* @param string $column_name Name of the column being rendered.
711
* @param array $item The current group item in the loop.
712
*/
713
- public function column_content_group_type( $retval, $column_name, $item ) {
714
if ( 'bp_group_type' !== $column_name ) {
715
return $retval;
716
}
717
718
- // Get the group type.
719
- $type = bp_groups_get_group_type( $item['id'] );
720
-
721
- // Output the
722
- if ( $type_obj = bp_groups_get_group_type_object( $type ) ) {
723
- $url = add_query_arg( array( 'bp-group-type' => urlencode( $type ) ) );
724
- $type_string = '<a href="' . esc_url( $url ) . '">' . esc_html( $type_obj->labels['singular_name'] ) . '</a>';
725
- }
726
727
/**
728
* Filters the markup for the Group Type column.
729
*
730
* @since 2.7.0
731
*
732
- * @param string $type_string Markup for the Group Type column.
733
- * @parma array $item The current group item in the loop.
734
*/
735
- echo apply_filters_ref_array( 'bp_groups_admin_get_group_type_column', array( $type_string, $item ) );
736
}
737
738
/**
710
* @param string $column_name Name of the column being rendered.
711
* @param array $item The current group item in the loop.
712
*/
713
+ public function column_content_group_type( $retval = '', $column_name, $item ) {
714
if ( 'bp_group_type' !== $column_name ) {
715
return $retval;
716
}
717
718
+ add_filter( 'bp_get_group_type_directory_permalink', array( $this, 'group_type_permalink_use_admin_filter' ), 10, 2 );
719
+ $retval = bp_get_group_type_list( $item['id'], array(
720
+ 'parent_element' => '',
721
+ 'label_element' => '',
722
+ 'label' => '',
723
+ 'show_all' => true
724
+ ) );
725
+ remove_filter( 'bp_get_group_type_directory_permalink', array( $this, 'group_type_permalink_use_admin_filter' ), 10, 2 );
726
727
/**
728
* Filters the markup for the Group Type column.
729
*
730
* @since 2.7.0
731
*
732
+ * @param string $retval Markup for the Group Type column.
733
+ * @parma array $item The current group item in the loop.
734
*/
735
+ echo apply_filters_ref_array( 'bp_groups_admin_get_group_type_column', array( $retval, $item ) );
736
+ }
737
+
738
+ /**
739
+ * Filters the group type list permalink in the Group Type column.
740
+ *
741
+ * Changes the group type permalink to use the admin URL.
742
+ *
743
+ * @since 2.7.0
744
+ *
745
+ * @param string $retval Current group type permalink.
746
+ * @param object $type Group type object.
747
+ * @return string
748
+ */
749
+ public function group_type_permalink_use_admin_filter( $retval, $type ) {
750
+ return add_query_arg( array( 'bp-group-type' => urlencode( $type->name ) ) );
751
}
752
753
/**
bp-loader.php CHANGED
@@ -15,7 +15,7 @@
15
* Description: BuddyPress helps site builders and WordPress developers add community features to their websites, with user profile fields, activity streams, messaging, and notifications.
16
* Author: The BuddyPress Community
17
* Author URI: https://buddypress.org/
18
- * Version: 2.7-beta1
19
* Text Domain: buddypress
20
* Domain Path: /bp-languages/
21
* License: GPLv2 or later (license.txt)
@@ -330,7 +330,7 @@ class BuddyPress {
330
331
/** Versions **********************************************************/
332
333
- $this->version = '2.7-beta1';
334
$this->db_version = 11105;
335
336
/** Loading ***********************************************************/
15
* Description: BuddyPress helps site builders and WordPress developers add community features to their websites, with user profile fields, activity streams, messaging, and notifications.
16
* Author: The BuddyPress Community
17
* Author URI: https://buddypress.org/
18
+ * Version: 2.7-rc1
19
* Text Domain: buddypress
20
* Domain Path: /bp-languages/
21
* License: GPLv2 or later (license.txt)
330
331
/** Versions **********************************************************/
332
333
+ $this->version = '2.7-rc1';
334
$this->db_version = 11105;
335
336
/** Loading ***********************************************************/
bp-notifications/bp-notifications-functions.php CHANGED
@@ -614,10 +614,12 @@ function bp_notifications_get_unread_notification_count( $user_id = 0 ) {
614
* Filters the count of unread notification items for a user.
615
*
616
* @since 1.9.0
617
*
618
- * @param int $count Count of unread notification items for a user.
619
*/
620
- return apply_filters( 'bp_notifications_get_total_notification_count', (int) $count );
621
}
622
623
/**
614
* Filters the count of unread notification items for a user.
615
*
616
* @since 1.9.0
617
+ * @since 2.7.0 Added user ID parameter.
618
*
619
+ * @param int $count Count of unread notification items for a user.
620
+ * @param int $user_id User ID for notifications count.
621
*/
622
+ return apply_filters( 'bp_notifications_get_total_notification_count', (int) $count, $user_id );
623
}
624
625
/**
bp-templates/bp-legacy/buddypress/activity/index.php CHANGED
@@ -32,14 +32,17 @@ do_action( 'bp_before_directory_activity' ); ?>
32
33
<?php endif; ?>
34
35
- <?php
36
37
- /**
38
- * Fires towards the top of template pages for notice display.
39
- *
40
- * @since 1.0.0
41
- */
42
- do_action( 'template_notices' ); ?>
43
44
<div class="item-list-tabs activity-type-tabs" aria-label="<?php esc_attr_e( 'Sitewide activities navigation', 'buddypress' ); ?>" role="navigation">
45
<ul>
32
33
<?php endif; ?>
34
35
+ <div id="template-notices" role="alert" aria-atomic="true">
36
+ <?php
37
38
+ /**
39
+ * Fires towards the top of template pages for notice display.
40
+ *
41
+ * @since 1.0.0
42
+ */
43
+ do_action( 'template_notices' ); ?>
44
+
45
+ </div>
46
47
<div class="item-list-tabs activity-type-tabs" aria-label="<?php esc_attr_e( 'Sitewide activities navigation', 'buddypress' ); ?>" role="navigation">
48
<ul>
bp-templates/bp-legacy/buddypress/activity/single/home.php CHANGED
@@ -8,10 +8,14 @@
8
9
?>
10
<div id="buddypress">
11
- <?php
12
13
- /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
14
- do_action( 'template_notices' ); ?>
15
16
<div class="activity no-ajax">
17
<?php if ( bp_has_activities( 'display_comments=threaded&show_hidden=true&include=' . bp_current_action() ) ) : ?>
8
9
?>
10
<div id="buddypress">
11
12
+ <div id="template-notices" role="alert" aria-atomic="true">
13
+ <?php
14
+
15
+ /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
16
+ do_action( 'template_notices' ); ?>
17
+
18
+ </div>
19
20
<div class="activity no-ajax">
21
<?php if ( bp_has_activities( 'display_comments=threaded&show_hidden=true&include=' . bp_current_action() ) ) : ?>
bp-templates/bp-legacy/buddypress/blogs/create.php CHANGED
@@ -13,10 +13,13 @@
13
*/
14
do_action( 'bp_before_create_blog_content_template' ); ?>
15
16
- <?php
17
18
- /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
19
- do_action( 'template_notices' ); ?>
20
21
<?php
22
13
*/
14
do_action( 'bp_before_create_blog_content_template' ); ?>
15
16
+ <div id="template-notices" role="alert" aria-atomic="true">
17
+ <?php
18
+
19
+ /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
20
+ do_action( 'template_notices' ); ?>
21
22
+ </div>
23
24
<?php
25
bp-templates/bp-legacy/buddypress/blogs/index.php CHANGED
@@ -113,7 +113,10 @@ do_action( 'bp_before_directory_blogs_page' ); ?>
113
</ul>
114
</div>
115
116
- <h2 class="bp-screen-reader-text"><?php _e( 'Sites directory', 'buddypress' ); ?></h2>
117
118
<div id="blogs-dir-list" class="blogs dir-list">
119
113
</ul>
114
</div>
115
116
+ <h2 class="bp-screen-reader-text"><?php
117
+ /* translators: accessibility text */
118
+ _e( 'Sites directory', 'buddypress' );
119
+ ?></h2>
120
121
<div id="blogs-dir-list" class="blogs dir-list">
122
bp-templates/bp-legacy/buddypress/forums/index.php CHANGED
@@ -168,10 +168,13 @@
168
<a name="post-new"></a>
169
<h5><?php _e( 'Create New Topic:', 'buddypress' ); ?></h5>
170
171
<?php
172
173
- /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
174
- do_action( 'template_notices' ); ?>
175
176
<label for="topic_title"><?php _e( 'Title:', 'buddypress' ); ?></label>
177
<input type="text" name="topic_title" id="topic_title" value="" maxlength="100" />
168
<a name="post-new"></a>
169
<h5><?php _e( 'Create New Topic:', 'buddypress' ); ?></h5>
170
171
+ <div id="template-notices" role="alert" aria-atomic="true">
172
<?php
173
174
+ /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
175
+ do_action( 'template_notices' ); ?>
176
+
177
+ </div>
178
179
<label for="topic_title"><?php _e( 'Title:', 'buddypress' ); ?></label>
180
<input type="text" name="topic_title" id="topic_title" value="" maxlength="100" />
bp-templates/bp-legacy/buddypress/groups/create.php CHANGED
@@ -43,17 +43,23 @@ do_action( 'bp_before_create_group_page' ); ?>
43
</ul>
44
</div>
45
46
- <?php
47
48
- /** This action is documented in bp-templates/bp-legacy/buddypress/activity/index.php */
49
- do_action( 'template_notices' ); ?>
50
51
<div class="item-body" id="group-create-body">
52
53
<?php /* Group creation step 1: Basic group details */ ?>
54
<?php if ( bp_is_group_creation_step( 'group-details' ) ) : ?>
55
56
- <h2 class="bp-screen-reader-text"><?php _e( 'Group Details', 'buddypress' ); ?></h2>
57
58
<?php
59