[wp-trac] [WordPress Trac] #55811: OrderBy rand in get_posts stopped working after updating to WordPress 6.0

WordPress Trac noreply at wordpress.org
Wed May 25 01:41:32 UTC 2022


#55811: OrderBy rand in get_posts stopped working after updating to WordPress 6.0
-------------------------------+-----------------------------
 Reporter:  itsabhineet        |      Owner:  (none)
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:  6.0
 Severity:  major              |   Keywords:  needs-patch
  Focuses:                     |
-------------------------------+-----------------------------
 Today after my WordPress site was upgraded to WordPress 6.0, the 'orderby'
 => 'rand' value started throwing error in the get_posts() function.

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


More information about the wp-trac mailing list