Changeset 59689
- Timestamp:
- 01/22/2025 09:16:19 PM (5 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post-template.php
r58846 r59689 676 676 $post_id = $post->ID; 677 677 $post_type = $post->post_type; 678 679 $classes[] = 'wp-singular'; 678 680 679 681 if ( is_page_template() ) { -
trunk/tests/phpunit/tests/post/getBodyClass.php
r56547 r59689 106 106 $this->assertContains( "postid-{$post_id}", $class ); 107 107 $this->assertContains( 'single-format-standard', $class ); 108 $this->assertContains( 'wp-singular', $class ); 108 109 } 109 110
Note: See TracChangeset
for help on using the changeset viewer.