scompt
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Twitter Tools] Removing JQueryAlex, it’s definitely efficient, but it could be a hair more efficient to completely JQuery when it’s not needed.
Replace line 975 of 2.0rc1:
if (is_admin() || $aktt->tweet_from_sidebar) {with the following line:
if (is_admin() || ($aktt->tweet_from_sidebar && current_user_can('publish_posts'))) {This will keep JQuery completely out of the front-end if it’s not needed.
Thanks for the plugin,
EdwardForum: Fixing WordPress
In reply to: Using wp-crontrol to run a php fileHi Frank,
Something like this written in a PHP hook in wp-crontrol would probably work. I haven’t tested it though.
require_once(ABSPATH.WPINC.'/class-snoopy.php'); $snoop = new Snoopy; $snoop->fetch('http://example.com/wp-content/plugins/wp-posterperiodic/post-cron.php'); if( $snoop->status == '200' ) { do_something_with( $snoop->results ); }Cheers,
EdwardForum: Installing WordPress
In reply to: Error when visting the Crontrol option pageplokmaster,
Are you running the wp-crontrol plugin? If so, which version of WordPress are you running?
Forum: Installing WordPress
In reply to: Error when visting the Crontrol option pageHi vscarpenter & schmitt,
I updated the code which should fix the proble you experienced. However, as you noticed, the problem only presents yourself when you first activate the plugin, so you’re in the clear now.
vscarpenter:
You can’t do anything with the built-in cron schedules because WP hard-codes those. It’s probably for the best also, as other plugins might be relying on them.Cheers,
Edward