Changeset 47122 for trunk/tests/phpunit/tests/widgets/text-widget.php
- Timestamp:
- 01/29/2020 12:43:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/widgets/text-widget.php
r46586 r47122 334 334 ); 335 335 336 // Legacy Text Widget without wpautop .336 // Legacy Text Widget without wpautop(). 337 337 $instance = array_merge( 338 338 $base_instance, … … 351 351 $this->assertNull( $this->post_during_shortcode ); 352 352 353 // Legacy Text Widget with wpautop .353 // Legacy Text Widget with wpautop(). 354 354 $instance = array_merge( 355 355 $base_instance, … … 389 389 ); 390 390 391 // Visual Text Widget with only core-added widget_text_content filter for do_shortcode .391 // Visual Text Widget with only core-added widget_text_content filter for do_shortcode(). 392 392 $this->assertFalse( has_filter( 'widget_text', 'do_shortcode' ) ); 393 393 $this->assertEquals( 11, has_filter( 'widget_text_content', 'do_shortcode' ), 'Expected core to have set do_shortcode as widget_text_content filter.' );
Note: See TracChangeset
for help on using the changeset viewer.