mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
REST API: Clean up argument and property types.
There's a couple of places where we were missing type notes for arguments, which mainly affects documentation. Props jnylen0. Fixes #38792. git-svn-id: https://develop.svn.wordpress.org/trunk@39250 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1158,6 +1158,7 @@ class WP_REST_Comments_Controller extends WP_REST_Controller {
|
||||
'description' => __( 'HTML content for the object, transformed for display.' ),
|
||||
'type' => 'string',
|
||||
'context' => array( 'view', 'edit', 'embed' ),
|
||||
'readonly' => true,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user