[wp-trac] [WordPress Trac] #45284: Meta Boxes: Prevent the meta box form from being submitted when pressing Enter

WordPress Trac noreply at wordpress.org
Sun Dec 16 22:26:35 UTC 2018


#45284: Meta Boxes: Prevent the meta box form from being submitted when pressing
Enter
---------------------------------+---------------------
 Reporter:  pento                |       Owner:  pento
     Type:  defect (bug)         |      Status:  closed
 Priority:  normal               |   Milestone:  5.0
Component:  Editor               |     Version:  5.0
 Severity:  normal               |  Resolution:  fixed
 Keywords:  has-patch fixed-5.0  |     Focuses:
---------------------------------+---------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"44240" 44240]:
 {{{
 #!CommitTicketReference repository="" revision="44240"
 Block Editor: Prevent the meta box form from being accidentally submitted.

 Meta boxes are loaded inside a wrapper form, that the block editor submits
 as part of the saving process. It shouldn't be submitted manually.

 Props pento.
 Merges [43880] to trunk.
 Fixes #45284.
 }}}

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


More information about the wp-trac mailing list