[wp-trac] [WordPress Trac] #50836: Using tags in metaboxes makes them float

WordPress Trac noreply at wordpress.org
Sat Aug 22 00:09:29 UTC 2020


#50836: Using tags in metaboxes makes them float
-----------------------------+----------------------------------
 Reporter:  mnelson4         |       Owner:  SergeyBiryukov
     Type:  defect (bug)     |      Status:  reviewing
 Priority:  normal           |   Milestone:  5.5.1
Component:  Administration   |     Version:  5.5
 Severity:  normal           |  Resolution:
 Keywords:  has-patch close  |     Focuses:  css, administration
-----------------------------+----------------------------------

Comment (by khag7):

 Replying to [comment:14 afercia]:

 > I'd argue that I'm not sure core should allow to "add any HTML" within
 the meta box headings.

 I agree, however, I don't know if preventing that is feasible. I don't
 know how these plugins are adding the HTML, but I'd assume its by
 accessing the global `$wp_meta_boxes`.

 Because that is a global variable, there's no reasonable way from
 preventing any plugin from changing. To prevent changing of headers would
 require a major change to how meta boxes logic works. That's not out of
 the question, but it would be a large undertaking for the purpose of...
 preventing plugins from changing core?

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


More information about the wp-trac mailing list