Make WordPress Core

Ticket #21969: 21969.diff

File 21969.diff, 537 bytes (added by kovshenin, 11 years ago)
  • tests/phpunit/tests/theme/WPTheme.php

     
    122122                $this->assertEquals( get_theme_root_uri() . '/subdir/theme%20with%20spaces', get_template_directory_uri() );
    123123
    124124                remove_filter( 'stylesheet', $callback );
    125                 add_filter( 'template', $callback );
     125                remove_filter( 'template', $callback );
    126126        }
    127127
    128128        function filter_theme_with_spaces() {