Skip to content

Commit 5cdef66

Browse files
committed
tagging v3.3.1 for release
1 parent 8fca778 commit 5cdef66

File tree

2 files changed

+21
-5
lines changed

2 files changed

+21
-5
lines changed

README.md

+14-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Donate Link: https://paypal.me/michaelw13 <br>
1111
Tags: events, customization, modern-tribe, override, template <br>
1212
Requires at least: 4.6 <br>
1313
Tested up to: 5.4.2 <br>
14-
Stable tag: 3.3 <br>
14+
Stable tag: 3.3.1 <br>
1515
Requires PHP: 5.6 <br>
1616
License: GPLv2 or later <br>
1717
License URI: https://www.gnu.org/licenses/gpl-2.0.html <br>
@@ -144,6 +144,16 @@ As great as the block editor is it can cause issues, sometimes. For events that
144144

145145
## Changelog
146146

147+
### 3.3.1
148+
* Released on xxxx xx, 2020
149+
* Fixed: Fixed plugin settings resetting to default values upon update of plugin
150+
* Fixed: Removed typos in v2.2 Changelog and Upgrade Notice
151+
* Fixed: Removed typos in v1.1 Changelog and Upgrade Notice
152+
* Fixed: Removed typos in `CSS Classes` portion of the `Arbitrary Section` of the README
153+
* Removed: Removed excess `.DS_Store` file in `tribe/events/month/calendar-body/day/calendar-events/calendar-event/tooltip/`
154+
* Edited: `plugin.php`
155+
* Edited: `README.md`
156+
147157
### 3.3
148158
* Released on June 24, 2020
149159
* Added: Tested up to tag changed to 5.4.2 as support with WordPress 5.4.2 has been confirmed
@@ -334,6 +344,9 @@ As great as the block editor is it can cause issues, sometimes. For events that
334344

335345
## Upgrade Notice
336346

347+
### 3.3.1
348+
Plugin settings will no longer reset to their default values when you update the plugin or when you reactivate it. Sorry about that. All files within the master branch of the Github repository and the WordPress Plugin Repository SVN repo have been synchronized. The releases being named `wordpress-[version]-display-event-locations-tec.zip` published within the Github `Releases` section have not been affected as they have been accurate.
349+
337350
### 3.3
338351
Today's update continues quality of life improvements to help better your experience while also working to keep our footprint on your installation to a minimum. Unnecessary code has been removed. Typos continue to be fixed. Comments have been simplified. Documentation has been reworded for clarity. Updated developer contact information and URIs have been put into place. -- As always, if you experience any issues open a support ticket and I'll get you up and running. Have a great, productive day!
339352

plugin.php

+7-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Description: Add the event venue/location to the tooltip that is displayed on hover over in the month view of the calendar when using The Events Calendar or The Events Calendar Pro by Modern Tribe.
66
* Author: Michael Weiner
77
* Author URI: https://michaelweiner.org/
8-
* Version: 3.3
8+
* Version: 3.3.1
99
* License: GPL2+
1010
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
1111
*/
@@ -167,8 +167,10 @@ function deltec_plugin_init() {
167167
* Initialize default deltec_options to WP options database upon installation
168168
*/
169169
function deltec_on_activate(){
170-
// Set the values of the deltec options to their defaults on first activation of the plugin
171-
$options = update_option('deltec_options', deltec_options_default());
170+
// Set the values of the deltec options to their defaults if options do not exist
171+
if (!get_option('deltec_options')){
172+
$options = get_option('deltec_options', deltec_options_default());
173+
}
172174
}
173175
// Call deltec_on_activate() when the plugin in activated
174176
register_activation_hook(__FILE__,'deltec_on_activate');
@@ -181,7 +183,8 @@ function deltec_on_uninstall() {
181183
// Remove deltec_options from the WP database upon deletion
182184
delete_option('deltec_options');
183185
}
184-
register_uninstall_hook( __FILE__, 'deltec_on_uninstall' );
186+
// Call deltec_on_uninstall when the plugin in uninstalled
187+
register_uninstall_hook( __FILE__, 'deltec_on_uninstall');
185188

186189

187190
/**

0 commit comments

Comments
 (0)