Changeset 12962
- Timestamp:
- 11/08/2023 10:34:12 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/api.wordpress.org/public_html/events/1.0/index.php
r12936 r12962 1589 1589 */ 1590 1590 function pin_one_off_events( $events, $current_time ) { 1591 if ( $current_time > strtotime( 'December 13, 2022' ) && $current_time < strtotime( 'December 18, 2022' ) ) {1592 $utc_offset = -5* HOUR_IN_SECONDS;1591 if ( $current_time > strtotime( 'December 9, 2023' ) && $current_time < strtotime( 'December 14, 2023' ) ) { 1592 $utc_offset = 1 * HOUR_IN_SECONDS; 1593 1593 1594 1594 $sotw = array( … … 1597 1597 // `utm_source` is `private` because it would have to be set by the WP install, we don't need it, and tracking it could be a privacy concern. 1598 1598 // This may need to be updated for GA4 - https://support.google.com/analytics/answer/10089681. 1599 'url' => 'https://wordpress.org/news/202 2/11/state-of-the-word-2022/?utm_source=private&utm_medium=events_widget&utm_campaign=sotw2022',1599 'url' => 'https://wordpress.org/news/2023/10/state-of-the-word-2023/?utm_source=private&utm_medium=events_widget&utm_campaign=sotw2023', 1600 1600 'meetup' => '', 1601 1601 'meetup_url' => '', 1602 'date' => '202 2-12-15 13:00:00',1603 'end_date' => '202 2-12-15 14:30:00',1604 'start_unix_timestamp' => strtotime( '202 2-12-15 13:00:00' ) - $utc_offset,1605 'end_unix_timestamp' => strtotime( '202 2-12-15 14:30:00' ) - $utc_offset,1602 'date' => '2023-12-11 15:00:00', 1603 'end_date' => '2023-12-11 16:30:00', 1604 'start_unix_timestamp' => strtotime( '2023-12-11 15:00:00' ) - $utc_offset, 1605 'end_unix_timestamp' => strtotime( '2023-12-11 16:30:00' ) - $utc_offset, 1606 1606 1607 1607 'location' => array( 1608 1608 'location' => 'Online', 1609 'country' => ' US',1610 'latitude' => 29.768241024468665,1611 'longitude' => - 95.36765276500797,1609 'country' => 'ES', 1610 'latitude' => 40.41446998218856, 1611 'longitude' => -3.695042334019202, 1612 1612 ), 1613 1613 );
Note: See TracChangeset
for help on using the changeset viewer.