Ticket #1407: 1407.diff
File 1407.diff, 1.5 KB (added by , 9 years ago) |
---|
-
bbpress/form-topic.php
26 26 27 27 <?php do_action( 'bbp_theme_before_topic_form_notices' ); ?> 28 28 29 <?php if ( ! bbp_is_topic_edit() && ! bbp_is_forum_closed() ) : ?>29 <?php if ( ! bbp_is_topic_edit() && ! bbp_is_forum_closed() && ! in_array( bbp_get_view_id(), array( 'reviews' ) ) ) : ?> 30 30 31 31 <div class="bbp-template-notice"> 32 32 <p><?php _e( 'When posting a new topic, follow these steps:', 'wporg-forums' ); ?></p> … … 47 47 48 48 <?php endif; ?> 49 49 50 <?php if ( ! bbp_is_topic_edit() && ! bbp_is_forum_closed() && in_array( bbp_get_view_id(), array( 'reviews' ) ) ) : ?> 51 <div class="bbp-template-notice"> 52 <p><?php _e( 'When posting a review, follow these guidelines:', 'wporg-forums' ); ?></p> 53 <ul> 54 <li><?php _e( 'If you are reporting an issue with a plugin, please post <a href="%s">HERE</a> instead.', 'wporg-forums' ); ?></li> 55 <li><?php _e( 'In order to rate a plugin, you <strong>must</strong> also submit a review.', 'wporg-forums' ); ?></li> 56 <li><?php _e( 'Please provide as much detail as you can to justify your rating and to help others.', 'wporg-forums' ); ?></li> 57 </ul> 58 </div> 59 60 <?php endif; ?> 61 50 62 <?php if ( !bbp_is_topic_edit() && bbp_is_forum_closed() ) : ?> 51 63 52 64 <div class="bbp-template-notice">