Changeset 3524 for trunk/bb-includes/functions.bb-template.php
- Timestamp:
- 09/20/2011 11:54:11 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/bb-includes/functions.bb-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bb-includes/functions.bb-template.php
r2911 r3524 3572 3572 $args = wp_parse_args( $args, $defaults ); 3573 3573 $tab = $args['tab'] !== false ? ' tabindex="' . $args['tab'] . '"' : ''; 3574 $is_current = bb_get_user_id( get_post_author_id() ) == bb_get_current_user_info( 'id' ); 3574 3575 3575 3576 // Change subscription checkbox message if current or moderating 3576 if ( isset( $_GET['new'] ) || ( $is_current = ( bb_get_user_id( get_post_author_id() ) == bb_get_current_user_info( 'id' ) ) ) ) 3577 if ( bb_is_topic_edit() && !$is_current ) 3578 $text = __( 'This user should be notified of follow-up posts via email' ); 3579 else 3577 3580 $text = __( 'Notify me of follow-up posts via email' ); 3578 else3579 $text = __( 'This user should be notified of follow-up posts via email' );3580 3581 3581 3582 echo '
Note: See TracChangeset
for help on using the changeset viewer.