upload.php should be added to print admin scripts
-
As mentioned above – without ime-admin.js is missing on upload.php page which is media library.
/* Add admin page */ function ime_admin_menu() { $ime_page = add_options_page('ImageMagick Engine', 'ImageMagick Engine', 'manage_options', 'imagemagick-engine', 'ime_option_page'); $script_pages = array( $ime_page, 'media.php', 'media-new.php', 'media-upload.php', 'media-upload-popup', 'post.php', 'upload.php' ); foreach ($script_pages as $page) { add_action('admin_print_scripts-' . $page, 'ime_admin_print_scripts'); add_action('admin_print_styles-' . $page, 'ime_admin_print_styles'); } }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘upload.php should be added to print admin scripts’ is closed to new replies.