Skip to:
Content

bbPress.org

Ticket #1462: subscription_checkbox_label.patch

File subscription_checkbox_label.patch, 945 bytes (added by dimadin, 15 years ago)
  • bb-includes/functions.bb-template.php

     
    35733573        $tab        = $args['tab'] !== false ? ' tabindex="' . $args['tab'] . '"' : '';
    35743574
    35753575        // 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' ) ) ) )
     3576        if ( bb_is_topic_edit() && ( $is_current = ( bb_get_user_id( get_post_author_id() ) != bb_get_current_user_info( 'id' ) ) ) )
     3577                $text = __( 'This user should be notified of follow-up posts via email' );
     3578        else
    35773579                $text = __( 'Notify me of follow-up posts via email' );
    3578         else
    3579                 $text = __( 'This user should be notified of follow-up posts via email' );
    35803580
    35813581        echo '
    35823582        <label for="subscription_checkbox">