soren121
Forum Replies Created
-
The author is lazy and decided he wanted to use anonymous functions, which weren’t introduced until PHP 5.3, which is not yet available on most web hosts.
Here’s the fix I’ve whipped up in 5 minutes. Replace everything in youtube_embed.php below the comment block with the following:
function buttons($buttons) { array_unshift($buttons, 'youtube_embed'); return $buttons; } function plugins($plugin_array) { $plugin_array['youtube_embed'] = WP_PLUGIN_URL . '/tinymce-youtube-embed/youtube_embed.js'; return $plugin_array; } function youtube_embed() { if ( ! current_user_can( 'edit_posts' ) && ! current_user_can( 'edit_pages' ) ) { return; } add_filter('mce_buttons', 'buttons'); add_filter( 'mce_external_plugins', 'plugins'); } add_action( 'init', 'youtube_embed');
Forum: Installing WordPress
In reply to: Problem installing WP-Super-Cache on SFNo…I put up a phpinfo and it says Safe Mode is Off. Nothing seems unusual.
Forum: Requests and Feedback
In reply to: Add automatic cache to WP-Super-CacheI’ve installed it on my blog and I’m loving it. =)
Forum: Requests and Feedback
In reply to: Add automatic cache to WP-Super-CacheOh ok. =) Does it clear it when a post is edited? (I tend to edit a lot.)
Forum: Fixing WordPress
In reply to: Cant import posts from BlogSpot?Possibly your server does not have SSL compiled for CURL. Or maybe Google just updated Blogger so WP can’t import from it anymore. I hope David Peralty from BloggingPro doesn’t read this topic.
Forum: Fixing WordPress
In reply to: Editor is not working at all!OMG. Somebody or something (probably a plugin) put an overly-restrictive .htaccess in my wp-includes folder that prevented WordPress from reading the TinyMCE files. O_O Anyway I removed it and now it works. Thanks! =)
Forum: Fixing WordPress
In reply to: Editor is not working at all!THIS IS EXTREMELY URGENT!! What is wrong with everybody?
Forum: Fixing WordPress
In reply to: Editor is not working at all!PLEASE?!?!?!?!?!?
Forum: Plugins
In reply to: Getting WordPress.com stats on a WordPress software blogThe day of WordPress.com stats on a standalone WP blog has come. =)
Forum: Installing WordPress
In reply to: The new version is installedHave you tried refreshing your browser cache?
Forum: Fixing WordPress
In reply to: latest post Loop helpOH! This explains it. Thanks! ??