Changes between Initial Version and Version 1 of Ticket #22289, comment 13
- Timestamp:
- 02/21/2013 05:27:34 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #22289, comment 13
initial v1 3 3 Backwards 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. 4 4 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.5 With 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.