WordPress.org

Make WordPress Core

Ticket #8885: 8885.diff

File 8885.diff, 528 bytes (added by solarissmoke, 7 years ago)
  • wp-includes/post.php

     
    13281328function get_posts($args = null) { 
    13291329        $defaults = array( 
    13301330                'numberposts' => 5, 'offset' => 0, 
    1331                 'category' => 0, 'orderby' => 'post_date', 
     1331                'category' => 0, 'orderby' => 'post_date_gmt', 
    13321332                'order' => 'DESC', 'include' => array(), 
    13331333                'exclude' => array(), 'meta_key' => '', 
    13341334                'meta_value' =>'', 'post_type' => 'post',