[wp-trac] [WordPress Trac] #46290: Port from Gutenberg editor: Fix: Impossible to set empty array on editor-font-sizes.

WordPress Trac noreply at wordpress.org
Fri Mar 8 22:11:13 UTC 2019


#46290: Port from Gutenberg editor: Fix: Impossible to set empty array on editor-
font-sizes.
------------------------------+----------------------
 Reporter:  jorgefilipecosta  |       Owner:  desrosj
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  5.2
Component:  Editor            |     Version:  5.0
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:
------------------------------+----------------------
Changes (by desrosj):

 * keywords:  has-patch commit dev-reviewed => has-patch
 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 I have tested this after the changes from
 [https://github.com/WordPress/gutenberg/pull/13782GB-13782] were merged
 into `trunk` in [44808], and the field no longer displays an empty
 dropdown when an empty array is specified as the value for `editor-font-
 sizes` theme support.

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


More information about the wp-trac mailing list