Changeset 3448812
- Timestamp:
- 01/28/2026 03:24:07 PM (2 months ago)
- Location:
- jeero/trunk
- Files:
-
- 3 edited
-
Jeero.php (modified) (2 diffs)
-
includes/Calendars/Modern_Events_Calendar.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
jeero/trunk/Jeero.php
r3417522 r3448812 6 6 * Author: Slim & Dapper 7 7 * Author URI: https://slimndap.com 8 * Version: 1.33. 28 * Version: 1.33.3 9 9 * Text Domain: jeero 10 10 * … … 32 32 add_action( 'init', function() { 33 33 34 define( 'Jeero\VERSION', '1.33. 2' );34 define( 'Jeero\VERSION', '1.33.3' ); 35 35 define( 'Jeero\PLUGIN_PATH', plugin_dir_path( __FILE__ ) ); 36 36 define( 'Jeero\PLUGIN_URI', plugin_dir_url( __FILE__ ) ); -
jeero/trunk/includes/Calendars/Modern_Events_Calendar.php
r3104486 r3448812 95 95 } 96 96 97 /**98 * Processes event data from Inbox items.97 /** 98 * Processes event data from Inbox items. 99 99 * 100 100 * @since 1.? … … 111 111 * Fixed import of categories. 112 112 * @since 1.23.1 Now uses local number format for event prices. 113 * @since 1.29.1 No longer uses local number format for event prices, because the MEC input field for 114 * prices only accepts '.' as separator. 113 * @since 1.29.1 No longer uses local number format for event prices, because the MEC input field for 114 * prices only accepts '.' as separator. 115 * @since 1.33.3 Ensures the MEC location taxonomy term is assigned after import so location filters work immediately. 115 116 * 116 117 * @param mixed $result … … 204 205 \add_filter( 'content_save_pre', 'wp_filter_post_kses' ); 205 206 206 } 207 $location_id = isset( $args[ 'meta' ][ 'mec_location_id' ] ) ? (int) $args[ 'meta' ][ 'mec_location_id' ] : 0; 208 209 // 1.33.3: make sure MEC location filters see the imported event immediately. 210 if ( $location_id ) { 211 wp_set_object_terms( $post_id, $location_id, 'mec_location' ); 212 } 213 214 } 207 215 208 216 // Re-enable new event notifications. 209 add_action( 'mec_event_published', array( $this->get_mec_instance( 'notifications' ), 'user_event_publishing' ), 10, 3 );217 add_action( 'mec_event_published', array( $this->get_mec_instance( 'notifications' ), 'user_event_publishing' ), 10, 3 ); 210 218 211 219 return $post_id; 212 220 213 221 } 214 222 215 223 } -
jeero/trunk/readme.txt
r3417536 r3448812 99 99 * Detect and remove inbox items that blocking future pickups. 100 100 * Re-download images when the source URL changes. 101 * Ensures Modern Events Calendar imports assign the MEC location taxonomy term so location filters show the event immediately (1.33.3). 101 102 102 103 = 1.32 =
Note: See TracChangeset
for help on using the changeset viewer.