Open nickwoodland opened 11 years ago
@neilberry001 Do you have an ideas regarding this?
I would like to see an example.
I'm pretty confident that tanlinell_get_post_thumb
is not dependent on a plugin. However, we can extend the error reporting for this function if so required by the use of WP_Error http://codex.wordpress.org/Class_Reference/WP_Error
Checking on empty params, returns...etc
@nickwoodland @neilberry001 Can you decide on a resolution for this? Add to the appropriate milestone and ensure it is resolved? Much appreciated
I think we can close this.
We never use that function anymore in favour templates and responsive images.
Would probably be best to audit it properly though.
Without seeing an example of the error and no call on the function in current Tanlinell i'd say it was pretty safe to remove this function.
@neilberry001 to confirm, do you want me to strip the function in question from plugin? Or leave it? want to get this issue resolved!
The method tanlinell_get_post_thumb relies on the WPThumb plugin. Without the plugin installed, calls to this method throw the following error:
This error gives no indication as to what's causing it. Add more informative error handling for this case.