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

Props upadalavipul.
See #57069, #56792.


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


git-svn-id: http://core.svn.wordpress.org/trunk@54429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-11-26 09:39:13 +00:00
parent b4888708bb
commit 114fc4cf69
5 changed files with 5 additions and 5 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.

View File

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