Tests: Fix typo current_theme_support()
-> current_theme_supports()
from [37308]
git-svn-id: https://develop.svn.wordpress.org/trunk@37309 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2ff19ab7d3
commit
3518df091f
@ -58,7 +58,7 @@ class Tests_Theme_Support extends WP_UnitTestCase {
|
||||
public function test_post_thumbnails_mixed_args() {
|
||||
add_theme_support( 'post-thumbnails', array( 'post', 'page' ) );
|
||||
add_theme_support( 'post-thumbnails', array( 'page' ) );
|
||||
$this->assertTrue( current_theme_support( 'post-thumbnails', 'post' ) );
|
||||
$this->assertTrue( current_theme_supports( 'post-thumbnails', 'post' ) );
|
||||
$this->assertFalse( current_theme_supports( 'post-thumbnails', 'book' ) );
|
||||
$this->assertEquals(
|
||||
array( 0 => array( 'post', 'page' ) ),
|
||||
|
Loading…
Reference in New Issue
Block a user