REST API: Fix a typo introduced in [42729].

Props danielbachhuber.
Fixes #42707.


Built from https://develop.svn.wordpress.org/trunk@42973


git-svn-id: http://core.svn.wordpress.org/trunk@42802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Gary Pendergast 2018-04-13 00:56:21 +00:00
parent b0d9c54594
commit 7630cc1bad
2 changed files with 2 additions and 2 deletions

View File

@ -304,7 +304,7 @@ class WP_REST_Taxonomies_Controller extends WP_REST_Controller {
'readonly' => true, 'readonly' => true,
), ),
'visibility' => array( 'visibility' => array(
'description' => __( 'The visibility settings for the taxomonmy.' ), 'description' => __( 'The visibility settings for the taxonomy.' ),
'type' => 'object', 'type' => 'object',
'context' => array( 'edit' ), 'context' => array( 'edit' ),
'readonly' => true, 'readonly' => true,

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.0-alpha-42972'; $wp_version = '5.0-alpha-42973';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.