Remove redundant parameter.
see #30753. git-svn-id: https://develop.svn.wordpress.org/trunk@31311 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
12156f6fab
commit
f36af772ea
@ -46,7 +46,7 @@ class Tests_Functions extends WP_UnitTestCase {
|
|||||||
* @ticket 30753
|
* @ticket 30753
|
||||||
*/
|
*/
|
||||||
function test_wp_parse_args_boolean_strings() {
|
function test_wp_parse_args_boolean_strings() {
|
||||||
$args = wp_parse_args( 'foo=false&bar=true', array() );
|
$args = wp_parse_args( 'foo=false&bar=true' );
|
||||||
$this->assertInternalType( 'string', $args['foo'] );
|
$this->assertInternalType( 'string', $args['foo'] );
|
||||||
$this->assertInternalType( 'string', $args['bar'] );
|
$this->assertInternalType( 'string', $args['bar'] );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user