[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 11:50:46 UTC 2020


#51308: @global $wpdb is not present in function wp_get_post_autosave()
--------------------------+-----------------------------
 Reporter:  ravivaddweb   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Comments      |    Version:  5.5
 Severity:  normal        |   Keywords:  has-patch
  Focuses:  docs          |
--------------------------+-----------------------------
 global $wpdb is used in wp_get_post_autosave() this function but it is not
 mentioned in the documentation of the function.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51308>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list