[wp-trac] [WordPress Trac] #8885: get_posts() should default orderby post_date_gmt

WordPress Trac noreply at wordpress.org
Thu Sep 1 08:02:03 UTC 2016


#8885: get_posts() should default orderby post_date_gmt
-------------------------------------------------+-------------------------
 Reporter:  caorongjin                           |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Query                                |  Release
 Severity:  normal                               |     Version:  2.7
 Keywords:  has-patch needs-unit-tests schema-   |  Resolution:
  change needs-refresh                           |     Focuses:
                                                 |  performance
-------------------------------------------------+-------------------------

Comment (by peterwilsoncc):

 I'm going to close this off, `wp_posts->post_date_gmt` isn't indexed and
 the change has the potential to cause too many backward compatibility
 problems.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/8885#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list