Skip to:
Content

bbPress.org

Changeset 6361


Ignore:
Timestamp:
03/04/2017 01:47:37 AM (7 years ago)
Author:
netweb
Message:

General: Improve verbiage for closed forum and closed topic template notices.

This changeset also adds a template notice to the reply form noting that the forum you're posting to is closed to new content.

Props @SergeyBiryukov.
Fixes #3076.
See also #2353-meta.

Location:
trunk/src/templates/default/bbpress
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/templates/default/bbpress/form-forum.php

    r6258 r6361  
    5050                    <div class="bbp-template-notice">
    5151                        <ul>
    52                             <li><?php esc_html_e( 'This forum is closed to new content, however your account still allows you to do so.', 'bbpress' ); ?></li>
     52                            <li><?php esc_html_e( 'This forum is closed to new content, however your posting capabilities still allow you to post.', 'bbpress' ); ?></li>
    5353                        </ul>
    5454                    </div>
  • trunk/src/templates/default/bbpress/form-reply.php

    r6258 r6361  
    3636                    <div class="bbp-template-notice">
    3737                        <ul>
    38                             <li><?php esc_html_e( 'This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.', 'bbpress' ); ?></li>
     38                            <li><?php esc_html_e( 'This topic is marked as closed to new replies, however your posting capabilities still allow you to reply.', 'bbpress' ); ?></li>
     39                        </ul>
     40                    </div>
     41
     42                <?php endif; ?>
     43
     44                <?php if ( ! bbp_is_reply_edit() && bbp_is_forum_closed() ) : ?>
     45
     46                    <div class="bbp-template-notice">
     47                        <ul>
     48                            <li><?php esc_html_e( 'This forum is closed to new content, however your posting capabilities still allow you to post.', 'bbpress' ); ?></li>
    3949                        </ul>
    4050                    </div>
  • trunk/src/templates/default/bbpress/form-topic.php

    r6344 r6361  
    5858                    <div class="bbp-template-notice">
    5959                        <ul>
    60                             <li><?php esc_html_e( 'This forum is marked as closed to new topics, however your posting capabilities still allow you to do so.', 'bbpress' ); ?></li>
     60                            <li><?php esc_html_e( 'This forum is marked as closed to new topics, however your posting capabilities still allow you to create a topic.', 'bbpress' ); ?></li>
    6161                        </ul>
    6262                    </div>
Note: See TracChangeset for help on using the changeset viewer.