mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
81da0c1e18
commit
c64cc7959e
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user