[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
Tue Nov 6 10:44:20 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     |     Focuses:
--------------------------+-----------------------

Comment (by pento):

 [attachment:"45283.2.diff"] is based on @danielbachhuber's suggesting in
 GB10929, to capture the output from these filters that some plugins use to
 output hidden input fields.

 It also adds filtering to ''only'' allow hidden input fields, so other
 output can be accidentally dumped into the form.

 ACF works correctly, with no modification, with this patch.

 @danielbachhuber: What do you think of this direction?

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


More information about the wp-trac mailing list