if ( in_array( 'include_old', $options ) ) {
$old_cmp = '>=';
}
- if ( in_array( 'include_new', $options ) ) {
- $new_cmp = '<=';
- }
- if ( in_array( 'include_both', $options ) ) {
- $old_cmp = '>=';
+ if ( in_array( 'include_new', $options ) ) {\r
+ $new_cmp = '<=';\r
+ }\r
+ if ( in_array( 'include_both', $options ) ) {\r
+ $old_cmp = '>=';\r
$new_cmp = '<=';
}
// No DB query needed if $old and $new are the same or successive revisions: