REST API: Update description strings to match already existing ones in the admin.
Props dimadin. Fixes #38807. git-svn-id: https://develop.svn.wordpress.org/trunk@39335 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
48192f196f
commit
a8a015c3c0
@ -1734,7 +1734,7 @@ function register_initial_settings() {
|
||||
'name' => 'description',
|
||||
),
|
||||
'type' => 'string',
|
||||
'description' => __( 'Site description.' ),
|
||||
'description' => __( 'Site tagline.' ),
|
||||
) );
|
||||
|
||||
register_setting( 'general', 'siteurl', array(
|
||||
@ -1804,7 +1804,7 @@ function register_initial_settings() {
|
||||
register_setting( 'writing', 'default_category', array(
|
||||
'show_in_rest' => true,
|
||||
'type' => 'integer',
|
||||
'description' => __( 'Default category.' ),
|
||||
'description' => __( 'Default post category.' ),
|
||||
) );
|
||||
|
||||
register_setting( 'writing', 'default_post_format', array(
|
||||
|
Loading…
Reference in New Issue
Block a user