Changeset 3255505
- Timestamp:
- 03/13/2025 04:35:09 PM (13 months ago)
- Location:
- spiffy-calendar/trunk
- Files:
-
- 4 edited
-
includes/admin/update-cleanup.php (modified) (1 diff)
-
includes/views.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
spiffy-calendar.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
spiffy-calendar/trunk/includes/admin/update-cleanup.php
r3254168 r3255505 271 271 if ($event->event_all_day == 'T') { 272 272 $event->event_time = ''; 273 $event->event_end_time = ''; 273 if ($event->event_end_time == "00:00:00") $event->event_end_time = ''; 274 } else { 275 if ($event->event_time == "00:00:00") $event->event_time = ''; 276 if ($event->event_end_time == "00:00:00") $event->event_end_time = ''; 274 277 } 275 278 -
spiffy-calendar/trunk/includes/views.php
r3253386 r3255505 1923 1923 1924 1924 if ($spiffy_calendar->current_options['enable_categories'] == 'true') { 1925 $calendar_body .= '<table class="spiffy cat-key">'; 1926 $calendar_body .= '<colgroup> 1927 <col style="width:10px; height:10px;"> 1928 <col> 1929 </colgroup>'; 1930 $calendar_body .= ' 1931 <tr><td colspan="2" class="cat-key-cell"><strong>'.esc_html($this->format_category( false )).'</strong></td></tr>'; 1932 $filtered_cats = explode(',',$cat_list); 1933 foreach($this->categories as $cat_detail) { 1934 if ( ($cat_list == '') || (in_array($cat_detail->category_id, $filtered_cats))) { 1935 $calendar_body .= '<tr><td style="background-color:' . esc_html($cat_detail->category_colour) . '; " class="cat-key-cell"></td> 1936 <td class="cat-key-cell"> '.$cat_detail->category_name.'</td></tr>'; 1937 } 1938 } 1939 $calendar_body .= '</table>'; 1925 $calendar_body .= $this->category_key ($cat_list); 1940 1926 } 1941 1927 -
spiffy-calendar/trunk/readme.txt
r3254996 r3255505 4 4 Requires at least: 5.3 5 5 Tested up to: 6.8 6 Stable tag: 5.0. 36 Stable tag: 5.0.4 7 7 License: GPLv2 8 8 Tags: calendar,event,responsive,recurring,block … … 170 170 == Changelog == 171 171 172 **Before updating from version 4 to version 5 it is strongly recommended to remove old events** 173 174 = 5.0.4 (March 13, 2025) = 175 176 * Fix: incorrect conversion of blank times to new posts 177 * Fix: category key on weekly calendar 178 * Tweak: add missing Settings shortcut to admin bar 179 * Fix: fix publish status if importing old events from CSV 180 172 181 = 5.0.3 (March 12, 2025) = 173 182 -
spiffy-calendar/trunk/spiffy-calendar.php
r3254996 r3255505 4 4 Plugin URI: http://www.spiffyplugins.ca/spiffycalendar 5 5 Description: A full featured, simple to use Spiffy Calendar plugin for WordPress that allows you to manage and display your events and appointments. 6 Version: 5.0. 36 Version: 5.0.4 7 7 Author: Spiffy Plugins 8 8 Author URI: http://spiffyplugins.ca … … 376 376 ) ); 377 377 } 378 $wp_admin_bar->add_node( array( 379 'id' => 'spiffy_settings_node', 380 'title' => __('Settings', 'spiffy-calendar'), 381 'parent' => 'spiffy_main_node', 382 'href' => admin_url('edit.php?post_type=spiffy_event&page=settings') 383 ) ); 378 384 } 379 385 … … 452 458 $post_status = 'Draft'; 453 459 } 460 // Fix old post status 461 if ($post_status == 'P') { 462 $post_status = 'Publish'; 463 } else if ($post_status == 'D') { 464 $post_status = 'Draft'; 465 } else if ($post_status == 'R') { 466 $post_status = 'Pending'; 467 } 454 468 455 469 $post = array(
Note: See TracChangeset
for help on using the changeset viewer.