mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Docs: Update @since version to 4.9.8 for meta registration subtype handling.
This feature has been backported to 4.9.8 so 5.0.0 is inaccurate. See #38323. git-svn-id: https://develop.svn.wordpress.org/trunk@43520 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1992,7 +1992,7 @@ function delete_post_meta_by_key( $post_meta_key ) {
|
||||
/**
|
||||
* Registers a meta key for posts.
|
||||
*
|
||||
* @since 5.0.0
|
||||
* @since 4.9.8
|
||||
*
|
||||
* @param string $post_type Post type to register a meta key for. Pass an empty string
|
||||
* to register the meta key across all existing post types.
|
||||
@@ -2010,7 +2010,7 @@ function register_post_meta( $post_type, $meta_key, array $args ) {
|
||||
/**
|
||||
* Unregisters a meta key for posts.
|
||||
*
|
||||
* @since 5.0.0
|
||||
* @since 4.9.8
|
||||
*
|
||||
* @param string $post_type Post type the meta key is currently registered for. Pass
|
||||
* an empty string if the meta key is registered across all
|
||||
|
||||
Reference in New Issue
Block a user