Support #9211 » 9211.diff
| wp-content/plugins/bp-event-organiser | ||
|---|---|---|
| 1 |
Subproject commit 7de4c9caacee26c8f73287ad3e7ff057a7d50a46 |
|
| 1 |
Subproject commit 9f4ea34cd63c255411c1bcad853e87ee0191f09a |
|
| wp-content/plugins/cac-advanced-profiles | ||
|---|---|---|
| 1 |
Subproject commit 00931350ac9ea552665202899e5dad47b09d2ab2 |
|
| 1 |
Subproject commit 13c1f98144459d9aaae69fca9357e99f468c0fc5 |
|
| wp-content/plugins/cac-bp-custom-includes/forums.php | ||
|---|---|---|
| 464 | 464 |
} |
| 465 | 465 |
return $args; |
| 466 | 466 |
} ); |
| 467 | ||
| 468 |
/** |
|
| 469 |
* On a secondary site running bbPress, show a notice on users.php about the Auto Role setting. |
|
| 470 |
*/ |
|
| 471 |
add_action( 'admin_notices', function() {
|
|
| 472 |
if ( bp_is_root_blog() ) {
|
|
| 473 |
return; |
|
| 474 |
} |
|
| 475 | ||
| 476 |
if ( ! current_user_can( 'add_users' ) ) {
|
|
| 477 |
return; |
|
| 478 |
} |
|
| 479 | ||
| 480 |
$screen = get_current_screen(); |
|
| 481 |
if ( 'users' !== $screen->id ) {
|
|
| 482 |
return; |
|
| 483 |
} |
|
| 484 | ||
| 485 |
if ( ! function_exists( 'bbp_allow_global_access' ) ) {
|
|
| 486 |
return; |
|
| 487 |
} |
|
| 488 | ||
| 489 |
if ( ! bbp_allow_global_access() ) {
|
|
| 490 |
return; |
|
| 491 |
} |
|
| 492 | ||
| 493 |
$forum_settings_url = add_query_arg( 'page', 'bbpress', admin_url( 'options-general.php' ) ); |
|
| 494 | ||
| 495 |
?> |
|
| 496 |
<div class="notice notice-warning"> |
|
| 497 |
<p>The "Auto Role" setting is currently enabled, which means that any logged-in user of the Commons who visits your site will be added as a Participant and listed below. To disable this setting, visit the <a href="<?php echo esc_url( $forum_settings_url ); ?>">Forum Settings</a> panel.</p> |
|
| 498 | ||
| 499 |
<p>Please note that disabling "Auto Role" means that you'll have to add users manually as Participants before they can participate in forum conversations.</p> |
|
| 500 |
</div> |
|
| 501 |
<?php |
|
| 502 |
} ); |
|
| wp-content/plugins/social-paper | ||
|---|---|---|
| 1 |
Subproject commit 6d4d02b2a251c28337ad1005280c9984673327ab |
|
| 1 |
Subproject commit 0f7e237ea79a64a4700662d7674ac931b628ead1 |
|
- « Previous
- 1
- 2
- Next »