wp update 3.5 broke it
-
too bad, loved this plugin
https://www.ads-software.com/extend/plugins/scissors-continued/
tried this fix:
function scissors_admin_head() { global $scissors_dirname; wp_enqueue_script('scissors_crop', '/' . PLUGINDIR . '/'.$scissors_dirname.'/js/jquery.Jcrop.js', array('jquery') ); wp_enqueue_script('scissors_js', '/' . PLUGINDIR . '/'.$scissors_dirname.'/js/scissors.js' ); $thisUrl = admin_url('admin-ajax.php'); echo "<!-- JS loaded for Scissors in media library -->\n"; echo "<script type='text/javascript'>\n/* <![CDATA[ */\n"; echo "scissors = {\n"; echo "ajaxUrl: '$thisUrl'"; foreach(array('large', 'medium', 'thumbnail') as $size) { $width = intval(get_option("{$size}_size_w")); $height = intval(get_option("{$size}_size_h")); $aspectRatio = max(1, $width) / max(1, $height); if(!get_option("{$size}_crop")) $aspectRatio = 0; echo ",\n{$size}AspectRatio: $aspectRatio"; } echo "\n}\n"; echo "/* ]]> */\n</script>\n"; echo "<!-- End of JS loaded for Scissors in media library -->\n"; }
in the sciccors.php file (line 888)
No luck. just resulted in ages of waiting while applying the watermark
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘wp update 3.5 broke it’ is closed to new replies.