WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #22289, comment 13


Ignore:
Timestamp:
02/21/13 05:27:34 (2 years ago)
Author:
ethitter
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22289, comment 13

    initial v1  
    33Backwards compatibility is achieved by first checking the value of the `WP_POST_REVISIONS` constant. If `true`, PHP's `INF` constant is used to indicate that all revisions should be stored. If `WP_POST_REVISIONS` is false or a positive integer, that value's numeric representation is used. If, for whatever reason, either `WP_POST_REVISIONS` or the value returned via `wp_revisions_to_keep` is negative, `_doing_it_wrong` is invoked and the number of revisions to be stored is set to zero. 
    44 
    5 With the patch applied, all unit tests present as of [http://core.trac.wordpress.org/changeset/1219/tests 1219/tests] passed, save one pertaining to media that failed against a clean checkout of trunk as of r23460. 
     5With the patch applied, all unit tests present as of [changeset:"1219/tests"] passed, save one pertaining to media that failed against a clean checkout of trunk as of r23460.