WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #31600, comment 4


Ignore:
Timestamp:
03/17/2017 09:35:26 PM (14 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31600, comment 4

    initial v1  
    11Test increment with an array with entries.
    2 
     2{{{
    33wp_cache_set( $key, 2 );
    44$this->assertEquals( 2, wp_cache_incr( $key, array('') ) );
    5 
     5}}}
    66Results in 3 instead of 2.