[wp-trac] [WordPress Trac] #59226: get_pages: post_modified_gmt value for sort_column/orderby silently dropped

WordPress Trac noreply at wordpress.org
Tue Aug 29 22:03:42 UTC 2023


#59226: get_pages: post_modified_gmt value for sort_column/orderby silently dropped
-------------------------------------------------+-------------------------
 Reporter:  david.binda                          |       Owner:  joemcgill
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.3.2
Component:  Posts, Post Types                    |     Version:  6.3
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  2nd-opinion needs-patch needs-unit-  |     Focuses:
  tests                                          |  performance
-------------------------------------------------+-------------------------
Changes (by joemcgill):

 * owner:  (none) => joemcgill
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56490" 56490]:
 {{{
 #!CommitTicketReference repository="" revision="56490"
 Posts, Post Types: Reinstate missing sort_column options in get_pages().

 This fixes an issue introduced in [55569] that broke sort ordering by
 `post_modified_gmt` or `modified_gmt`.

 Props david.binda, azaozz, spacedmonkey, flixos90, joemcgill.
 Fixes #59226.
 }}}

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


More information about the wp-trac mailing list