Version Description
See: https://codex.buddypress.org/releases/version-2-6-2/
Download this release
Release Info
| Developer | dcavins |
| Plugin | |
| Version | 2.6.2 |
| Comparing to | |
| See all releases | |
Code changes from version 2.6.1.1 to 2.6.2
- bp-blogs/bp-blogs-activity.php +15 -5
- bp-blogs/bp-blogs-functions.php +0 -13
- bp-core/admin/css/common-rtl.css +1 -0
- bp-core/admin/css/common-rtl.min.css +1 -1
- bp-core/admin/css/common.css +1 -0
- bp-core/admin/css/common.min.css +1 -1
- bp-core/bp-core-buddybar.php +5 -3
- bp-core/classes/class-bp-admin.php +1 -1
- bp-loader.php +2 -2
- bp-members/bp-members-functions.php +15 -7
- bp-settings/bp-settings-actions.php +1 -1
- bp-themes/bp-default/groups/single/home.php +3 -0
- buddypress.pot +11 -11
- readme.txt +7 -34
bp-blogs/bp-blogs-activity.php
CHANGED
|
@@ -639,15 +639,25 @@ add_action( 'bp_blogs_new_blog', 'bp_blogs_record_activity_on_site_creation', 10
|
|
| 639 |
*
|
| 640 |
* @param int $blog_id Site ID.
|
| 641 |
*/
|
| 642 |
-
function bp_blogs_delete_new_blog_activity_for_site( $blog_id ) {
|
| 643 |
-
|
| 644 |
'item_id' => $blog_id,
|
| 645 |
'component' => buddypress()->blogs->id,
|
| 646 |
'type' => 'new_blog'
|
| 647 |
-
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 648 |
}
|
| 649 |
-
add_action( 'bp_blogs_remove_blog', 'bp_blogs_delete_new_blog_activity_for_site' );
|
| 650 |
-
add_action( 'bp_blogs_remove_blog_for_user', 'bp_blogs_delete_new_blog_activity_for_site' );
|
| 651 |
|
| 652 |
/**
|
| 653 |
* Delete all 'blogs' activity items for a site when the site is deleted.
|
| 639 |
*
|
| 640 |
* @param int $blog_id Site ID.
|
| 641 |
*/
|
| 642 |
+
function bp_blogs_delete_new_blog_activity_for_site( $blog_id, $user_id = 0 ) {
|
| 643 |
+
$args = array(
|
| 644 |
'item_id' => $blog_id,
|
| 645 |
'component' => buddypress()->blogs->id,
|
| 646 |
'type' => 'new_blog'
|
| 647 |
+
);
|
| 648 |
+
|
| 649 |
+
/**
|
| 650 |
+
* In the case a user is removed, make sure he is the author of the 'new_blog' activity
|
| 651 |
+
* when trying to delete it.
|
| 652 |
+
*/
|
| 653 |
+
if ( ! empty( $user_id ) ) {
|
| 654 |
+
$args['user_id'] = $user_id;
|
| 655 |
+
}
|
| 656 |
+
|
| 657 |
+
bp_blogs_delete_activity( $args );
|
| 658 |
}
|
| 659 |
+
add_action( 'bp_blogs_remove_blog', 'bp_blogs_delete_new_blog_activity_for_site', 10, 1 );
|
| 660 |
+
add_action( 'bp_blogs_remove_blog_for_user', 'bp_blogs_delete_new_blog_activity_for_site', 10, 2 );
|
| 661 |
|
| 662 |
/**
|
| 663 |
* Delete all 'blogs' activity items for a site when the site is deleted.
|
bp-blogs/bp-blogs-functions.php
CHANGED
|
@@ -919,19 +919,6 @@ function bp_blogs_remove_blog_for_user( $user_id, $blog_id ) {
|
|
| 919 |
|
| 920 |
BP_Blogs_Blog::delete_blog_for_user( $blog_id, $user_id );
|
| 921 |
|
| 922 |
-
/**
|
| 923 |
-
* Delete activity stream item only if the Activity component is active
|
| 924 |
-
*
|
| 925 |
-
* @see https://buddypress.trac.wordpress.org/ticket/6937
|
| 926 |
-
*/
|
| 927 |
-
if ( bp_is_active( 'activity' ) ) {
|
| 928 |
-
bp_blogs_delete_activity( array(
|
| 929 |
-
'item_id' => $blog_id,
|
| 930 |
-
'component' => buddypress()->blogs->id,
|
| 931 |
-
'type' => 'new_blog'
|
| 932 |
-
) );
|
| 933 |
-
}
|
| 934 |
-
|
| 935 |
/**
|
| 936 |
* Fires after a blog has been removed from the tracker for a specific user.
|
| 937 |
*
|
| 919 |
|
| 920 |
BP_Blogs_Blog::delete_blog_for_user( $blog_id, $user_id );
|
| 921 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 922 |
/**
|
| 923 |
* Fires after a blog has been removed from the tracker for a specific user.
|
| 924 |
*
|
bp-core/admin/css/common-rtl.css
CHANGED
|
@@ -135,6 +135,7 @@ TABLE OF CONTENTS:
|
|
| 135 |
|
| 136 |
.index_page_bp-about .bp-feature p,
|
| 137 |
.dashboard_page_bp-about .bp-feature p {
|
|
|
|
| 138 |
font-size: 1.15em;
|
| 139 |
width: 47%;
|
| 140 |
}
|
| 135 |
|
| 136 |
.index_page_bp-about .bp-feature p,
|
| 137 |
.dashboard_page_bp-about .bp-feature p {
|
| 138 |
+
float: right;
|
| 139 |
font-size: 1.15em;
|
| 140 |
width: 47%;
|
| 141 |
}
|
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{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}
|
| 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}
|
bp-core/admin/css/common.css
CHANGED
|
@@ -135,6 +135,7 @@ TABLE OF CONTENTS:
|
|
| 135 |
|
| 136 |
.index_page_bp-about .bp-feature p,
|
| 137 |
.dashboard_page_bp-about .bp-feature p {
|
|
|
|
| 138 |
font-size: 1.15em;
|
| 139 |
width: 47%;
|
| 140 |
}
|
| 135 |
|
| 136 |
.index_page_bp-about .bp-feature p,
|
| 137 |
.dashboard_page_bp-about .bp-feature p {
|
| 138 |
+
float: left;
|
| 139 |
font-size: 1.15em;
|
| 140 |
width: 47%;
|
| 141 |
}
|
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{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}
|
| 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}
|
bp-core/bp-core-buddybar.php
CHANGED
|
@@ -152,7 +152,7 @@ function bp_core_create_nav_link( $args = '', $component = 'members' ) {
|
|
| 152 |
);
|
| 153 |
|
| 154 |
// Add the item to the nav.
|
| 155 |
-
|
| 156 |
|
| 157 |
/**
|
| 158 |
* Fires after a link is added to the main BuddyPress nav.
|
|
@@ -167,7 +167,7 @@ function bp_core_create_nav_link( $args = '', $component = 'members' ) {
|
|
| 167 |
*/
|
| 168 |
do_action( 'bp_core_create_nav_link', $r, $args, $defaults, $component );
|
| 169 |
|
| 170 |
-
return $
|
| 171 |
}
|
| 172 |
|
| 173 |
/**
|
|
@@ -536,7 +536,9 @@ function bp_core_create_subnav_link( $args = '', $component = 'members' ) {
|
|
| 536 |
'show_in_admin_bar' => (bool) $r['show_in_admin_bar'],
|
| 537 |
);
|
| 538 |
|
| 539 |
-
|
|
|
|
|
|
|
| 540 |
}
|
| 541 |
|
| 542 |
/**
|
| 152 |
);
|
| 153 |
|
| 154 |
// Add the item to the nav.
|
| 155 |
+
buddypress()->{$component}->nav->add_nav( $nav_item );
|
| 156 |
|
| 157 |
/**
|
| 158 |
* Fires after a link is added to the main BuddyPress nav.
|
| 167 |
*/
|
| 168 |
do_action( 'bp_core_create_nav_link', $r, $args, $defaults, $component );
|
| 169 |
|
| 170 |
+
return $nav_item;
|
| 171 |
}
|
| 172 |
|
| 173 |
/**
|
| 536 |
'show_in_admin_bar' => (bool) $r['show_in_admin_bar'],
|
| 537 |
);
|
| 538 |
|
| 539 |
+
buddypress()->{$component}->nav->add_nav( $subnav_item );
|
| 540 |
+
|
| 541 |
+
return $subnav_item;
|
| 542 |
}
|
| 543 |
|
| 544 |
/**
|
bp-core/classes/class-bp-admin.php
CHANGED
|
@@ -660,7 +660,7 @@ class BP_Admin {
|
|
| 660 |
<div class="bp-feature">
|
| 661 |
<h4 class="feature-title"><?php esc_html_e( 'New Navigation API', 'buddypress' ); ?></h4>
|
| 662 |
<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' ); ?>">
|
| 663 |
-
<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://buddypress.
|
| 664 |
</div>
|
| 665 |
|
| 666 |
<div class="bp-feature opposite">
|
| 660 |
<div class="bp-feature">
|
| 661 |
<h4 class="feature-title"><?php esc_html_e( 'New Navigation API', 'buddypress' ); ?></h4>
|
| 662 |
<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' ); ?>">
|
| 663 |
+
<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>
|
| 664 |
</div>
|
| 665 |
|
| 666 |
<div class="bp-feature opposite">
|
bp-loader.php
CHANGED
|
@@ -15,7 +15,7 @@
|
|
| 15 |
* Description: BuddyPress helps you build any type of community website using WordPress, with member profiles, activity streams, user groups, messaging, and more.
|
| 16 |
* Author: The BuddyPress Community
|
| 17 |
* Author URI: https://buddypress.org/
|
| 18 |
-
* Version: 2.6.
|
| 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.6.
|
| 334 |
$this->db_version = 10469;
|
| 335 |
|
| 336 |
/** Loading ***********************************************************/
|
| 15 |
* Description: BuddyPress helps you build any type of community website using WordPress, with member profiles, activity streams, user groups, messaging, and more.
|
| 16 |
* Author: The BuddyPress Community
|
| 17 |
* Author URI: https://buddypress.org/
|
| 18 |
+
* Version: 2.6.2
|
| 19 |
* Text Domain: buddypress
|
| 20 |
* Domain Path: /bp-languages/
|
| 21 |
* License: GPLv2 or later (license.txt)
|
| 330 |
|
| 331 |
/** Versions **********************************************************/
|
| 332 |
|
| 333 |
+
$this->version = '2.6.2';
|
| 334 |
$this->db_version = 10469;
|
| 335 |
|
| 336 |
/** Loading ***********************************************************/
|
bp-members/bp-members-functions.php
CHANGED
|
@@ -2065,15 +2065,23 @@ function bp_core_activate_signup( $key ) {
|
|
| 2065 |
}
|
| 2066 |
}
|
| 2067 |
|
| 2068 |
-
//
|
| 2069 |
-
wp_update_user( array(
|
| 2070 |
-
'ID' => $user_id,
|
| 2071 |
-
'display_name' => bp_core_get_user_displayname( $user_id ),
|
| 2072 |
-
) );
|
| 2073 |
-
|
| 2074 |
-
// Set the password on multisite installs.
|
| 2075 |
if ( ! empty( $user['meta']['password'] ) ) {
|
| 2076 |
$wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->users} SET user_pass = %s WHERE ID = %d", $user['meta']['password'], $user_id ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2077 |
}
|
| 2078 |
|
| 2079 |
/**
|
| 2065 |
}
|
| 2066 |
}
|
| 2067 |
|
| 2068 |
+
// Replace the password automatically generated by WordPress by the one the user chose.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2069 |
if ( ! empty( $user['meta']['password'] ) ) {
|
| 2070 |
$wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->users} SET user_pass = %s WHERE ID = %d", $user['meta']['password'], $user_id ) );
|
| 2071 |
+
|
| 2072 |
+
/**
|
| 2073 |
+
* Make sure to clean the user's cache as we've
|
| 2074 |
+
* directly edited the password without using
|
| 2075 |
+
* wp_update_user().
|
| 2076 |
+
*
|
| 2077 |
+
* If we can't use wp_update_user() that's because
|
| 2078 |
+
* we already hashed the password at the signup step.
|
| 2079 |
+
*/
|
| 2080 |
+
$uc = wp_cache_get( $user_id, 'users' );
|
| 2081 |
+
|
| 2082 |
+
if ( ! empty( $uc->ID ) ) {
|
| 2083 |
+
clean_user_cache( $uc->ID );
|
| 2084 |
+
}
|
| 2085 |
}
|
| 2086 |
|
| 2087 |
/**
|
bp-settings/bp-settings-actions.php
CHANGED
|
@@ -444,7 +444,7 @@ function bp_settings_verify_email_change(){
|
|
| 444 |
$pending_email = bp_get_user_meta( bp_displayed_user_id(), 'pending_email_change', true );
|
| 445 |
|
| 446 |
// Bail if the hash provided doesn't match the one saved in the database.
|
| 447 |
-
if ( urldecode( $_GET['verify_email_change'] )
|
| 448 |
return;
|
| 449 |
}
|
| 450 |
|
| 444 |
$pending_email = bp_get_user_meta( bp_displayed_user_id(), 'pending_email_change', true );
|
| 445 |
|
| 446 |
// Bail if the hash provided doesn't match the one saved in the database.
|
| 447 |
+
if ( ! hash_equals( urldecode( $_GET['verify_email_change'] ), $pending_email['hash'] ) ) {
|
| 448 |
return;
|
| 449 |
}
|
| 450 |
|
bp-themes/bp-default/groups/single/home.php
CHANGED
|
@@ -72,6 +72,9 @@
|
|
| 72 |
// Old group forums
|
| 73 |
elseif ( bp_is_group_forum() ) : locate_template( array( 'groups/single/forum.php' ), true );
|
| 74 |
|
|
|
|
|
|
|
|
|
|
| 75 |
// Anything else (plugins mostly)
|
| 76 |
else : locate_template( array( 'groups/single/plugins.php' ), true );
|
| 77 |
|
| 72 |
// Old group forums
|
| 73 |
elseif ( bp_is_group_forum() ) : locate_template( array( 'groups/single/forum.php' ), true );
|
| 74 |
|
| 75 |
+
// Membership request
|
| 76 |
+
elseif ( bp_is_group_membership_request() ) : locate_template( array( 'groups/single/request-membership.php' ), true );
|
| 77 |
+
|
| 78 |
// Anything else (plugins mostly)
|
| 79 |
else : locate_template( array( 'groups/single/plugins.php' ), true );
|
| 80 |
|
buddypress.pot
CHANGED
|
@@ -2,9 +2,9 @@
|
|
| 2 |
# This file is distributed under the GPLv2 or later (license.txt).
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
-
"Project-Id-Version: BuddyPress 2.6.
|
| 6 |
"Report-Msgid-Bugs-To: https://buddypress.trac.wordpress.org\n"
|
| 7 |
-
"POT-Creation-Date: 2016-
|
| 8 |
"MIME-Version: 1.0\n"
|
| 9 |
"Content-Type: text/plain; charset=utf-8\n"
|
| 10 |
"Content-Transfer-Encoding: 8bit\n"
|
|
@@ -1920,8 +1920,8 @@ msgstr ""
|
|
| 1920 |
msgid "Profile photo of %s"
|
| 1921 |
msgstr ""
|
| 1922 |
|
| 1923 |
-
#: bp-core/bp-core-buddybar.php:
|
| 1924 |
-
#: bp-core/bp-core-buddybar.php:
|
| 1925 |
msgid "You do not have access to this page."
|
| 1926 |
msgstr ""
|
| 1927 |
|
|
@@ -5157,7 +5157,7 @@ msgid ""
|
|
| 5157 |
msgstr ""
|
| 5158 |
|
| 5159 |
#: bp-members/bp-members-functions.php:1442
|
| 5160 |
-
#: bp-members/bp-members-functions.php:
|
| 5161 |
msgid "<strong>ERROR</strong>: Your account has been marked as a spammer."
|
| 5162 |
msgstr ""
|
| 5163 |
|
|
@@ -5223,31 +5223,31 @@ msgstr ""
|
|
| 5223 |
msgid "That username is already activated."
|
| 5224 |
msgstr ""
|
| 5225 |
|
| 5226 |
-
#: bp-members/bp-members-functions.php:
|
| 5227 |
msgid ""
|
| 5228 |
"If you have not received an email yet, <a href=\"%s\">click here to resend "
|
| 5229 |
"it</a>."
|
| 5230 |
msgstr ""
|
| 5231 |
|
| 5232 |
-
#: bp-members/bp-members-functions.php:
|
| 5233 |
msgid ""
|
| 5234 |
"<strong>ERROR</strong>: Your account has not been activated. Check your "
|
| 5235 |
"email for the activation link."
|
| 5236 |
msgstr ""
|
| 5237 |
|
| 5238 |
-
#: bp-members/bp-members-functions.php:
|
| 5239 |
msgid "<strong>ERROR</strong>: Your account has already been activated."
|
| 5240 |
msgstr ""
|
| 5241 |
|
| 5242 |
-
#: bp-members/bp-members-functions.php:
|
| 5243 |
msgid "Activation email resent! Please check your inbox or spam folder."
|
| 5244 |
msgstr ""
|
| 5245 |
|
| 5246 |
-
#: bp-members/bp-members-functions.php:
|
| 5247 |
msgid "Member type already exists."
|
| 5248 |
msgstr ""
|
| 5249 |
|
| 5250 |
-
#: bp-members/bp-members-functions.php:
|
| 5251 |
msgid "You may not register a member type with this name."
|
| 5252 |
msgstr ""
|
| 5253 |
|
| 2 |
# This file is distributed under the GPLv2 or later (license.txt).
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
+
"Project-Id-Version: BuddyPress 2.6.2\n"
|
| 6 |
"Report-Msgid-Bugs-To: https://buddypress.trac.wordpress.org\n"
|
| 7 |
+
"POT-Creation-Date: 2016-08-04 22:00:54+00:00\n"
|
| 8 |
"MIME-Version: 1.0\n"
|
| 9 |
"Content-Type: text/plain; charset=utf-8\n"
|
| 10 |
"Content-Transfer-Encoding: 8bit\n"
|
| 1920 |
msgid "Profile photo of %s"
|
| 1921 |
msgstr ""
|
| 1922 |
|
| 1923 |
+
#: bp-core/bp-core-buddybar.php:676 bp-core/bp-core-buddybar.php:692
|
| 1924 |
+
#: bp-core/bp-core-buddybar.php:712
|
| 1925 |
msgid "You do not have access to this page."
|
| 1926 |
msgstr ""
|
| 1927 |
|
| 5157 |
msgstr ""
|
| 5158 |
|
| 5159 |
#: bp-members/bp-members-functions.php:1442
|
| 5160 |
+
#: bp-members/bp-members-functions.php:2474
|
| 5161 |
msgid "<strong>ERROR</strong>: Your account has been marked as a spammer."
|
| 5162 |
msgstr ""
|
| 5163 |
|
| 5223 |
msgid "That username is already activated."
|
| 5224 |
msgstr ""
|
| 5225 |
|
| 5226 |
+
#: bp-members/bp-members-functions.php:2337
|
| 5227 |
msgid ""
|
| 5228 |
"If you have not received an email yet, <a href=\"%s\">click here to resend "
|
| 5229 |
"it</a>."
|
| 5230 |
msgstr ""
|
| 5231 |
|
| 5232 |
+
#: bp-members/bp-members-functions.php:2339
|
| 5233 |
msgid ""
|
| 5234 |
"<strong>ERROR</strong>: Your account has not been activated. Check your "
|
| 5235 |
"email for the activation link."
|
| 5236 |
msgstr ""
|
| 5237 |
|
| 5238 |
+
#: bp-members/bp-members-functions.php:2370
|
| 5239 |
msgid "<strong>ERROR</strong>: Your account has already been activated."
|
| 5240 |
msgstr ""
|
| 5241 |
|
| 5242 |
+
#: bp-members/bp-members-functions.php:2372
|
| 5243 |
msgid "Activation email resent! Please check your inbox or spam folder."
|
| 5244 |
msgstr ""
|
| 5245 |
|
| 5246 |
+
#: bp-members/bp-members-functions.php:2534
|
| 5247 |
msgid "Member type already exists."
|
| 5248 |
msgstr ""
|
| 5249 |
|
| 5250 |
+
#: bp-members/bp-members-functions.php:2557
|
| 5251 |
msgid "You may not register a member type with this name."
|
| 5252 |
msgstr ""
|
| 5253 |
|
readme.txt
CHANGED
|
@@ -3,7 +3,7 @@ Contributors: johnjamesjacoby, DJPaul, boonebgorges, r-a-y, imath, mercime, tw21
|
|
| 3 |
Tags: social networking, activity, profiles, messaging, friends, groups, forums, notifications, settings, social, community, networks, networking
|
| 4 |
Requires at least: 4.1
|
| 5 |
Tested up to: 4.5.3
|
| 6 |
-
Stable tag: 2.6.
|
| 7 |
License: GPLv2 or later
|
| 8 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
| 9 |
|
|
@@ -118,6 +118,9 @@ Please consider helping translate BuddyPress at our <a href="https://translate.w
|
|
| 118 |
|
| 119 |
== Upgrade Notice ==
|
| 120 |
|
|
|
|
|
|
|
|
|
|
| 121 |
= 2.6.1.1 =
|
| 122 |
See: https://codex.buddypress.org/releases/version-2-6-1-1/
|
| 123 |
|
|
@@ -129,6 +132,9 @@ See: https://codex.buddypress.org/releases/version-2-6-0/
|
|
| 129 |
|
| 130 |
== Changelog ==
|
| 131 |
|
|
|
|
|
|
|
|
|
|
| 132 |
= 2.6.1.1 =
|
| 133 |
See: https://codex.buddypress.org/releases/version-2-6-1-1/
|
| 134 |
|
|
@@ -186,38 +192,5 @@ See: https://codex.buddypress.org/releases/version-2-2-1/
|
|
| 186 |
= 2.2 =
|
| 187 |
See: https://codex.buddypress.org/releases/version-2-2/
|
| 188 |
|
| 189 |
-
= 2.1 =
|
| 190 |
-
See: https://codex.buddypress.org/releases/version-2-1/
|
| 191 |
-
|
| 192 |
-
= 2.0.3 =
|
| 193 |
-
See: https://codex.buddypress.org/releases/version-2-0-3/
|
| 194 |
-
|
| 195 |
-
= 2.0.2 =
|
| 196 |
-
See: https://codex.buddypress.org/releases/version-2-0-2/
|
| 197 |
-
|
| 198 |
-
= 2.0.1 =
|
| 199 |
-
See: https://codex.buddypress.org/releases/version-2-0-1/
|
| 200 |
-
|
| 201 |
-
= 2.0 =
|
| 202 |
-
See: https://codex.buddypress.org/releases/version-2-0/
|
| 203 |
-
|
| 204 |
-
= 1.9 =
|
| 205 |
-
See: https://codex.buddypress.org/releases/version-1-9/
|
| 206 |
-
|
| 207 |
-
= 1.8.1 =
|
| 208 |
-
See: https://codex.buddypress.org/releases/version-1-8-1/
|
| 209 |
-
|
| 210 |
-
= 1.8 =
|
| 211 |
-
See: https://codex.buddypress.org/releases/version-1-8/
|
| 212 |
-
|
| 213 |
-
= 1.7 =
|
| 214 |
-
See: https://codex.buddypress.org/releases/version-1-7/
|
| 215 |
-
|
| 216 |
-
= 1.6 =
|
| 217 |
-
See: https://codex.buddypress.org/releases/version-1-6/
|
| 218 |
-
|
| 219 |
-
= 1.5 =
|
| 220 |
-
See: https://codex.buddypress.org/releases/version-1-5/
|
| 221 |
-
|
| 222 |
= Older =
|
| 223 |
See: https://codex.buddypress.org/releases/
|
| 3 |
Tags: social networking, activity, profiles, messaging, friends, groups, forums, notifications, settings, social, community, networks, networking
|
| 4 |
Requires at least: 4.1
|
| 5 |
Tested up to: 4.5.3
|
| 6 |
+
Stable tag: 2.6.2
|
| 7 |
License: GPLv2 or later
|
| 8 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
| 9 |
|
| 118 |
|
| 119 |
== Upgrade Notice ==
|
| 120 |
|
| 121 |
+
= 2.6.2 =
|
| 122 |
+
See: https://codex.buddypress.org/releases/version-2-6-2/
|
| 123 |
+
|
| 124 |
= 2.6.1.1 =
|
| 125 |
See: https://codex.buddypress.org/releases/version-2-6-1-1/
|
| 126 |
|
| 132 |
|
| 133 |
== Changelog ==
|
| 134 |
|
| 135 |
+
= 2.6.2 =
|
| 136 |
+
See: https://codex.buddypress.org/releases/version-2-6-2/
|
| 137 |
+
|
| 138 |
= 2.6.1.1 =
|
| 139 |
See: https://codex.buddypress.org/releases/version-2-6-1-1/
|
| 140 |
|
| 192 |
= 2.2 =
|
| 193 |
See: https://codex.buddypress.org/releases/version-2-2/
|
| 194 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 195 |
= Older =
|
| 196 |
See: https://codex.buddypress.org/releases/
|
