Changeset 4676
- Timestamp:
- 01/14/2017 01:24:10 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/bbpress/form-topic.php
r4673 r4676 214 214 <div id="no-topic-<?php bbp_topic_id(); ?>" class="bbp-no-topic"> 215 215 <div class="bbp-template-notice"> 216 <p><?php is_user_logged_in() ? _e( 'You cannot create new topics at this time.', 'wporg-forums' ) : _e( 'You must be logged in to create new topics.', 'wporg-forums' ); ?></p> 216 <?php if ( is_user_logged_in() ) : ?> 217 <p><?php _e( 'You cannot create new topics at this time.', 'wporg-forums' ); ?></p> 218 <?php else : ?> 219 <p><?php printf( __( 'You must be <a href="%s">logged in</a> to create new topics.', 'wporg-forums' ), wp_login_url() ); ?></p> 220 <?php endif; ?> 217 221 </div> 218 222 </div>
Note: See TracChangeset
for help on using the changeset viewer.