Changeset 5807
- Timestamp:
- 08/16/2017 01:27:16 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/phpunit-test-reporter/src/class-display.php
r5806 r5807 18 18 */ 19 19 public static function filter_post_class( $classes ) { 20 if ( is_singular( 'result' ) ) {20 if ( is_singular( 'result' ) && get_the_ID() === get_queried_object_id() ) { 21 21 $classes[] = 'page'; 22 22 } … … 28 28 */ 29 29 public static function filter_the_content( $content ) { 30 if ( ! is_singular( 'result' ) ) {30 if ( ! is_singular( 'result' ) || get_the_ID() !== get_queried_object_id() ) { 31 31 return $content; 32 32 }
Note: See TracChangeset
for help on using the changeset viewer.