Changeset 6847
- Timestamp:
- 03/09/2018 12:52:52 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wp15.wordpress.net/public_html/content/mu-plugins/miscellaneous.php
r6579 r6847 10 10 11 11 namespace WP15\Updates; 12 use DateTime; 13 12 14 defined( 'WPINC' ) or die(); 13 15 … … 20 22 * avoid publishing those. 21 23 * 22 * @param false|int$date24 * @param DateTime|null $date 23 25 * 24 * @return false|int26 * @return DateTime 25 27 */ 26 28 function set_tagregator_cutoff_date( $date ) { 27 29 // A few weeks after the event ends, so that wrap-up posts, etc are included. 28 return strtotime( 'June 15, 2018' );30 return new DateTime( 'June 15, 2018' ); 29 31 }
Note: See TracChangeset
for help on using the changeset viewer.