[wp-trac] [WordPress Trac] #31387: New core API for adding Meta boxes to the header

WordPress Trac noreply at wordpress.org
Thu Feb 19 19:08:24 UTC 2015


#31387: New core API for adding Meta boxes to the header
-----------------------------+--------------------------------------
 Reporter:  georgestephanis  |      Owner:
     Type:  enhancement      |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Themes           |    Version:  trunk
 Severity:  normal           |   Keywords:  dev-feedback 2nd-opinion
  Focuses:  template         |
-----------------------------+--------------------------------------
 There is often a conflict between one or more plugins about registering
 meta tags in the header.  Meta tags that shouldn't be duplicated, it's
 difficult to know which one should 'win'.  A lightweight framework in core
 that multiple plugins could use to register meta tags seems like it would
 be useful.

 It would need to handle several different attributes for all use cases --
 `name` `property` `http-equiv` `charset` -- possibly generic `data-*`
 attributes?  Uncertain.

 Twitter discussion: https://twitter.com/nacin/status/562109983069061120
 (up and down the thread)

 My first swing at it:

 https://gist.github.com/georgestephanis/0f0cca2c5f1a6cd4aab2

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31387>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list