Docs: Link the 4.6 changelog entry in the DocBlock for register_meta()
to its corresponding dev note on make/core.
h/t ocean90. See #35658. See #37318. git-svn-id: https://develop.svn.wordpress.org/trunk@38027 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a68d3d1469
commit
8af1a9d56a
@ -986,7 +986,8 @@ function sanitize_meta( $meta_key, $meta_value, $object_type, $object_subtype =
|
|||||||
* Registers a meta key.
|
* Registers a meta key.
|
||||||
*
|
*
|
||||||
* @since 3.3.0
|
* @since 3.3.0
|
||||||
* @since 4.6.0 Modified to support an array of data to attach to registered meta keys. Previous arguments for
|
* @since 4.6.0 {@link https://make.wordpress.org/core/2016/07/08/enhancing-register_meta-in-4-6/ Modified
|
||||||
|
* to support an array of data to attach to registered meta keys}. Previous arguments for
|
||||||
* `$sanitize_callback` and `$auth_callback` have been folded into this array.
|
* `$sanitize_callback` and `$auth_callback` have been folded into this array.
|
||||||
*
|
*
|
||||||
* @param string $object_type Type of object this meta is registered to.
|
* @param string $object_type Type of object this meta is registered to.
|
||||||
|
Loading…
Reference in New Issue
Block a user