Changeset 209910
- Timestamp:
- 02/24/2010 09:23:56 PM (16 years ago)
- Location:
- wordpress-event-calendar
- Files:
-
- 4 edited
-
tags/0.26/calendar.php (modified) (1 diff)
-
tags/0.26/readme.txt (modified) (2 diffs)
-
trunk/calendar.php (modified) (6 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wordpress-event-calendar/tags/0.26/calendar.php
r209908 r209910 2 2 /* 3 3 Plugin Name: Wordpress Event calendar 4 Plugin URI: http://truthmedia.com/ category/wordpress-event-calendar/4 Plugin URI: http://truthmedia.com/wordpress/event-calendar/ 5 5 Description: Allows complex calendar display and management 6 6 Version: 0.26 -
wordpress-event-calendar/tags/0.26/readme.txt
r209908 r209910 35 35 If you have a problem with this plugin and are looking for help, we'd be glad to answer! Visit our website and leave us a comment! 36 36 37 38 39 40 37 == Changelog == 41 42 38 43 39 = 0.26 = … … 58 54 * Fixed an issue where some event titles wouldn't appear correctly 59 55 * Updated documentation 60 61 56 62 57 = 0.23 = -
wordpress-event-calendar/trunk/calendar.php
r203742 r209910 2 2 /* 3 3 Plugin Name: Wordpress Event calendar 4 Plugin URI: http:// www.truthmedia.com/4 Plugin URI: http://truthmedia.com/wordpress/event-calendar/ 5 5 Description: Allows complex calendar display and management 6 6 Version: 0.26 … … 30 30 register_uninstall_hook(__FILE__, 'wec_delete'); 31 31 32 function wec_mainMenuAction() 33 { 32 function wec_mainMenuAction() { 34 33 wec_checkInstall(); 35 34 … … 46 45 } 47 46 48 function wec_initActions() 49 { 47 function wec_initActions() { 50 48 wec_update(); 51 49 … … 55 53 doAjaxCalls(); 56 54 57 wec_addScripts(); 58 55 if (is_admin()) { 56 wec_addScripts(); 57 } 59 58 60 59 } 61 60 62 function doAjaxCalls() 63 { 61 function doAjaxCalls() { 64 62 // wp_ajax_* action, php function 65 63 66 if (is_admin()) 67 { 68 $createCalendarValidator = new createCalendarValidator(); 69 $editCalendarValidator = new editCalendarValidator(); 70 71 72 //Calendar Creation 73 add_action('wp_ajax_validateCalendarNameOnCreate', array(&$createCalendarValidator, 'validateCalendarNameOnCreate')); 74 add_action('wp_ajax_validateCalendarSlugOnCreate', array(&$createCalendarValidator, 'validateCalendarSlugOnCreate')); 75 76 //Calendar Edit 77 add_action('wp_ajax_validateCalendarNameOnEdit', array(&$editCalendarValidator, 'validateCalendarNameOnEdit')); 78 79 80 //External Recurrence Creation 81 add_action('wp_ajax_wec_runRecurrenceGenerator', 'wec_ajax_recurrence_generator'); 82 $ajaxController = new ajaxController(); 83 84 add_action('wp_ajax_wec_deleteEventFromAJAX', array(&$ajaxController, 'deleteEventFromAjax')); 85 add_action('wp_ajax_wec_deleteRecurrenceFromAJAX', array(&$ajaxController, 'deleteRecurrenceFromAjax')); 86 87 } 64 $createCalendarValidator = new createCalendarValidator(); 65 $editCalendarValidator = new editCalendarValidator(); 88 66 89 67 90 if (get_option('wec_allowExternalAccess') == 1) 91 { 68 //Calendar Creation 69 add_action('wp_ajax_validateCalendarNameOnCreate', array(&$createCalendarValidator, 'validateCalendarNameOnCreate')); 70 add_action('wp_ajax_validateCalendarSlugOnCreate', array(&$createCalendarValidator, 'validateCalendarSlugOnCreate')); 71 72 //Calendar Edit 73 add_action('wp_ajax_validateCalendarNameOnEdit', array(&$editCalendarValidator, 'validateCalendarNameOnEdit')); 74 75 76 //External Recurrence Creation 77 add_action('wp_ajax_wec_runRecurrenceGenerator', 'wec_ajax_recurrence_generator'); 78 79 if (get_option('wec_allowExternalAccess') == 1) { 92 80 //External Access 93 81 $externalAccessObject = new externalAccess(); … … 95 83 add_action('wp_ajax_getTableCalendar', array(&$externalAccessObject, 'getTable')); 96 84 } 97 98 85 99 86 } 100 87 101 88 102 function wec_run_deactivation() 103 { 89 function wec_run_deactivation() { 104 90 wec_delete(); 105 91 } 106 92 107 function wec_run_delete() 108 { 93 function wec_run_delete() { 109 94 wec_uninstall(false, true); 110 95 wec_delete(); 111 96 } 112 97 113 function wec_scheduledTasks() 114 { 98 function wec_scheduledTasks() { 115 99 $recurrenceGenerator = new recurrenceGenerator(); 116 100 $recurrenceGenerator->destroyDeletedRecurrences(); 117 101 } 118 102 119 function incrementWECqueries() 120 { 103 function incrementWECqueries() { 121 104 global $number_of_wec_queries,$wpdb,$wec_query_log; 122 105 $wec_query_log[$number_of_wec_queries]['query'] = $wpdb->last_query; … … 125 108 126 109 127 function wec_displayqueries() 128 { 110 function wec_displayqueries() { 129 111 global $number_of_wec_queries,$wec_query_log; 130 112 131 if (isset($_GET['wecdebugmode_queryNumber'])) 132 { 113 if (isset($_GET['wecdebugmode_queryNumber'])) { 133 114 echo 'WEC did '.$number_of_wec_queries.' queries'; 134 115 } 135 116 136 if (isset($_GET['wecdebugmode_queryLog'])) 137 { 117 if (isset($_GET['wecdebugmode_queryLog'])) { 138 118 echo 'Query Log'; 139 119 var_dump($wec_query_log); -
wordpress-event-calendar/trunk/readme.txt
r203979 r209910 4 4 Tags: event, calendar, events, calendars, iCal, schedule 5 5 Requires at least: 2.8 6 Tested up to: 2.9. 17 Stable tag: 0.2 56 Tested up to: 2.9.2 7 Stable tag: 0.26 8 8 9 9 Allows complex calendar management … … 29 29 We have documentation for that! On your blog, go to Settings -> Events, then at the top, choose Documentation. If you know how to use the WordPress loop, you should be completely comfortable working with this 30 30 31 = I really want your plugin to do ________ but it doesn't! Please add it? = 32 We're working on it! If you want to add a feature request, please visit our site and leave a comment. We really do read them! 33 31 34 = I'm stuck! = 32 If you have a problem with this plugin and are looking for help, we'd be glad to answer! Send us an email or 35 If you have a problem with this plugin and are looking for help, we'd be glad to answer! Visit our website and leave us a comment! 36 37 33 38 34 39 35 40 == Changelog == 41 42 43 = 0.26 = 44 * Fixed an issue where getting the URL doesn't work correctly. Thanks to Russell for this one! 45 * Disabled the widget, as it is not yet complete, and shouldn't be visible! 36 46 37 47 = 0.25 = … … 62 72 == Upgrade Notice == 63 73 74 = 0.26 = 75 This version fixes an issue where getting the URL in a template doesn't work properly. 76 64 77 = 0.25 = 65 78 This version fixes issues where events don't repeat correctly
Note: See TracChangeset
for help on using the changeset viewer.