Changeset 11669
- Timestamp:
- 03/12/2022 12:45:19 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/trac-notifications/trac-components.php
r11668 r11669 325 325 } 326 326 327 $component = str_replace( '&', '&', $post->post_title ); 328 327 329 ob_start(); 328 330 329 331 if ( ! is_singular() ) { 330 $this->ticket_table( $ post->post_title);332 $this->ticket_table( $component ); 331 333 return ob_get_clean(); 332 334 } … … 398 400 } 399 401 400 $this->ticket_table( $ post->post_title);401 402 $this->trac_content( $ post->post_title);402 $this->ticket_table( $component ); 403 404 $this->trac_content( $component ); 403 405 404 406 echo '<h3>Help maintain this component</h3>'; … … 427 429 echo "<strong>Want to help? Start following this component!</strong> <a href='/{$this->trac}/notifications/'>Adjust your notifications here</a>. Feel free to dig into any ticket." . "\n\n"; 428 430 429 $followers = $this->api->get_component_followers( $ post->post_title);431 $followers = $this->api->get_component_followers( $component ); 430 432 if ( $followers ) { 431 433 $followers = "'" . implode( "', '", esc_sql( $followers ) ) . "'"; … … 681 683 } 682 684 683 $component = $post->post_title; 685 $component = str_replace( '&', '&', $post->post_title ); 686 684 687 $history = $this->api->get_component_history( $component ); 685 688
Note: See TracChangeset
for help on using the changeset viewer.