[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
Fri Nov 9 09:05:50 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:  assigned
 Priority:  normal                   |   Milestone:  5.0
Component:  Editor                   |     Version:  5.0
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+-----------------------

Comment (by pento):

 In [changeset:"43882" 43882]:
 {{{
 #!CommitTicketReference repository="" revision="43882"
 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.
 See #45283.
 }}}

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


More information about the wp-trac mailing list