Mikael Korpela
Forum Replies Created
-
Meanwhile, our customers can fix the issue at their site by disabling Javascript combiner from Site Optimizer but that’s not great for their site’s performance.
They can also use following PHP script to stop combining the affected files, but this is technically complicated to some customers and not something they should need to do anyway:
function jetpack_sgo_javascript_combine_exclude( $exclude_list ) {
$exclude_list[] = 'wp-dom-ready';
$exclude_list[] = 'jetpack-block-subscriptions';
return $exclude_list;
}
add_filter( 'sgo_javascript_combine_exclude', 'jetpack_sgo_javascript_combine_exclude' );
function jetpack_sgo_javascript_combine_excluded_inline_content( $excluded_inline_content ) {
$excluded_inline_content[] = 'Jetpack_Block_Assets_Base_Url';
return $excluded_inline_content;
}
add_filter( 'sgo_javascript_combine_excluded_inline_content', 'jetpack_sgo_javascript_combine_excluded_inline_content' );Forum: Plugins
In reply to: [W3 Total Cache] Malware URL in readme.txtI don’t think this is nothing to worry about.
That URL has been at the readme for many years and might be the domain has expired or something and spammers took it over. However, now Google says there’s malware there. See Google’s report:
Here’s the report https://www.wordfence.com plugin gives:
/html/wp-content/plugins/w3-total-cache/readme.txt
Filename: wp-content/plugins/w3-total-cache/readme.txt
Bad URL: http://blog.brainhost.com/10-plugins-that-will-speed-up-your-wordpress-site/)
File type: Not a core, theme or plugin file.
Issue first detected: 32 mins ago.
Severity: Critical
Status New
This file contains a suspected malware URL listed on Google’s list of malware sites. Wordfence decodes base64 when scanning files so the URL may not be visible if you view this file. The URL is: http://blog.brainhost.com/10-plugins-that-will-speed-up-your-wordpress-site/) – More info available at Google Safe Browsing diagnostic page.Forum: Plugins
In reply to: [Admin bar languages] problem with is_admin_bar_showing() in the frondendYup, I was looking into this today and found the issue. Just fixed this and pushed v1.1: https://ww.wp.xz.cn/plugins/admin-bar-languages/
Thanks for the heads up!
Forum: Plugins
In reply to: [Admin bar languages] problem with is_admin_bar_showing() in the frondendThat’s interesting, thanks for the info!
Which WP version you’re using and does this occur with fresh install?
Forum: Fixing WordPress
In reply to: Enable tags screen for pagesYou can enable tags and categories for wordpress pages with this in your theme’s functions.php:
function my_taxonomies() { register_taxonomy_for_object_type('category', 'page'); register_taxonomy_for_object_type('post_tag', 'page'); } add_action('init', 'my_taxonomies');FB is currently changing their requirements for news feed images. I’d suggest to change default behaviour accordingly.
https://developers.facebook.com/blog/post/2013/04/03/platform-updates–operation-developer-love/
Minimum is 200×200 (so ppl don’t use thumbnail size!) and recommendation 600×600, so default “medium” 300×300 is a bit too small.
I’d use “full” as default.