Make WordPress Core

Changeset 54867


Ignore:
Timestamp:
11/23/2022 09:28:15 PM (23 months ago)
Author:
audrasjb
Message:

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

Props upadalavipul, mukesh27, krupalpanchal, jigar-bhanushali.
See #57069, #56792.

Location:
trunk/src
Files:
5 edited

Legend:

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

    r54643 r54867  
    912912     * @since 4.5.0
    913913     *
     914     * @global wpdb $wpdb The WordPress database abstraction object.
     915     *
    914916     * @param string $lock_name       The name of this unique lock.
    915917     * @param int    $release_timeout Optional. The duration in seconds to respect an existing lock.
  • trunk/src/wp-includes/class-wp-block.php

    r54367 r54867  
    197197     * @since 5.5.0
    198198     *
     199     * @global WP_Post $post Global post object.
     200     *
    199201     * @param array $options {
    200202     *     Optional options object.
  • trunk/src/wp-includes/class-wp-locale.php

    r54133 r54867  
    125125     *
    126126     * @global string $text_direction
    127      * @global string $wp_version     The WordPress version string.
    128127     */
    129128    public function init() {
  • trunk/src/wp-includes/class-wp-tax-query.php

    r54133 r54867  
    590590     * @since 3.2.0
    591591     *
    592      * @global wpdb $wpdb The WordPress database abstraction object.
    593      *
    594592     * @param array  $query           The single query. Passed by reference.
    595593     * @param string $resulting_field The resulting field. Accepts 'slug', 'name', 'term_taxonomy_id',
  • trunk/src/wp-includes/class-wp-term-query.php

    r54133 r54867  
    911911     * @since 4.6.0
    912912     *
    913      * @global wpdb $wpdb WordPress database abstraction object.
    914      *
    915913     * @param string $orderby_raw Alias for the field to order by.
    916914     * @return string|false Value to used in the ORDER clause. False otherwise.
Note: See TracChangeset for help on using the changeset viewer.