Making WordPress.org

Ticket #3413: 3413.diff

File 3413.diff, 723 bytes (added by stiofansisland, 7 years ago)

Revised diff for ticket 3413

  • functions.php

     
    305305
    306306                $markers = apply_filters( 'wcc_get_map_markers', $markers );
    307307
    308                 set_transient( $transient_key, $markers, WEEK_IN_SECONDS );
     308                set_transient( $transient_key, $markers, DAY_IN_SECONDS );
    309309                        // todo this should probably be changed to just DAY_IN_SECONDS to avoid confusion among organizers. -- https://wordpress.slack.com/archives/meta-wordcamp/p1477323414000597
    310310                        // need to understand why it was set for so long in the first place, and test change
    311311                        // should just always display cached data and have cron job to refresh asyncronously