[wp-trac] [WordPress Trac] #53472: Regression: "custom-units" handled as bool, should be array.

WordPress Trac noreply at wordpress.org
Tue Jun 22 17:15:41 UTC 2021


#53472: Regression: "custom-units" handled as bool, should be array.
------------------------------+----------------------
 Reporter:  kraftner          |       Owner:  desrosj
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.8
Component:  Editor            |     Version:  trunk
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+----------------------
Changes (by desrosj):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"51203" 51203]:
 {{{
 #!CommitTicketReference repository="" revision="51203"
 Editor: Allow `custom-units` to be an array.

 The changes in [50959] introduced an issue where `custom_units` was always
 being coerced into a boolean value. This should support `array` values.

 Props kraftner, youknowriad, nosolosw, jorgefilipecosta.
 Fixes #53472.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53472#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list