REST API: Update description strings to match already existing ones in the admin.

Props dimadin.
Fixes #38807.
Built from https://develop.svn.wordpress.org/trunk@39335


git-svn-id: http://core.svn.wordpress.org/trunk@39275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Joe Hoyle 2016-11-21 20:41:30 +00:00
parent 9925a4ebb5
commit 014bb86248
2 changed files with 3 additions and 3 deletions

View File

@ -1734,7 +1734,7 @@ function register_initial_settings() {
'name' => 'description', 'name' => 'description',
), ),
'type' => 'string', 'type' => 'string',
'description' => __( 'Site description.' ), 'description' => __( 'Site tagline.' ),
) ); ) );
register_setting( 'general', 'siteurl', array( register_setting( 'general', 'siteurl', array(
@ -1804,7 +1804,7 @@ function register_initial_settings() {
register_setting( 'writing', 'default_category', array( register_setting( 'writing', 'default_category', array(
'show_in_rest' => true, 'show_in_rest' => true,
'type' => 'integer', 'type' => 'integer',
'description' => __( 'Default category.' ), 'description' => __( 'Default post category.' ),
) ); ) );
register_setting( 'writing', 'default_post_format', array( register_setting( 'writing', 'default_post_format', array(

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.7-beta4-39334'; $wp_version = '4.7-beta4-39335';
/** /**
* 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.