Changeset 11062
- Timestamp:
- 06/25/2021 03:49:40 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-hooks.php
r10939 r11062 132 132 add_filter( 'bbp_subscription_mail_message', array( $this, 'bbp_subscription_mail_message'), 5, 3 ); 133 133 134 // Break users sessions / passwords when they get blocked. 135 add_action( 'bbp_set_user_role', array( $this, 'user_blocked_password_handler' ), 10, 3 ); 134 if ( 'wordpress.org' === get_blog_details()->domain ) { 135 // Break users sessions / passwords when they get blocked, on the main forums only. 136 add_action( 'bbp_set_user_role', array( $this, 'user_blocked_password_handler' ), 10, 3 ); 137 } 136 138 } 137 139
Note: See TracChangeset
for help on using the changeset viewer.