Changeset 5155 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-site-cloner/wordcamp-site-cloner.php
- Timestamp:
- 03/21/2017 05:11:07 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-site-cloner/wordcamp-site-cloner.php
r4577 r5155 194 194 195 195 // Keep the cache longer than needed, just to be sure that it doesn't expire before the cron job runs again 196 // todo This shouldn't be a transient, it should just be a regular option. 197 // Transients aren't guaranteed to exist until they expire, so it could expire before the next cron runs 196 198 set_site_transient( WORDCAMP_SITES_TRANSIENT_KEY, get_wordcamp_sites(), DAY_IN_SECONDS * 2 ); 197 199 } … … 229 231 'orderby' => 'meta_value_num', 230 232 'order' => 'DESC', 231 232 'meta_query' => array(233 array(234 // New sites won't have finished designs, so ignore them235 'key' => 'Start Date (YYYY-mm-dd)',236 'value' => strtotime( 'now - 1 month' ),237 'compare' => '<'238 )239 ),240 233 ) ); 241 234
Note: See TracChangeset
for help on using the changeset viewer.