[wp-trac] [WordPress Trac] #23009: Wrong type of image crop option
WordPress Trac
noreply at wordpress.org
Wed Dec 19 23:27:47 UTC 2012
#23009: Wrong type of image crop option
-----------------------------+--------------------------
Reporter: anatolbroder | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: Media
Version: trunk | Severity: trivial
Keywords: has-patch |
-----------------------------+--------------------------
The image crop option must be a boolean. Now it returns a {{{true}}} value
like
{{{ ["crop"]=> string(1) "1" }}}
or
{{{ ["crop"]=> int(1) }}}
It works, but it’s not nice. My patch transforms the return to a real
boolean.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23009>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list