mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +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:
@@ -1325,7 +1325,7 @@ function has_term_meta( $term_id ) {
|
||||
/**
|
||||
* Registers a meta key for terms.
|
||||
*
|
||||
* @since 5.0.0
|
||||
* @since 4.9.8
|
||||
*
|
||||
* @param string $taxonomy Taxonomy to register a meta key for. Pass an empty string
|
||||
* to register the meta key across all existing taxonomies.
|
||||
@@ -1343,7 +1343,7 @@ function register_term_meta( $taxonomy, $meta_key, array $args ) {
|
||||
/**
|
||||
* Unregisters a meta key for terms.
|
||||
*
|
||||
* @since 5.0.0
|
||||
* @since 4.9.8
|
||||
*
|
||||
* @param string $taxonomy Taxonomy 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