[wp-trac] [WordPress Trac] #26951: Add has_image_size()
WordPress Trac
noreply at wordpress.org
Sat Feb 8 00:19:31 UTC 2014
#26951: Add has_image_size()
------------------------------+-----------------------------
Reporter: mordauk | Owner: wonderboymusic
Type: enhancement | Status: closed
Priority: normal | Milestone: 3.9
Component: Media | Version: 3.8
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+-----------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"27128"]:
{{{
#!CommitTicketReference repository="" revision="27128"
Introduce `has_image_size( $name )`, a utility function that helps avoid
loading the `$_wp_additional_image_sizes` global.
Props mordauk.
Fixes #26951.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26951#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list