Update link in register_meta about 4.6 changes
The blog post, while originally canonical, was later updated to include additional changes. The ticket includes all the changes and alot of rational for why things changed. Props Mista-Flo, DrewAPicture, morganestes. Fixes #38254. git-svn-id: https://develop.svn.wordpress.org/trunk@39066 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cacd16cf5d
commit
61b50ae964
@ -964,7 +964,7 @@ function sanitize_meta( $meta_key, $meta_value, $object_type ) {
|
||||
* Registers a meta key.
|
||||
*
|
||||
* @since 3.3.0
|
||||
* @since 4.6.0 {@link https://make.wordpress.org/core/2016/07/08/enhancing-register_meta-in-4-6/ Modified
|
||||
* @since 4.6.0 {@link https://core.trac.wordpress.org/ticket/35658 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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user