[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 15:05:14 UTC 2023


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

Comment (by spacedmonkey):

 I think that reverting would not be a good idea. As this was part of WP
 6.3 and has a dev note and people would also expect filters from WP_Query
 to now run now. Reverting this would be a breaking change itself.

 I think there if a workable fix for this. I will take a look when I am
 back to work. This was missed as their was no unit test for it, any fix
 must contain a unit test.

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


More information about the wp-trac mailing list