Changeset 3757553
- Timestamp:
- 10/20/2026 11:15:19 PM (2 weeks ago)
- Location:
- beacon-events
- Files:
-
- 6 edited
- 1 copied
-
tags/0.28.3 (copied) (copied from beacon-events/trunk )
-
tags/0.28.3/beacon-events.php (modified) (2 diffs)
-
tags/0.28.3/includes/class-views.php (modified) (1 diff)
-
tags/0.28.3/readme.txt (modified) (2 diffs)
-
trunk/beacon-events.php (modified) (2 diffs)
-
trunk/includes/class-views.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
beacon-events/tags/0.28.3/beacon-events.php
r3755870 r3757553 4 4 * Plugin URI: https://wordpress.org/plugins/beacon-events/ 5 5 * Description: A light, honest events calendar. Recurring events, ICS and Google Calendar import that stays in sync, and calendar views that look like your site — all free. Uninstalls clean. 6 * Version: 0.28. 26 * Version: 0.28.3 7 7 * Requires at least: 6.4 8 8 * Requires PHP: 7.4 … … 15 15 exit; } 16 16 17 define( 'BEACON_VERSION', '0.28. 2' );17 define( 'BEACON_VERSION', '0.28.3' ); 18 18 define( 'BEACON_FILE', __FILE__ ); 19 19 define( 'BEACON_DIR', plugin_dir_path( __FILE__ ) ); -
beacon-events/tags/0.28.3/includes/class-views.php
r3753407 r3757553 1024 1024 } catch ( \Exception $x ) { 1025 1025 $tz = self::tz(); } 1026 $s = new \DateTimeImmutable( $e['start'], $tz ); 1027 $en = $e['end'] ? new \DateTimeImmutable( $e['end'], $tz ) : null; 1026 $s = new \DateTimeImmutable( $e['start'], $tz ); 1027 $en = $e['end'] ? new \DateTimeImmutable( $e['end'], $tz ) : null; 1028 if ( $e['rrule'] ) { 1029 // A series shows its next date (someone looking in October wants the next class, not September's first one); 1030 // the Repeats row says how it goes on. A finished series keeps its first date. 1031 try { 1032 $otz = new \DateTimeZone( $e['tz'] ); 1033 } catch ( \Exception $x ) { 1034 $otz = new \DateTimeZone( 'UTC' ); } 1035 foreach ( Events::occurrences_for_edit( $id, 20 ) as $o ) { 1036 if ( $o['status'] !== 'cancelled' ) { 1037 $s = ( new \DateTimeImmutable( $o['start'], $otz ) )->setTimezone( $tz ); 1038 $en = $en ? ( new \DateTimeImmutable( $o['end'], $otz ) )->setTimezone( $tz ) : null; 1039 break; } 1040 } 1041 } 1028 1042 $when = $e['all_day'] ? wp_date( get_option( 'date_format' ), $s->getTimestamp(), $tz ) . ( $en && $en->format( 'Y-m-d' ) !== $s->format( 'Y-m-d' ) ? ' – ' . wp_date( get_option( 'date_format' ), $en->getTimestamp(), $tz ) : '' ) : wp_date( get_option( 'date_format' ) . ', ' . get_option( 'time_format' ), $s->getTimestamp(), $tz ) . ( $en ? ' – ' . wp_date( $en->format( 'Y-m-d' ) === $s->format( 'Y-m-d' ) ? get_option( 'time_format' ) : get_option( 'date_format' ) . ', ' . get_option( 'time_format' ), $en->getTimestamp(), $tz ) : '' ) . self::zone_label( $s ); 1029 1043 $rows = '<div class="beacon-detail"><span class="beacon-detail-label">' . esc_html__( 'When', 'beacon-events' ) . '</span> <span class="beacon-detail-value">' . esc_html( $when ) . '</span></div>'; -
beacon-events/tags/0.28.3/readme.txt
r3757518 r3757553 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.4 7 Stable tag: 0.28. 27 Stable tag: 0.28.3 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 204 204 == Changelog == 205 205 206 = 0.28.3 = 207 * A repeating event's page now shows its next date under "When", not the date the series began. A weekly class that started in September shows next week's class, skipping cancelled dates and following moved ones. A finished series still shows its first date. 208 206 209 = 0.28.2 = 207 210 * Pro can now be paid monthly ($7 a month for one site), as well as yearly. The Pro page and the import screen say so. -
beacon-events/trunk/beacon-events.php
r3755870 r3757553 4 4 * Plugin URI: https://wordpress.org/plugins/beacon-events/ 5 5 * Description: A light, honest events calendar. Recurring events, ICS and Google Calendar import that stays in sync, and calendar views that look like your site — all free. Uninstalls clean. 6 * Version: 0.28. 26 * Version: 0.28.3 7 7 * Requires at least: 6.4 8 8 * Requires PHP: 7.4 … … 15 15 exit; } 16 16 17 define( 'BEACON_VERSION', '0.28. 2' );17 define( 'BEACON_VERSION', '0.28.3' ); 18 18 define( 'BEACON_FILE', __FILE__ ); 19 19 define( 'BEACON_DIR', plugin_dir_path( __FILE__ ) ); -
beacon-events/trunk/includes/class-views.php
r3753407 r3757553 1024 1024 } catch ( \Exception $x ) { 1025 1025 $tz = self::tz(); } 1026 $s = new \DateTimeImmutable( $e['start'], $tz ); 1027 $en = $e['end'] ? new \DateTimeImmutable( $e['end'], $tz ) : null; 1026 $s = new \DateTimeImmutable( $e['start'], $tz ); 1027 $en = $e['end'] ? new \DateTimeImmutable( $e['end'], $tz ) : null; 1028 if ( $e['rrule'] ) { 1029 // A series shows its next date (someone looking in October wants the next class, not September's first one); 1030 // the Repeats row says how it goes on. A finished series keeps its first date. 1031 try { 1032 $otz = new \DateTimeZone( $e['tz'] ); 1033 } catch ( \Exception $x ) { 1034 $otz = new \DateTimeZone( 'UTC' ); } 1035 foreach ( Events::occurrences_for_edit( $id, 20 ) as $o ) { 1036 if ( $o['status'] !== 'cancelled' ) { 1037 $s = ( new \DateTimeImmutable( $o['start'], $otz ) )->setTimezone( $tz ); 1038 $en = $en ? ( new \DateTimeImmutable( $o['end'], $otz ) )->setTimezone( $tz ) : null; 1039 break; } 1040 } 1041 } 1028 1042 $when = $e['all_day'] ? wp_date( get_option( 'date_format' ), $s->getTimestamp(), $tz ) . ( $en && $en->format( 'Y-m-d' ) !== $s->format( 'Y-m-d' ) ? ' – ' . wp_date( get_option( 'date_format' ), $en->getTimestamp(), $tz ) : '' ) : wp_date( get_option( 'date_format' ) . ', ' . get_option( 'time_format' ), $s->getTimestamp(), $tz ) . ( $en ? ' – ' . wp_date( $en->format( 'Y-m-d' ) === $s->format( 'Y-m-d' ) ? get_option( 'time_format' ) : get_option( 'date_format' ) . ', ' . get_option( 'time_format' ), $en->getTimestamp(), $tz ) : '' ) . self::zone_label( $s ); 1029 1043 $rows = '<div class="beacon-detail"><span class="beacon-detail-label">' . esc_html__( 'When', 'beacon-events' ) . '</span> <span class="beacon-detail-value">' . esc_html( $when ) . '</span></div>'; -
beacon-events/trunk/readme.txt
r3757518 r3757553 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.4 7 Stable tag: 0.28. 27 Stable tag: 0.28.3 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 204 204 == Changelog == 205 205 206 = 0.28.3 = 207 * A repeating event's page now shows its next date under "When", not the date the series began. A weekly class that started in September shows next week's class, skipping cancelled dates and following moved ones. A finished series still shows its first date. 208 206 209 = 0.28.2 = 207 210 * Pro can now be paid monthly ($7 a month for one site), as well as yearly. The Pro page and the import screen say so.
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)