[wp-trac] [WordPress Trac] #62658: Use WP_Query in wp_get_post_autosave

WordPress Trac noreply at wordpress.org
Fri Dec 6 08:48:45 UTC 2024


#62658: Use WP_Query in wp_get_post_autosave
--------------------------+----------------------------
 Reporter:  spacedmonkey  |      Owner:  (none)
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Future Release
Component:  Revisions     |    Version:  2.6
 Severity:  normal        |   Keywords:  good-first-bug
  Focuses:  performance   |
--------------------------+----------------------------
 Use WP_Query in wp_get_post_autosave and replace the raw database query.

 WP_Query is cached and has a number of useful filters.

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


More information about the wp-trac mailing list