Changeset 3255613
- Timestamp:
- 03/13/2025 09:17:09 PM (13 months ago)
- Location:
- spiffy-calendar/trunk
- Files:
-
- 5 edited
-
includes/admin/admin-settings-tab-settings.php (modified) (1 diff)
-
includes/admin/custom-posts.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/admin-settings-tab-settings.php
r3254996 r3255613 174 174 <tr> 175 175 <th scope="row"> 176 <?php _e('Event query limit','spiffy-calendar'); ?> 177 </th> 178 <td> 179 <input type="text" name="max_event_query" value="<?php echo esc_html($this->current_options['max_event_query']); ?>" size="3" maxlength="3" /> 180 <span class="description"><?php _e('Limit calendar output to using this number of the most recently published events.', 'spiffy-calendar'); ?></span> 181 </td> 182 </tr> 183 184 <tr> 185 <th scope="row"> 176 186 <?php _e('More details link text','spiffy-calendar'); ?> 177 187 </th> -
spiffy-calendar/trunk/includes/admin/custom-posts.php
r3254996 r3255613 633 633 */ 634 634 function my_sort_custom_column_query( $query ) { 635 if( ! is_admin())635 if( !is_admin() || ( 'spiffy_event' != $query->get( 'post_type' ) )) 636 636 return; 637 637 638 638 $orderby = $query->get( 'orderby' ); 639 639 -
spiffy-calendar/trunk/includes/views.php
r3255505 r3255613 1301 1301 $args = array( 1302 1302 'post_type' => 'spiffy_event', 1303 'numberposts' => -1, 1303 'numberposts' => $spiffy_calendar->current_options['max_event_query'], // limit to latest events to avoid reading 1000s of old events 1304 'orderby' => 'date', 1305 'order' => 'DESC', 1304 1306 'post_status' => 'publish', 1305 1307 ); -
spiffy-calendar/trunk/readme.txt
r3255505 r3255613 4 4 Requires at least: 5.3 5 5 Tested up to: 6.8 6 Stable tag: 5.0. 46 Stable tag: 5.0.5 7 7 License: GPLv2 8 8 Tags: calendar,event,responsive,recurring,block … … 172 172 **Before updating from version 4 to version 5 it is strongly recommended to remove old events** 173 173 174 = 5.0.5 (March 13, 2025) = 175 176 * New: setting for event limit, default is 500. This will limit calendar output to using the 500 most recent events to exclude the case of 1000s of old events 177 * Fix: post ordering on other post types 178 174 179 = 5.0.4 (March 13, 2025) = 175 180 -
spiffy-calendar/trunk/spiffy-calendar.php
r3255505 r3255613 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. 46 Version: 5.0.5 7 7 Author: Spiffy Plugins 8 8 Author URI: http://spiffyplugins.ca … … 203 203 'mini_popup' => 'right', 204 204 'exclude_from_search' => false, 205 'max_event_query' => 500, 205 206 'title_label' => '' 206 207 ); … … 765 766 } 766 767 768 $this->current_options['max_event_query'] = (int) (sanitize_text_field($_POST['max_event_query']) ); 769 767 770 // Check to see if we are removing custom styles 768 771 if (isset($_POST['reset_styles'])) {
Note: See TracChangeset
for help on using the changeset viewer.