Changeset 56693 for trunk/tests/phpunit/tests/formatting/wpTrimExcerpt.php
- Timestamp:
- 09/26/2023 12:11:06 AM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/wpTrimExcerpt.php
r56598 r56693 130 130 wp_trim_excerpt( '', $post ); 131 131 132 $this->assertSame( 1 0, has_filter( 'the_content', 'wp_filter_content_tags' ), 'wp_filter_content_tags() was not restored in wp_trim_excerpt()' );132 $this->assertSame( 12, has_filter( 'the_content', 'wp_filter_content_tags' ), 'wp_filter_content_tags() was not restored in wp_trim_excerpt()' ); 133 133 } 134 134 … … 142 142 143 143 // Remove wp_filter_content_tags() from 'the_content' filter generally. 144 remove_filter( 'the_content', 'wp_filter_content_tags' );144 remove_filter( 'the_content', 'wp_filter_content_tags', 12 ); 145 145 146 146 wp_trim_excerpt( '', $post );
Note: See TracChangeset
for help on using the changeset viewer.