Changeset 37250 for branches/4.5
- Timestamp:
- 04/19/2016 09:27:01 PM (9 years ago)
- Location:
- branches/4.5
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.5
-
branches/4.5/src/wp-includes/post-template.php
r36942 r37250 583 583 if ( is_404() ) 584 584 $classes[] = 'error404'; 585 if ( is_singular() ) {586 $classes[] = 'singular';587 }588 585 589 586 if ( is_single() ) { -
branches/4.5/tests/phpunit/tests/post/getBodyClass.php
r36112 r37250 81 81 /** 82 82 * @ticket 35164 83 * @ticket 36510 83 84 */ 84 85 public function test_singular_body_classes() { … … 90 91 $this->assertContains( "postid-{$post_id}", $class ); 91 92 $this->assertContains( "single-format-standard", $class ); 92 $this->assertContains( "singular", $class );93 94 93 } 95 94
Note: See TracChangeset
for help on using the changeset viewer.