[wp-trac] [WordPress Trac] #18356: get_bookmarks() indefinitely caches randomly ordered results

WordPress Trac noreply at wordpress.org
Tue May 24 20:25:21 UTC 2016


#18356: get_bookmarks() indefinitely caches randomly ordered results
----------------------------------------+-----------------------------
 Reporter:  prettyboymp                 |       Owner:
     Type:  defect (bug)                |      Status:  reopened
 Priority:  normal                      |   Milestone:  Future Release
Component:  Query                       |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |     Focuses:
----------------------------------------+-----------------------------
Changes (by boonebgorges):

 * keywords:  has-patch 2nd-opinion => needs-patch good-first-bug
 * milestone:  Awaiting Review => Future Release


Comment:

 After discussion, it seems like a more straightforward fix may be to skip
 the cache for random results. This is more consistent with other `rand()`
 treatments throughout WP.

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


More information about the wp-trac mailing list