Docs: Improve various globals documentation, as per documentation standards.

Props upadalavipul.
See #57069, #56792.



git-svn-id: https://develop.svn.wordpress.org/trunk@54877 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras 2022-11-26 09:37:18 +00:00
parent b7931895c5
commit 78fc04c1cc
4 changed files with 4 additions and 4 deletions

View File

@ -278,8 +278,6 @@ final class WP_Taxonomy {
*
* @since 4.7.0
*
* @global WP $wp Current WordPress environment instance.
*
* @param string $taxonomy Taxonomy key, must not exceed 32 characters.
* @param array|string $object_type Name of the object type for the taxonomy object.
* @param array|string $args Optional. Array or query string of arguments for registering a taxonomy.

View File

@ -6819,6 +6819,8 @@ class wp_xmlrpc_server extends IXR_Server {
*
* @since 1.5.0
*
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param array $args {
* Method arguments. Note: arguments must be ordered as documented.
*

View File

@ -3783,6 +3783,8 @@ function wp_register_comment_personal_data_eraser( $erasers ) {
*
* @since 4.9.6
*
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param string $email_address The comment author email address.
* @param int $page Comment page.
* @return array

View File

@ -163,8 +163,6 @@ function wp_timezone() {
* @since 0.71
* @since 5.3.0 Converted into a wrapper for wp_date().
*
* @global WP_Locale $wp_locale WordPress date and time locale object.
*
* @param string $format Format to display the date.
* @param int|bool $timestamp_with_offset Optional. A sum of Unix timestamp and timezone offset
* in seconds. Default false.