Making WordPress.org

Changeset 7127


Ignore:
Timestamp:
04/18/2018 03:01:45 PM (7 years ago)
Author:
iandunn
Message:

WP15: Extend the date range to find more WP15 events.

See https://wordpress.slack.com/archives/C08M59V3P/p1524036227000057.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wp15.wordpress.net/public_html/content/plugins/wp15-meetup-events/wp15-meetup-events.php

    r7069 r7127  
    3030 */
    3131function prime_events_cache() {
    32     // We can assume that all celebrations will be within a week of the anniversary.
    33     $start_date = strtotime( 'May 21, 2018' );
    34     $end_date   = strtotime( 'June 2, 2018' );
     32    // We can assume that all celebrations will be within a few weeks of the anniversary.
     33    $start_date = strtotime( 'May  13, 2018' );
     34    $end_date   = strtotime( 'June 10, 2018' );
    3535
    3636    /*
     
    150150function is_wp15_event( $id, $title, $description ) {
    151151    $match           = false;
    152     $keywords        = array( 'wp15', 'anniversary', 'aniversário', 'birthday', '15 year', '15 ano', '15 año' );
    153     $false_positives = array();
     152    $keywords        = array( 'wp15', 'anniversary', 'aniversário', 'birthday', 'Tanti auguri', '15 year', '15 ano', '15 año', '15 candeline', 'wordt 15' );
     153    $false_positives = array( 'jlzcqlyxhbvb' );
    154154
    155155    if ( in_array( $id, $false_positives ) ) {
Note: See TracChangeset for help on using the changeset viewer.