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:
Boone Gorges 2015-10-02 13:50:18 +00:00
parent f408407620
commit 991feb7043
1 changed files with 3 additions and 3 deletions

View File

@ -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(