Scott Anderson
Forum Replies Created
-
Forum: Reviews
In reply to: [Pending Status] Works as expectedThank you!
Forum: Plugins
In reply to: [ICS Calendar] Willkommen bei ICS Calendar Version 12!I apologize for that. It shouldn’t still be appearing on new updates. I noticed it myself after the last update ran on one of my dev sites. It will be removed in the next update.
I have a client site that was encountering the same issue. Very odd behavior… the client’s observations of the problem were a bit confusing to me, but ultimately I realized what was happening was that all of the admin pages were getting cached in the browser. That resulted in things like the Plugins page showing the wrong set of active plugins, but also — the main issue the client was having — that creating multiple new posts in succession was only actually creating one new post, and each of the subsequent ones was just saved as a revision of the first.
I took a bit of a brute force approach and just deleted everything WP-Optimize had added to the .htaccess file. Then I cleared my browsing history and restarted my browser, and everything was working.
Forum: Fixing WordPress
In reply to: WP 7.0 admin “smooth transitions” and possible browser caching issueDisregard… upon further testing (and a fortuitous search on DuckDuckGo) I was able to pinpoint this as a plugin issue, specifically with WP-Optimize and some cache control headers it had written to the .htaccess file. Deleting all of those lines from .htaccess has resolved the issue. (That’s a bit of a “brute force” solution but I’d rather start from a clean slate with it than pick apart which exact lines were causing the problem.)
More related information, in case anyone else is in my boat and not sure what might be causing it:
https://ww.wp.xz.cn/support/topic/wp-optimize-browser-cache-is-caching-wp-admin-php-pages/
- This reply was modified 2 weeks ago by Scott Anderson.
Forum: Plugins
In reply to: [ICS Calendar] “Unauthorized user” in public view not in admin viewThanks for the tip. I’ll investigate that plugin and see if I can identify the source of the conflict.
Forum: Plugins
In reply to: [ICS Calendar] “Unauthorized user” in public view not in admin viewAre you using the Pro version? If so, I can’t provide support here. Please use the support request form. Thanks.
I have a plugin that is permanently marred by a 2-star review from someone who should have just opened a support request. If I really wanted to sabotage this plugin I wouldn’t have given it 4 stars. The point I deducted was because I think it’s a bit misguided conceptually and is potentially confusing to users, as I indicated in my review.
Forum: Reviews
In reply to: [Remove Broken Images] Change your TitleSince you’ve now permanently harmed my plugin’s standing with a 1-star review, would you mind doing me the favor of explaining exactly what the problem is that you’re experiencing so I might be able to improve the plugin? Thanks.
No problem… sorry again that I couldn’t find a satisfactory solution!
Unfortunately all of the relatively obvious paths to work around this do not seem to be working. Judging by the support forums it looks like Advanced Excerpt may be abandoned. I don’t think it’s feasible for me to spend any more time trying to solve this problem since it is definitely being caused by that plugin and not a bug in On This Day itself. I’m sorry.
I see that Advanced Excerpt is using
remove_all_filters()to override any other filters on the excerpt. In my opinion plugins should never do this because they are bound to cause problems with other plugins.The function where that’s happening already has some built-in exceptions for common plugins like WooCommerce and bbPress, and the plugin has a settings page that allows you to exclude it from certain other places. (In other words, the developer of the plugin seems to be aware of how disruptive it can be.)
I can have a look at the Advanced Excerpt plugin and see if I can identify the cause of the conflict. It might be something I can fix on my end, but I can’t say for sure at this point.
I’ve just installed Advanced Excerpt on my blog and confirmed that it is causing every excerpt in the On This Day widget to be the same as the last post in the main query loop.
- This reply was modified 3 months ago by Scott Anderson.
Hi, I see the issue you’re describing on your home page. Do you happen to have any custom code running on the
r34otd_excerptfilter? That seems to be the only way that this could be happening, since On This Day has its ownget_posts()query and is never interacting with the$postvariable from the main query loop. I tested my own blog with the Twenty Thirteen theme just to make sure it wasn’t something in the theme, and I did not experience the issue.Forum: Plugins
In reply to: [On This Day (by Room 34)] Posts from just one categoryPurging the cache daily should work. You’ll just want to make sure the timezone is set correctly.
A couple of things to note:
If this is using WP-Cron (the default) any times like that are only approximate. Websites can’t arbitrarily run code on their own; they can only run when someone requests a page. (WP-Cron runs at the end of a user page request and fires off any tasks that have come due.)
If you’re doing this with a “real” cron job at the server OS level, you’ll want to be sure the server’s timezone is also set correctly, or adjust the timing of the cron job accordingly.
Forum: Plugins
In reply to: [On This Day (by Room 34)] Posts from just one categoryAt this point the plugin is not designed to handle caching plugins very well.
LiteSpeed has a feature called ESI (Edge Side Includes) that lets you selectively exclude portions of a page from caching, but I’m not sure how easy or difficult that is to set up.
I may be able to bypass that by using AJAX to load the On This Day content. I’ll investigate how much work it would take to get that added. My much more widely used ICS Calendar plugin has AJAX loading, so I can probably pillage some of that code to get it working without too much effort.