A feature enhancement: use get_intermediate_image_sizes() in wp 3
line 39 in models/attachment.php has
$images = array(‘thumbnail’,…)
could be better if it was:
$sizes = function_exists('get_intermediate_image_sizes') ? get_intermediate_image_sizes() : array('thumbnail',...);
I amended my copy, but it would be bad if an upgrade wrote it over…
- The topic ‘[Plugin: JSON API] get_intermediate_image_sizes’ is closed to new replies.