Brandon Olivares
Forum Replies Created
-
Forum: Plugins
In reply to: [W3 Total Cache] Comment Form Being Cached with User Data in ItThanks. Then any idea how to track down what’s causing this? Most of the plugins have nothing whatsoever to do with comments.
And also when this happened, it cleared up once I cleared the page cache.
Forum: Plugins
In reply to: [W3 Total Cache] Comment Form Being Cached with User Data in ItInteresting. The only other comment-related plugin I have is the comment notification from Jetpack, so people can be notified of new comments. I don’t think this would cause the issue though?
Forum: Plugins
In reply to: [Auto Affiliate Links] Will This Create Links in Comments?Thanks. That would be a wonderful feature. π
Forum: Plugins
In reply to: [Auto Affiliate Links] Creates Link Even Though Keyword Is Inside LinkI’ve tracked this down to the regular expression used.
Line 148 of aal_engine.php
$reg = '/(?!(?:[^<\[]+[>\]]|[^>\]]+<\/a>|[^>\]]+<\/h.>|[^>\]]+<\/script*>))\b($name)\b/ims'. $langsupport .'U';It needs to also search for any closing tag prior to the
</a>tag, and I think this would help. Here’s my modification, which has worked for me:$reg = '/(?!(?:[^<\[]+[>\]]|[^>]+<\/[^>]+><\/a>|[^>\]]+<\/a>|[^>\]]+<\/h.>|[^>\]]+<\/script*>))\b($name)\b/ims'. $langsupport .'U';Also, I’m not sure the purpose of the $reg_post variable. It isn’t used anywhere else in the code as far as I can tell.
This is on the latest version, 5.3.2.3.
Edit: I think it could be simplified like this:
$reg = '/(?!(?:[^<\[]+[>\]]|[^>\]]+(?:<\/[^>]+>)?<\/a>|[^>\]]+<\/h.>|[^>\]]+<\/script*>))\b($name)\b/ims'. $langsupport .'U';- This reply was modified 9 years, 4 months ago by Brandon Olivares.
Forum: Plugins
In reply to: [Amazon Product in a Post Plugin] When is the plugin going to be updatedI’d also like to know about PHP 7 support. I was thinking about using this plugin, but my server uses PHP 7 and I don’t want to downgrade.
Forum: Fixing WordPress
In reply to: Some Commenters Keep Needing to Be ApprovedYes, thank you, but none of that is the case here. There are no links in these comments, and I’ve not yet set that list of words that are blocked so it can’t be that, either. A change of comment name would account for one approval, but then it should approve them next time, which it hasn’t.
How long did you give it to work? Search engine optimization takes time. I’ve had my site for 1.5 years now and am getting a lot more traffic from Google now than I did a year ago, or even 6 months ago. It takes time for your site to build up trust.
It also isn’t magic. You have to update your site regularly, market through other means, get backlinks if you can, etc. Have you done these things as well?
You can’t pin your business’ failure on one plugin. They give you the tools, and you have to apply them.
Forum: Fixing WordPress
In reply to: Link Dialog Not DisplayingJust to update this, I’m noticing that sometimes it displays and sometimes it does not. If it doesn’t display, often it is fixed by switching the edit mode to text, and then back to visual. Not all the time though.
I also tried disabling all plugins, and nothing changed.
Is no one else experiencing this? I’m not sure how to debug it. I don’t see any Javascript errors about this.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Error When SyncingThanks for your help. I have now done all of the above. Are there still errors?
Forum: Plugins
In reply to: [Head, Footer and Post Injections] Conflicts with BBPressThanks for your response. I don’t think it was due to the code I added. It was just a short javascript, which now I’m just adding directly using add_action for wp_head.
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] Error When SyncingOkay with more testing it seems to be when it is running all the tests.
It is trying this URL:
https://jetpack.wordpress.com/jetpack.testsite/1/?url=http://cocreationcoaching.org/xmlrpc.php
And the test passes when I go to the URL myself, but it takes a while, so I think it is timing out.
How can I fix this? Why is it taking so long to run that test? Perhaps I can increase the timeout somehow? It’s only giving 30 seconds, but not sure where to change it.