Update @since
tag on taxonomy hooks to be introduced in 5.1.0.
The hooks were added in [43558] but pulled from the 4.9.x and 5.0.x series. Fixes #44733. git-svn-id: https://develop.svn.wordpress.org/trunk@44321 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4042ab08ca
commit
46bebf7dfb
@ -626,7 +626,7 @@ function register_taxonomy_for_object_type( $taxonomy, $object_type ) {
|
||||
/**
|
||||
* Fires after a taxonomy is registered for an object type.
|
||||
*
|
||||
* @since 4.9.9
|
||||
* @since 5.1.0
|
||||
*
|
||||
* @param string $taxonomy Taxonomy name.
|
||||
* @param string $object_type Name of the object type.
|
||||
@ -668,7 +668,7 @@ function unregister_taxonomy_for_object_type( $taxonomy, $object_type ) {
|
||||
/**
|
||||
* Fires after a taxonomy is unregistered for an object type.
|
||||
*
|
||||
* @since 4.9.9
|
||||
* @since 5.1.0
|
||||
*
|
||||
* @param string $taxonomy Taxonomy name.
|
||||
* @param string $object_type Name of the object type.
|
||||
|
Loading…
Reference in New Issue
Block a user