Docs: Improve globals documentation in unregister_taxonomy() and wp_term_is_shared().

Props upadalavipul, mukesh27.
Fixes #57058. 
See #56792.

Built from https://develop.svn.wordpress.org/trunk@54794


git-svn-id: http://core.svn.wordpress.org/trunk@54346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-11-10 17:16:12 +00:00
parent 81da0c1e18
commit c64cc7959e
2 changed files with 3 additions and 2 deletions

View File

@ -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.

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.2-alpha-54791';
$wp_version = '6.2-alpha-54794';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.