disagree
Forum Replies Created
-
was this issue ever resolved?
Forum: Plugins
In reply to: [W3 Total Cache] [Plugin: W3 Total Cache] Varnish purge is not workingditto, would be great!
I suspect it might be due to varnish, but I’m not sure yet
Yes I have the default files, and yeah with the update I’d have to re-apply the patch.
Forum: Plugins
In reply to: [Wp-Insert] Content URL conflict if on another domainI tried it first with a partial fix was to add a condition into wp-config, which would only define WP_CONTENT_URL for the frontend, and not the backend;
if( !defined('WP_ADMIN') ) { define('WP_CONTENT_URL', 'https://contentdomain'); }
It wasn’t optimal, but worked. However I think it was due to WP_PLUGINS_URL not being set. Now after setting WP_PLUGINS_URL, the issue is gone.
Have you guys tried caching plugins, so simple-tags doesn’t run on every page load?
Went to class.client.autolinks.php, around line 166 and removed the trailing white space in the $substitute value:
From :
$substitute = '$1<a href="'.$term_link.'" class="st_tag internal_tag posts_amount'.$mposts.'" '.$rel.' title="'.$term_count->count.' '. esc_attr( sprintf( __('Posts tagged with %s', 'simpletags'), $term_name ) )."\">$2</a>$3 ";
To :
$substitute = '$1<a href="'.$term_link.'" class="st_tag internal_tag posts_amount'.$mposts.'" '.$rel.' title="'.$term_count->count.' '. esc_attr( sprintf( __('Posts tagged with %s', 'simpletags'), $term_name ) )."\">$2</a>$3";
That fixed it so far for me. Are there any other implications with this change?
the html is wrong in my post, as the forum automatically converted it.
The html after the tag includes & amp ; ( without spaces ) SPACE #8217
The last sentence should say ‘as the & # 8127 ; ( without spaces ) becomes & amp ; SPACE $8127;
Hard to explain, sorry.
Forum: Plugins
In reply to: [WPSocialite] [Plugin: WPSocialite] Facebook stopped to loadIt takes a long time to load. In 0.9 FB loaded randomly. Now with 1.2 the error I’m getting in Chrome is ‘XMLHttpRequest cannot load https://static.ak.fbcdn.net/rsrc.php/v2/y5/r/3WY-GP113Gi.js. Origin https://www.facebook.com is not allowed by Access-Control-Allow-Origin.’
If it looks like this without my fix, then you should change
the_post_thumbnail( 'summary-image' );
tothe_post_thumbnail( 'detail-image' );
.But all my fix does is replacing the featured image in the post, with the video. No other thumbnails are effected – they will still show the featured image in the thumbnail.
From what I’ve seen, this plugin does not have any code to actually work with the videos. It simply adds the embed code to a post, nothing more, nothing less.
Well if you apply my fix, it will work.
Forum: Plugins
In reply to: [WP-No-Tag-Base] [Plugin: WP-No-Tag-Base] possible malfunction?About my previous comment that the rule was coming before any category rewrites – that was the wrong formulation.
The tag base / (.+) rewrite came before any 2012/0*/* rewrites. So whenever I would enter a post, it would instead trigger the (.+) rewrite.
That is due to the original tag_base rewrite being in the middle of the rewrite rules. I suppose if it would be in the bottom, instead of the middle, this issue wouldn’t come up, as it would only get triggered if no other rewrite rule would match.
Forum: Plugins
In reply to: [WP-No-Tag-Base] [Plugin: WP-No-Tag-Base] possible malfunction?No, not using it.
After removing the $old_base part I have so far not had any malfunctions.
Forum: Fixing WordPress
In reply to: too many redirectsFor me this problem seems to be caused by wp no tag base : https://www.ads-software.com/support/topic/plugin-wp-no-tag-base-possible-malfunction
Forum: Plugins
In reply to: [WP-No-Tag-Base] [Plugin: WP-No-Tag-Base] possible malfunction?I removed the old tag base redirect support for now.
//global $wp_rewrite; //$old_base = $wp_rewrite->get_tag_permastruct(); //$old_base = str_replace( '%post_tag%', '(.+)', $old_base ); //$old_base = trim($old_base, '/'); //$tag_rewrite[$old_base.'$'] = 'index.php?tag_redirect=$matches[1]';
Let’s see if it keeps working. Can you confirm for when this would be necessary?
Forum: Plugins
In reply to: [WP-No-Tag-Base] [Plugin: WP-No-Tag-Base] possible malfunction?so possibly instead of replacing a match all rule
$old_base = str_replace( '%post_tag%', '(.+)', $old_base );
the(.+)
rule should be added to the bottom of the rewrite rules?