Making WordPress.org

Changeset 6665


Ignore:
Timestamp:
02/17/2018 01:17:35 AM (7 years ago)
Author:
iandunn
Message:

WordCamp Central: Lower map cache expiration to 1 day.

Props stiofansisland
Fixes #3413

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-central-2012/functions.php

    r6087 r6665  
    306306        $markers = apply_filters( 'wcc_get_map_markers', $markers );
    307307
    308         set_transient( $transient_key, $markers, WEEK_IN_SECONDS );
    309             // todo this should probably be changed to just DAY_IN_SECONDS to avoid confusion among organizers. -- https://wordpress.slack.com/archives/meta-wordcamp/p1477323414000597
    310             // need to understand why it was set for so long in the first place, and test change
    311             // should just always display cached data and have cron job to refresh asyncronously
     308        set_transient( $transient_key, $markers, DAY_IN_SECONDS );
    312309
    313310        return $markers;
Note: See TracChangeset for help on using the changeset viewer.