Changeset 7451
- Timestamp:
- 07/12/2018 11:18:41 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-hooks.php
r7450 r7451 242 242 */ 243 243 public function new_topic_link() { 244 printf( '<a class="create-topic" href="#new-topic-0">%s</a>', __( 'Create Topic', 'wporg-forums' ) ); 244 if ( bbp_is_single_forum() ) { 245 printf( '<a class="create-topic" href="#new-topic-0">%s</a>', __( 'Create Topic', 'wporg-forums' ) ); 246 } 245 247 } 246 248
Note: See TracChangeset
for help on using the changeset viewer.