| Server IP : 195.130.67.5 / Your IP : 216.73.217.127 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /inetpub/wwwroot/engineering/iimec/wp-content/plugins/ckeditor-for-wordpress/ |
Upload File : |
<?php if ( !defined('ABSPATH')){ exit; } // Exit if accessed directly
/*
Plugin Name: CKEditor for WordPress
Plugin URI: http://wordpress.ckeditor.com/
Description: Replaces the default WordPress editor with <a href="http://ckeditor.com/"> CKEditor</a>
Version: 4.5.3.3
Author: CKSource
Author URI: http://cksource.com/
*/
add_action('init', 'ckeditor_init');
function ckeditor_init(){
global $ckeditor_wordpress;
require_once dirname(__FILE__) . '/ckeditor_class.php';
if (is_admin()){
add_action('admin_menu', array(&$ckeditor_wordpress, 'add_option_page'));
add_action('admin_head', array(&$ckeditor_wordpress, 'add_admin_head'));
add_action('personal_options_update', array(&$ckeditor_wordpress, 'user_personalopts_update'));
add_action('admin_print_scripts', array(&$ckeditor_wordpress, 'add_post_js'));
add_action('admin_print_footer_scripts', array(&$ckeditor_wordpress, 'remove_tinymce'));
add_action('admin_init', array(&$ckeditor_wordpress, 'deregister_editor_expand' ));
// TODO: fix support for V4
// add_filter('ckeditor_external_plugins', array(&$ckeditor_wordpress, 'ckeditor_linkbrowser_plugin'));
// add_action('wp_ajax_linkbrowser_loader', array(&$ckeditor_wordpress, 'ckeditor_linkbrowser_loader'));
// add_action('wp_ajax_linkbrowser_search', array(&$ckeditor_wordpress, 'ckeditor_linkbrowser_search'));
}
add_action( 'wp_print_scripts', array(&$ckeditor_wordpress, 'add_comment_js'));
add_filter( 'ckeditor_external_plugins', array(&$ckeditor_wordpress, 'ckeditor_wpmore_plugin') );
add_filter( 'ckeditor_buttons', array(&$ckeditor_wordpress, 'ckeditor_wpmore_button') );
add_filter( 'ckeditor_external_plugins', array(&$ckeditor_wordpress, 'ckeditor_wpgallery_plugin') );
add_filter( 'ckeditor_load_lang_options', array(&$ckeditor_wordpress, 'ckeditor_load_lang_options') );
//add filter to change content before insert/update to database - needed for wpeditimage plugin
add_filter( 'wp_insert_post_data' , array(&$ckeditor_wordpress, 'ckeditor_insert_post_data_filter'));
/** temporary for vvq **/
add_filter( 'ckeditor_external_plugins', array(&$ckeditor_wordpress, 'ckeditor_externalvvq_plugin') );
add_filter( 'ckeditor_buttons', array(&$ckeditor_wordpress, 'ckeditor_vvqbuttons') );
/** temporary for wppoll **/
add_filter( 'ckeditor_external_plugins', array(&$ckeditor_wordpress, 'wppoll_external') );
add_filter( 'ckeditor_buttons', array(&$ckeditor_wordpress, 'wppoll_buttons') );
/** temporary for ngggallery **/
include_once dirname(__FILE__) . '/plugins/nggallery/ckeditor.php';
/** temporary for gd-star-rating **/
add_filter( 'ckeditor_external_plugins', array(&$ckeditor_wordpress, 'starrating_external_plugin') );
add_filter( 'ckeditor_buttons', array(&$ckeditor_wordpress, 'starrating_buttons') );
}