Make WordPress Core

Changeset 54877


Ignore:
Timestamp:
11/26/2022 09:37:18 AM (4 years ago)
Author:
audrasjb
Message:

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

Props upadalavipul.
See #57069, #56792.

Location:
trunk/src/wp-includes
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-taxonomy.php

    r54133 r54877  
    278278         *
    279279         * @since 4.7.0
    280          *
    281          * @global WP $wp Current WordPress environment instance.
    282280         *
    283281         * @param string       $taxonomy    Taxonomy key, must not exceed 32 characters.
  • trunk/src/wp-includes/class-wp-xmlrpc-server.php

    r54468 r54877  
    68206820         * @since 1.5.0
    68216821         *
     6822         * @global wpdb $wpdb WordPress database abstraction object.
     6823         *
    68226824         * @param array $args {
    68236825         *     Method arguments. Note: arguments must be ordered as documented.
  • trunk/src/wp-includes/comment.php

    r54527 r54877  
    37843784 * @since 4.9.6
    37853785 *
     3786 * @global wpdb $wpdb WordPress database abstraction object.
     3787 *
    37863788 * @param string $email_address The comment author email address.
    37873789 * @param int    $page          Comment page.
  • trunk/src/wp-includes/functions.php

    r54855 r54877  
    163163 * @since 0.71
    164164 * @since 5.3.0 Converted into a wrapper for wp_date().
    165  *
    166  * @global WP_Locale $wp_locale WordPress date and time locale object.
    167165 *
    168166 * @param string   $format                Format to display the date.
Note: See TracChangeset for help on using the changeset viewer.