WordPress 5.3 Incompatibility
-
Hi there,
In WordPress 5.3, changes were made to the way dates and times work. See this post: https://make.ww.wp.xz.cn/core/2019/09/23/date-time-improvements-wp-5-3/
In particular, the function
date_default_timezone_setis no longer recommended and in fact causes havoc with other plugins that use date functions. In particular, I experienced a problem with Modern Tribe’s Events Calendar plugin, where the timezone of events was being overridden by Simple Membership’s use of thedate_default_timezone_setfunction, causing events to show up in some cases on the wrong day.I resolved the problem by commenting out the use of the function in your plugin in the following places:
simple-membership/lib/braintree/lib/Braintree/WebhookTestingGateway.php line 553
simple-membership/lib/braintree/lib/Braintree/WebhookTestingGateway.php line 555
simple-membership/classes/class.swpm-utils.php line 29Of course, my edits will be written over the next time my client updates your plugin. Hopefully you can include the necessary changes in the next update!
Hope this helps anyone else who may have encountered this problem.
Thank you very much for your work!
– Kyle
The topic ‘WordPress 5.3 Incompatibility’ is closed to new replies.