mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-29 17:54:29 +00:00
REST API: Support 'object' and 'array' types in register_meta() schemas.
Extends meta registration to support complex schema values, mirroring the functionality in the settings controller. Error when trying to modify a meta key containing schema-nonconformant data. Props @TimothyBlynJacobs, @birgire, @mnelson4, @flixos90. Fixes #43392. git-svn-id: https://develop.svn.wordpress.org/trunk@45807 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -7,8 +7,6 @@
|
||||
* @since 4.7.0
|
||||
*/
|
||||
|
||||
trigger_error( __FILE__ . ' is deprecated since version 5.0.0 with no alternative available.' );
|
||||
|
||||
/**
|
||||
* Class used to test accessing methods and properties
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user