mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Docs: Improve globals documentation in unregister_taxonomy() and wp_term_is_shared().
Props upadalavipul, mukesh27. Fixes #57058. See #56792. git-svn-id: https://develop.svn.wordpress.org/trunk@54794 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -558,7 +558,6 @@ function register_taxonomy( $taxonomy, $object_type, $args = array() ) {
|
||||
*
|
||||
* @since 4.5.0
|
||||
*
|
||||
* @global WP $wp Current WordPress environment instance.
|
||||
* @global WP_Taxonomy[] $wp_taxonomies List of taxonomies.
|
||||
*
|
||||
* @param string $taxonomy Taxonomy name.
|
||||
@@ -4522,6 +4521,8 @@ function wp_get_split_term( $old_term_id, $taxonomy ) {
|
||||
*
|
||||
* @since 4.4.0
|
||||
*
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @param int $term_id Term ID.
|
||||
* @return bool Returns false if a term is not shared between multiple taxonomies or
|
||||
* if splitting shared taxonomy terms is finished.
|
||||
|
||||
Reference in New Issue
Block a user