[wp-trac] [WordPress Trac] #31600: WP_Object_Cache incr & decr can use a more strict type checking on offset

WordPress Trac noreply at wordpress.org
Wed Mar 11 18:58:28 UTC 2015


#31600: WP_Object_Cache incr & decr can use a more strict type checking on offset
--------------------------+-----------------------------
 Reporter:  jipmoors      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Cache API     |    Version:  3.3
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 While working on improving the unit tests for related ticket #28759 I
 wrote some tests that could not pass on the current code: passing an non-
 empty array as offset.

 Despite of it being an edge case, I want to have my tests pass, so I
 provide a patch.

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


More information about the wp-trac mailing list