Make WordPress Core

Ticket #30284: 29557-remove.diff

File 29557-remove.diff, 887 bytes (added by MikeHansenMe, 10 years ago)

#29557

  • tests/phpunit/tests/formatting/WPTexturize.php

    diff --git a/tests/phpunit/tests/formatting/WPTexturize.php b/tests/phpunit/tests/formatting/WPTexturize.php
    index 1bc197b..16233f5 100644
    a b class Tests_Formatting_WPTexturize extends WP_UnitTestCase { 
    17381738                        ),
    17391739                );
    17401740        }
    1741 
    1742         /**
    1743          * Test disabling shortcode texturization.
    1744          *
    1745          * @ticket 29557
    1746          * @dataProvider data_unregistered_shortcodes
    1747          */
    1748         function test_unregistered_shortcodes( $input, $output ) {
    1749                 add_filter( 'no_texturize_shortcodes', array( $this, 'filter_shortcodes' ), 10, 1 );
    1750        
    1751                 $output = $this->assertEquals( $output, wptexturize( $input ) );
    1752        
    1753                 remove_filter( 'no_texturize_shortcodes', array( $this, 'filter_shortcodes' ), 10, 1 );
    1754                 return $output;
    1755         }
    17561741       
    17571742        function filter_shortcodes( $disabled ) {
    17581743                $disabled[] = 'audio';