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

WordPress Trac noreply at wordpress.org
Wed May 25 18:20:27 UTC 2016


#18356: get_bookmarks() indefinitely caches randomly ordered results
--------------------------------------+---------------------------
 Reporter:  prettyboymp               |       Owner:  boonebgorges
     Type:  defect (bug)              |      Status:  accepted
 Priority:  normal                    |   Milestone:  4.6
Component:  Query                     |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+---------------------------

Comment (by boonebgorges):

 In [changeset:"37563"]:
 {{{
 #!CommitTicketReference repository="" revision="37563"
 Add tests for `get_bookmarks()` cache.

 This changeset adds a unit test factory so that bookmark/link fixtures can
 be
 created during tests.

 Why are we writing tests for functionality that has been deprecated for
 years?
 Because it's the Right Thing to Do.

 See #18356.
 }}}

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


More information about the wp-trac mailing list