[wp-trac] [WordPress Trac] #51308: @global $wpdb is not present in function wp_get_post_autosave()
WordPress Trac
noreply at wordpress.org
Mon Sep 14 13:35:25 UTC 2020
#51308: @global $wpdb is not present in function wp_get_post_autosave()
--------------------------+-----------------------------
Reporter: ravivaddweb | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.6
Component: Revisions | Version: 5.5
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: docs
--------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"48975" 48975]:
{{{
#!CommitTicketReference repository="" revision="48975"
Docs: Document the usage of `$wpdb` global in `wp_get_post_autosave()`.
Follow-up to [48422].
Props ravivaddweb.
Fixes #51308. See #34560.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51308#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list