Changeset 342
- Timestamp:
- 01/30/2014 11:25:23 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/trac-notifications/trac-components.php
r341 r342 281 281 } 282 282 283 echo '<div><a class="create-new-ticket button button-large button-primary" href="https://wordpress.org/support/bb-login.php?redirect_to=' . urlencode( 'https://core.trac.wordpress.org/newticket?component=' . urlencode( $component ) ) . '">Create a new ticket</a></div>'; 283 if ( is_singular() ) { 284 echo '<div><a class="create-new-ticket button button-large button-primary" href="https://wordpress.org/support/bb-login.php?redirect_to=' . urlencode( 'https://core.trac.wordpress.org/newticket?component=' . urlencode( $component ) ) . '">Create a new ticket</a></div>'; 285 } 284 286 285 287 if ( ! $component_count = array_sum( $component_type[ $component ] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.