Pinking shears in shortcode test file.
git-svn-id: https://develop.svn.wordpress.org/trunk@34774 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f408407620
commit
991feb7043
@ -549,7 +549,7 @@ EOF;
|
|||||||
function test_registration_bad( $input, $expected ) {
|
function test_registration_bad( $input, $expected ) {
|
||||||
return $this->sub_registration( $input, $expected );
|
return $this->sub_registration( $input, $expected );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Make sure valid shortcode names are allowed.
|
* Make sure valid shortcode names are allowed.
|
||||||
*
|
*
|
||||||
@ -558,7 +558,7 @@ EOF;
|
|||||||
function test_registration_good( $input, $expected ) {
|
function test_registration_good( $input, $expected ) {
|
||||||
return $this->sub_registration( $input, $expected );
|
return $this->sub_registration( $input, $expected );
|
||||||
}
|
}
|
||||||
|
|
||||||
function sub_registration( $input, $expected ) {
|
function sub_registration( $input, $expected ) {
|
||||||
add_shortcode( $input, '' );
|
add_shortcode( $input, '' );
|
||||||
$actual = shortcode_exists( $input );
|
$actual = shortcode_exists( $input );
|
||||||
@ -566,7 +566,7 @@ EOF;
|
|||||||
if ( $actual ) remove_shortcode( $input );
|
if ( $actual ) remove_shortcode( $input );
|
||||||
return $test;
|
return $test;
|
||||||
}
|
}
|
||||||
|
|
||||||
function data_registration_bad() {
|
function data_registration_bad() {
|
||||||
return array(
|
return array(
|
||||||
array(
|
array(
|
||||||
|
Loading…
Reference in New Issue
Block a user