kylereicks / picturefill.js.wp

A WordPress plugin to use Picturefill.js for image loading.
106 stars 10 forks source link

Removing Image Size Throws Fatal Error #33

Closed HughxDev closed 10 years ago

HughxDev commented 10 years ago

picturefill_wp_remove_image_from_responsive_list('thumbnail'); results in:

PHP Fatal error: Using $this when not in object context in /path/wordpress/wp-content/plugins/picturefillwp/inc/class-picturefill-wp-function-helpers.php on line 196, referer: http://domain.com/wordpress/wp-admin/post.php?post=123&action=edit&message=10

kylereicks commented 10 years ago

Thanks very much for the helpful feedback hguiney. I've pushed a few hotfixes to the master branch. If you can confirm that it fixes the issue, I'll push the fixes to the wordpress.org repository.

kylereicks commented 10 years ago

These updates were pushed to version 1.3.4

If the updates did not address the issue as expected, please re-open the issue.

Thanks very much.