|
@@ 306-308 (lines=3) @@
|
| 303 |
|
* validation routine continue to be sure that all invalid |
| 304 |
|
* values generate errors too. |
| 305 |
|
*/ |
| 306 |
|
if ( array_key_exists( 'before', $date_query ) && is_array( $date_query['before'] ) ){ |
| 307 |
|
$valid = $this->validate_date_values( $date_query['before'] ); |
| 308 |
|
} |
| 309 |
|
|
| 310 |
|
if ( array_key_exists( 'after', $date_query ) && is_array( $date_query['after'] ) ){ |
| 311 |
|
$valid = $this->validate_date_values( $date_query['after'] ); |
|
@@ 310-312 (lines=3) @@
|
| 307 |
|
$valid = $this->validate_date_values( $date_query['before'] ); |
| 308 |
|
} |
| 309 |
|
|
| 310 |
|
if ( array_key_exists( 'after', $date_query ) && is_array( $date_query['after'] ) ){ |
| 311 |
|
$valid = $this->validate_date_values( $date_query['after'] ); |
| 312 |
|
} |
| 313 |
|
|
| 314 |
|
// Array containing all min-max checks. |
| 315 |
|
$min_max_checks = array(); |