[wp-trac] [WordPress Trac] #45283: Meta Boxes: Add an action for plugins to print hidden inputs in the meta box form

WordPress Trac noreply at wordpress.org
Sun Dec 16 22:51:05 UTC 2018


#45283: Meta Boxes: Add an action for plugins to print hidden inputs in the meta
box form
--------------------------+---------------------
 Reporter:  pento         |       Owner:  pento
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.0
Component:  Editor        |     Version:  5.0
 Severity:  normal        |  Resolution:  fixed
 Keywords:  fixed-5.0     |     Focuses:
--------------------------+---------------------
Changes (by SergeyBiryukov):

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


Comment:

 In [changeset:"44241" 44241]:
 {{{
 #!CommitTicketReference repository="" revision="44241"
 Meta Boxes: Add the `block_editor_meta_box_hidden_fields` action.

 Lacking an appropriate action in the classic editor, plugins that add meta
 boxes have historically hooked into various actions in order to add hidden
 input fields.

 This change also adds backwards compatibility for two of the most common:
 `edit_form_after_title`, and `edit_form_advanced`.

 Props pento, danielbachhuber.
 Merges [43882] to trunk.
 Fixes #45283.
 }}}

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


More information about the wp-trac mailing list