newvibe
Member
Posted 6 months ago #
I'm planning to update WordPress soon, which might handle this problem.
I go into the media library and press the Smush.it now! link next to any JPG image and I get sent to this page:
/admin.php?action=wp_smushit_manual&attachment_ID=57017 (or whatever the id is) and it is blank.
I used it on a GIF and it worked fine.
http://wordpress.org/extend/plugins/wp-smushit/
newvibe
Member
Posted 6 months ago #
Got my php logging going and found this:
Fatal error: Call to undefined function wp_basename() in plugins/wp-smushit/wp-smushit.php on line 258
wp_basename() was introduced in WordPress 3.1, so probably should update that on the plugin main page on wordpress.org. Right now it says that this plugin only requires 2.9.
Thanks for the plugin by the way!!! I'm looking forward to using it as soon as I update.
Good catch -- thanks. I've added a compatibility layer to the plugin to address that problem for earlier WP versions.