Changeset 9658 for sites/trunk/wordpress.org/public_html/wp-content/plugins/official-wordpress-events/official-wordpress-events.php
- Timestamp:
- 03/31/2020 05:55:59 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/official-wordpress-events/official-wordpress-events.php
r9657 r9658 329 329 case 'Start Date (YYYY-mm-dd)': 330 330 $value = absint( $value ); 331 if ( empty( $value ) || $value < strtotime( '-1 day' ) ) { 331 // If scheduled, but either in the past or undated, don't sync. 332 if ( ( 'wcpt-scheduled' === $wordcamp->status ) && 333 ( empty( $value ) || $value < strtotime( '-1 day' ) ) 334 ) { 332 335 continue 3; 333 } else {334 $event['start_timestamp'] = $value;335 336 } 337 $event['start_timestamp'] = $value; 336 338 break; 337 339
Note: See TracChangeset
for help on using the changeset viewer.