mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
b7931895c5
commit
78fc04c1cc
@ -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.
|
||||
|
||||
@ -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.
|
||||
*
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user