Michael Nolan
Forum Replies Created
-
Forum: Plugins
In reply to: [Login No Captcha reCAPTCHA] Any plan to make it Multisite ready?We use multi site in subdirectory mode so there’s no problem with using a single API key. I’m enforcing this across all sites using a mu-plugin with the following:
add_filter('option_login_nocaptcha_key', 'ehu_login_nocaptcha_key', 10, 1);
add_filter('option_login_nocaptcha_secret', 'ehu_login_nocaptcha_secret', 10, 1);function ehu_login_nocaptcha_key($value) {
return 'key';
}function ehu_login_nocaptcha_secret($value) {
return 'secret';
}Forum: Plugins
In reply to: [PDF Thumbnails] Low resolutionYes, that looks much cleaner, thanks!
Forum: Plugins
In reply to: [PDF Thumbnails] Low resolutionNot sure that filter will work for me as the resolution needs to be set before the file is read in. Maybe before and after
$im->readImage($filename)
hooks could be added?I’m also coming up against this problem and notice that it’s only the case for the immediate children of a page with custom sidebars. This begs the question what the use-case for this is – surely if you want inherited custom sidebars you’d want them all the way down.
As a new user I’d prefer opt-in inheritance but I can understand to maintain b/c it may be necessary to opt out of it. I’d prefer a opt out per sidebar rather than per child page.
Forum: Plugins
In reply to: [Plugin: WordPress.com Custom CSS] Not Working cannot fin@ovidiu: Yes.
Forum: Plugins
In reply to: [Plugin: WordPress.com Custom CSS] Not Working cannot finI needed to do two things to make it work:
On line 131 change
is_int()
tois_numeric()
:if ( is_numeric( $blog_id ) ) { switch_to_blog( $blog_id ); $current_plugins = apply_filters( 'active_plugins', get_option( 'active_plugins' ) ); }
Then in my .htaccess add the following:
RewriteRule ^custom-css.php /index.php [L,QSA]
Now works a treat.