Changeset 47219 for trunk/src/wp-includes/post-template.php
- Timestamp:
- 02/09/2020 04:52:28 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post-template.php
r47182 r47219 339 339 } 340 340 341 if ( false !== strpos( $_post->post_content, '<!--noteaser-->' ) && ( ! $elements['multipage'] || $elements['page'] == 1) ) {341 if ( false !== strpos( $_post->post_content, '<!--noteaser-->' ) && ( ! $elements['multipage'] || 1 == $elements['page'] ) ) { 342 342 $strip_teaser = true; 343 343 } … … 1655 1655 $post = get_post(); 1656 1656 1657 if ( empty( $post->post_type ) || $post->post_type != 'attachment') {1657 if ( empty( $post->post_type ) || 'attachment' !== $post->post_type ) { 1658 1658 return $content; 1659 1659 }
Note: See TracChangeset
for help on using the changeset viewer.