WordPress.org

Support

Support » Plugins and Hacks » JSON API » [Resolved] [Plugin: JSON API] get_intermediate_image_sizes

[Resolved] [Plugin: JSON API] get_intermediate_image_sizes

  • 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…

    http://wordpress.org/extend/plugins/json-api/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: JSON API] get_intermediate_image_sizes’ is closed to new replies.
Skip to toolbar