Making WordPress.org


Ignore:
Timestamp:
09/07/2016 06:50:50 PM (10 years ago)
Author:
jmdodd
Message:

Forums Theme: Use a different new topic message for reviews.

Reviews are not intended to be used for support.

Props netweb, ipstenu.

Fixes #1407.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-forums/bbpress/form-topic.php

    r3950 r3996  
    3030
    3131                                        <div class="bbp-template-notice">
     32
     33                                                <?php if ( bbp_is_single_view() && in_array( bbp_get_view_id(), array( 'reviews' ) ) ) : ?>
     34
     35                                                        <?php do_action( 'wporg_compat_new_review_notice' ); ?>
     36
     37                                                <?php else : ?>
     38
    3239                                                <p><?php _e( 'When posting a new topic, follow these steps:', 'wporg-forums' ); ?></p>
    3340                                                <ul>
    … …  
    4451                                                        <li><?php _e( '<strong>Provide any information</strong> you might think is useful. If your issue is visual, note your browser and operating system. If your issue is technical, note your server environment.', 'wporg-forums' ); ?></li>
    4552                                                </ul>
     53
     54                                                <?php endif; ?>
     55
    4656                                        </div>
    4757
Note: See TracChangeset for help on using the changeset viewer.