DrLightman
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: gmt_offset is emptyme too
Oko maybe I noticed if I put the analytics in the third tab, that script is added automatically
Forum: Plugins
In reply to: [Recent Posts Widget With Thumbnails] Add widget to Visual ComposerFirst thread in google for the “widget in visual composer” query.
Is that possibile? I would be interested in that.
Ok I think it’s time to say goodbye to this plugin, since it lacks even basic support for an apparently simple question as this. What a pity.
Forum: Plugins
In reply to: [WP Super Cache] All cache being cleared on any post editDamn, I’m thinking of suffering of this issue also.
Forum: Plugins
In reply to: [WP Super Cache] cahe does not worksite looks use lots ajax
ajax cache maybe no work
ajax is dynamic content
cache for static deliver
Forum: Plugins
In reply to: [WP Super Cache] WP-Cache & WP-Super-Cache ContentsI’d like to know it myself. Maybe it’s some kind of object cache.
Thanks. I found some strange file also popping in the root, I think the server has been breached or something.
Forum: Plugins
In reply to: [WP Super Cache] Page Display needs fixedI think it’s still broken in WP 4.4.1 and WPSC 1.4.7, take a look:
Ok I made a function based on wpsc source code, Donncha can you fast check if it may work? I think it does:
static function __wpsc_is_mobile( ) { global $wp_cache_mobile_browsers, $wp_cache_mobile_prefixes; $browsers = explode( ',', $wp_cache_mobile_browsers ); $user_agent = strtolower( $_SERVER['HTTP_USER_AGENT'] ); foreach ($browsers as $browser) { if ( strstr( $user_agent, trim( strtolower( $browser ) ) ) ) { return true; } } if (isset($_SERVER['HTTP_X_WAP_PROFILE']) ) return true; if (isset($_SERVER['HTTP_PROFILE']) ) return true; if ( isset( $wp_cache_mobile_prefixes ) ) { $browsers = explode( ',', $wp_cache_mobile_prefixes ); foreach ($browsers as $browser_prefix) { if ( substr($user_agent, 0, 4) == $browser_prefix ) { return true; } } } $accept = isset( $_SERVER[ 'HTTP_ACCEPT' ] ) ? strtolower( $_SERVER[ 'HTTP_ACCEPT' ] ) : ''; if (strpos($accept, 'wap') !== false) { return true; } if (isset($_SERVER['ALL_HTTP']) && strpos(strtolower($_SERVER['ALL_HTTP']), 'operamini') !== false) { return true; } return false; }protip: it doesnt check if the two global wpsc vars are set, im doing it in another function.
I hope Donncha will read this eventually before I dig into the source :v
Hate to do this, but: bump.
Forum: Plugins
In reply to: [WP Super Cache] wp super cacheNice thread title, you sure deserve to be helped, sir.
And that changed from subscriber to administrator without me doing that.
I was referring to the “default role” applied by WordPress to newly registered users.