Changeset 3344179
- Timestamp:
- 08/14/2025 02:01:57 AM (8 months ago)
- Location:
- themify-event-post
- Files:
-
- 87 added
- 5 edited
-
tags/1.3.4 (added)
-
tags/1.3.4/assets (added)
-
tags/1.3.4/assets/active.js (added)
-
tags/1.3.4/assets/active.js.gz (added)
-
tags/1.3.4/assets/admin_script.js (added)
-
tags/1.3.4/assets/admin_script.js.gz (added)
-
tags/1.3.4/assets/scripts.js (added)
-
tags/1.3.4/assets/scripts.js.gz (added)
-
tags/1.3.4/assets/style.css (added)
-
tags/1.3.4/assets/style.css.gz (added)
-
tags/1.3.4/assets/tinymce.css (added)
-
tags/1.3.4/assets/tinymce.css.gz (added)
-
tags/1.3.4/assets/tinymce.js (added)
-
tags/1.3.4/assets/tinymce.js.gz (added)
-
tags/1.3.4/includes (added)
-
tags/1.3.4/includes/admin.php (added)
-
tags/1.3.4/includes/functions.php (added)
-
tags/1.3.4/includes/i18n.php (added)
-
tags/1.3.4/includes/post-type.php (added)
-
tags/1.3.4/includes/system.php (added)
-
tags/1.3.4/includes/themify-metabox (added)
-
tags/1.3.4/includes/themify-metabox/css (added)
-
tags/1.3.4/includes/themify-metabox/css/jquery-ui-timepicker.min.css (added)
-
tags/1.3.4/includes/themify-metabox/css/jquery-ui-timepicker.min.css.gz (added)
-
tags/1.3.4/includes/themify-metabox/css/page-options-iframe.css (added)
-
tags/1.3.4/includes/themify-metabox/css/page-options-iframe.css.gz (added)
-
tags/1.3.4/includes/themify-metabox/css/page-options.css (added)
-
tags/1.3.4/includes/themify-metabox/css/page-options.css.gz (added)
-
tags/1.3.4/includes/themify-metabox/css/styles.css (added)
-
tags/1.3.4/includes/themify-metabox/css/styles.css.gz (added)
-
tags/1.3.4/includes/themify-metabox/css/themify.minicolors.css (added)
-
tags/1.3.4/includes/themify-metabox/css/themify.minicolors.css.gz (added)
-
tags/1.3.4/includes/themify-metabox/example-functions.php (added)
-
tags/1.3.4/includes/themify-metabox/img (added)
-
tags/1.3.4/includes/themify-metabox/img/ddbtn-blank.png (added)
-
tags/1.3.4/includes/themify-metabox/img/ddbtn-check.png (added)
-
tags/1.3.4/includes/themify-metabox/img/ddbtn-cross.png (added)
-
tags/1.3.4/includes/themify-metabox/img/icon-delete.png (added)
-
tags/1.3.4/includes/themify-metabox/img/jquery.minicolors.png (added)
-
tags/1.3.4/includes/themify-metabox/img/jquery.minicolors.webp (added)
-
tags/1.3.4/includes/themify-metabox/includes (added)
-
tags/1.3.4/includes/themify-metabox/includes/themify-field-types.php (added)
-
tags/1.3.4/includes/themify-metabox/includes/themify-metabox-core.php (added)
-
tags/1.3.4/includes/themify-metabox/includes/themify-metabox-utils.php (added)
-
tags/1.3.4/includes/themify-metabox/includes/themify-term-fields.php (added)
-
tags/1.3.4/includes/themify-metabox/includes/themify-user-fields.php (added)
-
tags/1.3.4/includes/themify-metabox/js (added)
-
tags/1.3.4/includes/themify-metabox/js/gallery-shortcode.js (added)
-
tags/1.3.4/includes/themify-metabox/js/gallery-shortcode.js.gz (added)
-
tags/1.3.4/includes/themify-metabox/js/jquery-ui-timepicker.min.js (added)
-
tags/1.3.4/includes/themify-metabox/js/jquery-ui-timepicker.min.js.gz (added)
-
tags/1.3.4/includes/themify-metabox/js/media-lib-browse.js (added)
-
tags/1.3.4/includes/themify-metabox/js/media-lib-browse.js.gz (added)
-
tags/1.3.4/includes/themify-metabox/js/meta-box-tabs.js (added)
-
tags/1.3.4/includes/themify-metabox/js/meta-box-tabs.js.gz (added)
-
tags/1.3.4/includes/themify-metabox/js/page-options-modal.js (added)
-
tags/1.3.4/includes/themify-metabox/js/page-options-modal.js.gz (added)
-
tags/1.3.4/includes/themify-metabox/js/page-options.js (added)
-
tags/1.3.4/includes/themify-metabox/js/page-options.js.gz (added)
-
tags/1.3.4/includes/themify-metabox/js/plupload.js (added)
-
tags/1.3.4/includes/themify-metabox/js/plupload.js.gz (added)
-
tags/1.3.4/includes/themify-metabox/js/scripts.js (added)
-
tags/1.3.4/includes/themify-metabox/js/scripts.js.gz (added)
-
tags/1.3.4/includes/themify-metabox/js/themify.minicolors.js (added)
-
tags/1.3.4/includes/themify-metabox/js/themify.minicolors.js.gz (added)
-
tags/1.3.4/includes/themify-metabox/readme.txt (added)
-
tags/1.3.4/includes/themify-metabox/themify-metabox.php (added)
-
tags/1.3.4/includes/tinymce.php (added)
-
tags/1.3.4/includes/widgets.php (added)
-
tags/1.3.4/json (added)
-
tags/1.3.4/json/style.json (added)
-
tags/1.3.4/json/style.json.gz (added)
-
tags/1.3.4/modules (added)
-
tags/1.3.4/modules/module-event-posts.php (added)
-
tags/1.3.4/readme.txt (added)
-
tags/1.3.4/templates (added)
-
tags/1.3.4/templates/archive.php (added)
-
tags/1.3.4/templates/config-post-meta.php (added)
-
tags/1.3.4/templates/config-shortcode-generator.php (added)
-
tags/1.3.4/templates/content.php (added)
-
tags/1.3.4/templates/shortcode.php (added)
-
tags/1.3.4/templates/single.php (added)
-
tags/1.3.4/templates/template-event-posts.php (added)
-
tags/1.3.4/templates/widget-categories.php (added)
-
tags/1.3.4/templates/widget-posts.php (added)
-
tags/1.3.4/themify-event-post.php (added)
-
tags/1.3.4/wpml-config.xml (added)
-
trunk/includes/functions.php (modified) (1 diff)
-
trunk/includes/themify-metabox/includes/themify-metabox-core.php (modified) (1 diff)
-
trunk/json/style.json.gz (modified) (previous)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/themify-event-post.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
themify-event-post/trunk/includes/functions.php
r3246718 r3344179 123 123 124 124 if( $start_date ) { 125 $stamp = date_create( $start_date, new DateTimeZone( 'UTC' ) )->format( 'U' ); 126 echo '<span class="event-start-date">'; 127 $start_date_parts = explode( ' ', $start_date ); 128 if( $repeat ) { 129 echo themify_event_post_get_repeat_date( $repeat, intval( get_post_meta( get_the_id(), 'repeat_x', true ) ), $start_date_parts[0], $start_date_parts[1] ); 130 } else { 131 echo '<span class="event-day"> '.date_i18n( $date_format, $stamp ) .'</span> <span class="event-time-at">'. _x( ' @ ', 'Connector between date and time (with spaces around itself) in event date and time.', 'themify-event-post' ) .'</span> <span class="event-time">' . date_i18n( $time_format, $stamp ) .'</span>'; 132 } 133 echo '</span>'; 125 $stamp = date_create( $start_date, new DateTimeZone( 'UTC' ) ); 126 if ( $stamp ) { 127 $stamp = $stamp->format( 'U' ); 128 echo '<span class="event-start-date">'; 129 $start_date_parts = explode( ' ', $start_date ); 130 if( $repeat ) { 131 echo themify_event_post_get_repeat_date( $repeat, intval( get_post_meta( get_the_id(), 'repeat_x', true ) ), $start_date_parts[0], $start_date_parts[1] ); 132 } else { 133 echo '<span class="event-day"> '.date_i18n( $date_format, $stamp ) .'</span> <span class="event-time-at">'. _x( ' @ ', 'Connector between date and time (with spaces around itself) in event date and time.', 'themify-event-post' ) .'</span> <span class="event-time">' . date_i18n( $time_format, $stamp ) .'</span>'; 134 } 135 echo '</span>'; 136 } 134 137 } 135 138 if( !$hide_event_end && ! $repeat && $end_date ) { 136 $stamp = date_create( $end_date, new DateTimeZone( 'UTC' ) )->format( 'U' ); 137 echo '<span class="event-end-date">'; 138 $end_date_parts = explode( ' ', $end_date ); 139 echo ! isset( $start_date_parts ) || $start_date_parts[0] != $end_date_parts[0] ?'<span class="event-date-separator">'. _x( ' - ', 'Character to provide a hint that this is the event end date and time.', 'themify-event-post' ) .'</span> 140 <span class="event-day">' . date_i18n( $date_format, $stamp ) .'</span>' :' <span class="event-date-separator"> - </span>'; 141 if ( isset( $start_date_parts[0] ) && $start_date_parts[0] != $end_date_parts[0] ) { 142 echo '<span class="event-time-at">'. _x( ' @ ', 'Connector between date and time (with spaces around itself) in event date and time.', 'themify-event-post' ).'</span>'; 143 } 144 echo '<span class="event-time">' . date_i18n( $time_format, $stamp ) . '</span>'; 145 echo '</span>'; 139 $stamp = date_create( $end_date, new DateTimeZone( 'UTC' ) ); 140 if ( $stamp ) { 141 $stamp = $stamp->format( 'U' ); 142 echo '<span class="event-end-date">'; 143 $end_date_parts = explode( ' ', $end_date ); 144 echo ! isset( $start_date_parts ) || $start_date_parts[0] != $end_date_parts[0] ?'<span class="event-date-separator">'. _x( ' - ', 'Character to provide a hint that this is the event end date and time.', 'themify-event-post' ) .'</span> 145 <span class="event-day">' . date_i18n( $date_format, $stamp ) .'</span>' :' <span class="event-date-separator"> - </span>'; 146 if ( isset( $start_date_parts[0] ) && $start_date_parts[0] != $end_date_parts[0] ) { 147 echo '<span class="event-time-at">'. _x( ' @ ', 'Connector between date and time (with spaces around itself) in event date and time.', 'themify-event-post' ).'</span>'; 148 } 149 echo '<span class="event-time">' . date_i18n( $time_format, $stamp ) . '</span>'; 150 echo '</span>'; 151 } 146 152 } 147 153 -
themify-event-post/trunk/includes/themify-metabox/includes/themify-metabox-core.php
r3037797 r3344179 560 560 if ( isset( $_FILES['file'] ) ) { 561 561 $fileContent = themify_get_file_contents( $_FILES['file']['tmp_name'] ); 562 $new_data = unserialize( $fileContent );562 $new_data = unserialize( $fileContent , ['allowed_classes' => false] ); 563 563 if ( $new_data !== null ) { 564 564 if ( 'colors' === $_POST['type'] ) { -
themify-event-post/trunk/readme.txt
r3246718 r3344179 4 4 Tags: event, post, date, post-type 5 5 Requires at least: 5.2 6 Tested up to: 6. 7.27 Stable tag: 1.3. 36 Tested up to: 6.8.2 7 Stable tag: 1.3.4 8 8 License: GPL v2 9 9 License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html -
themify-event-post/trunk/themify-event-post.php
r3246718 r3344179 3 3 Plugin Name: Themify Event Post 4 4 Plugin URI: https://themify.me/event-post 5 Version: 1.3. 35 Version: 1.3.4 6 6 Author: Themify 7 7 Author URI: https://themify.me … … 45 45 'url' => trailingslashit( plugin_dir_url( __FILE__ ) ), 46 46 'dir' => trailingslashit( plugin_dir_path( __FILE__ ) ), 47 'version' => '1.3. 3'47 'version' => '1.3.4' 48 48 ) ); 49 49 }
Note: See TracChangeset
for help on using the changeset viewer.