Changeset 5657 for sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-hooks.php
- Timestamp:
- 07/12/2017 02:43:36 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-hooks.php
r5639 r5657 51 51 52 52 /** 53 * Check "Notify me of follow-up replies via email" checkbox for new topics by default. 53 * Check "Notify me of follow-up replies via email" box for new topics by default. 54 * 55 * If the user has enabled "Always notify me via email of follow-up posts" option 56 * in their profile, check the box for new replies as well. 54 57 * 55 58 * @param string $checked Checked value of topic subscription. … … 57 60 */ 58 61 public function check_topic_subscription_checkbox( $checked ) { 59 if ( bbp_is_single_forum() || bbp_is_single_view() ) { 62 if ( 63 bbp_is_single_forum() || bbp_is_single_view() 64 || 65 get_user_option( 'auto_topic_subscription' ) 66 ) { 60 67 $checked = checked( true, true, false ); 61 68 }
Note: See TracChangeset
for help on using the changeset viewer.