Make WordPress Core

Changeset 48975


Ignore:
Timestamp:
09/14/2020 01:35:10 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: Document the usage of $wpdb global in wp_get_post_autosave().

Follow-up to [48422].

Props ravivaddweb.
Fixes #51308. See #34560.

File:
1 edited

Legend:

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

    r48591 r48975  
    228228 * @since 2.6.0
    229229 *
     230 * @global wpdb $wpdb WordPress database abstraction object.
     231 *
    230232 * @param int $post_id The post ID.
    231233 * @param int $user_id Optional The post author ID.
Note: See TracChangeset for help on using the changeset viewer.