Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions admin/mf_post.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ function __construct() {

//
add_action( 'admin_footer', array( &$this,'mf_check_wp_gallery_version') );

// Add tiny_mce script if required
add_action('admin_footer', array( &$this,'check_exist_visual_editor'));

}

function mf_check_wp_gallery_version() {
Expand Down
2 changes: 1 addition & 1 deletion main.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ function mf_add_js() {
if( strstr( $_SERVER['REQUEST_URI'], 'post-new.php' ) !== FALSE || strstr( $_SERVER['REQUEST_URI'], 'wp-admin/post.php') !== FALSE ) {
/* Load JS and CSS for post page */
$css_js = new mf_post();
$css_js->check_exist_visual_editor();
// $css_js->check_exist_visual_editor();
$css_js->load_js_css_base();
$css_js->load_js_css_fields();
$css_js->general_option_multiline();
Expand Down