tdebruyn
Forum Replies Created
-
Forum: Plugins
In reply to: [Post Expiration Date] Time has to be set in GMTI find this plugin very useful and despite the time issues it works just fine for most purposes when only the date is really relevant.
As you plan the next version please consider two options:
– offer option to select the post status to be used when a post is expired. “draft” is not really an appropriate status for expired posts. I have configured am “expired” status for this purpose, but it could be any valid status.– offer option to retain the expiration date in the post, as reference for admins and editors to use in deciding what to do with expired posts. For example, I will want to delete long expired posts but keep more recently expired ones.
Forum: Plugins
In reply to: [Post Expiration Date] Time has to be set in GMTMy WordPress site is set to be local time which is GMT -5. When I manually edit a post to set an expiration date and time, the plugin seems to immediately compare the expiration time to GMT rather than to local time. This makes testing very difficult since I can only set expiration 5 hours later than current time. My development system is in the local time zone so I must wait 5 hours to verify that expiration works.
My test system in the time zone GMT -7. It appears that the sql code that runs to expire posts uses the local time of the server, rather than the local time of the WP site as defined in settings. So the post is expired two hours later than it should be and makes testing even more delayed.
At least this is what I infer from my testing.
I hope that the next version will correct both of the time comparisons.