Plugin Directory

Changeset 3254168


Ignore:
Timestamp:
03/11/2025 03:21:59 PM (13 months ago)
Author:
spiffyplugins
Message:

Version 5.0.1

Location:
spiffy-calendar/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • spiffy-calendar/trunk/includes/admin/custom-posts.php

    r3253386 r3254168  
    682682        unset ($columns['description']);
    683683        $columns['color'] = __( 'Color', 'spiffy-calendar' );
     684        $columns['cat_id'] = __( 'ID', 'spiffy-calendar' );
    684685        return $columns;
    685686    }
     
    689690            $meta = esc_html (get_term_meta($term_id, 'color', true));
    690691            return ( '<div style="background-color:'.$meta.';width:1em;">&nbsp;</div>' );
     692        }
     693        if ( 'cat_id' === $column_name ) {
     694            return ( $term_id );
    691695        }
    692696    }
  • spiffy-calendar/trunk/includes/admin/update-cleanup.php

    r3253386 r3254168  
    224224        global $wpdb, $spiffy_calendar, $spiffycal_custom_fields;
    225225
     226        // Quit if posts already exist
     227        $posts = get_posts ( array ( 'post_type' => 'spiffy_event' ) );
     228        if ( $posts) return;
     229       
    226230        // Create categories
    227231        $sql = "SELECT * FROM " . $wpdb->get_blog_prefix().WP_SPIFFYCAL_CATEGORIES_TABLE;
  • spiffy-calendar/trunk/readme.txt

    r3253386 r3254168  
    44Requires at least: 5.3
    55Tested up to: 6.8
    6 Stable tag: 5.0.0
     6Stable tag: 5.0.1
    77License: GPLv2
    88Tags:  calendar,event,responsive,recurring,block
     
    170170== Changelog ==
    171171
     172= 5.0.1 (March 11, 2025) =
     173
     174* Fix: add check to prevent post conversion more than one time
     175* New: display category ID in the category admin panel
     176
    172177= 5.0.0 (March 10, 2025) =
    173178
    174179* MAJOR UPDATE: events are now stored as custom post types. When upgrading from an existing installation, old events will be automatically converted to the new format.
    175 * After the plugin update you need to update your selected featured event if you use a featured event widget
     180* After the plugin update you need to update your selected featured event if you use a featured event widget. You also need to update the category ID if you filter any widgets or shortcodes by category.
    176181* New: events now have standard post features such as quick edit, bulk edit and trashbin
    177182* New: categories now have standard category features such as multiple categories and quick edit
  • spiffy-calendar/trunk/spiffy-calendar.php

    r3253386 r3254168  
    44Plugin URI:  http://www.spiffyplugins.ca/spiffycalendar
    55Description: 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.0
     6Version:     5.0.1
    77Author:      Spiffy Plugins
    88Author URI:  http://spiffyplugins.ca
Note: See TracChangeset for help on using the changeset viewer.