wp core update 6.6
This commit is contained in:
@@ -237,6 +237,7 @@ class WP_REST_Settings_Controller extends WP_REST_Controller {
|
||||
|
||||
$default_schema = array(
|
||||
'type' => empty( $args['type'] ) ? null : $args['type'],
|
||||
'title' => empty( $args['label'] ) ? '' : $args['label'],
|
||||
'description' => empty( $args['description'] ) ? '' : $args['description'],
|
||||
'default' => isset( $args['default'] ) ? $args['default'] : null,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user