'; _e( 'WP Super Edit Plugin Required! Activate WP Super Edit before using. Plugin Deactivated.', 'wp-super-edit' ); echo '
'; } // register_activation_hook(__FILE__,'wp_super_edit_upgrader'); function wp_super_edit_upgrader() { global $wp_super_edit; // Unregister Stuff for the Super Classes and Super Emotions plugins by default $wp_super_edit->unregister_tinymce_plugin( 'supercssclasses'); $wp_super_edit->unregister_tinymce_button( 'styleselect' ); $wp_super_edit->unregister_tinymce_plugin( 'superemotions'); $wp_super_edit->unregister_tinymce_button( 'superemotions' ); // 07-2011: Fix bad URL for Font Tools. $wp_super_edit->unregister_tinymce_plugin( 'fonttools'); $wp_super_edit->register_tinymce_plugin( array( 'name' => 'fonttools', 'nicename' => __( 'Font Tools', 'wp-super-edit' ), 'description' => __( 'Adds the Font Family and Font Size buttons to the editor.', 'wp-super-edit' ), 'provider' => 'tinymce', 'status' => 'no', 'url' => 'none', 'callbacks' => '' )); // 07-2011: compat2x - DEPRECATE no longer functional $wp_super_edit->unregister_tinymce_plugin( 'compat2x'); // 04-2011: wp-super-class - name mistake $wp_super_edit->unregister_tinymce_plugin( 'wp-super-class'); } add_action('wp_super_edit_mode_run', 'wp_super_edit_upgrader', 5); function wp_super_edit_upgrader_shutdown() { echo ''; _e( 'WP Super Edit Upgrade Completed!', 'wp-super-edit' ); echo '