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

WordPress Trac noreply at wordpress.org
Thu Feb 19 20:37:25 UTC 2015

#31387: New core API for adding Meta tags to the header
 Reporter:  georgestephanis  |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  2nd-opinion      |     Focuses:  template

Comment (by georgestephanis):

 Yup, realized that afterwards (re duplicate tags)

 I'm also not 100% happy with how I'm specifying the type of tag (the
 awkward way of handling charsets in there comes to mind) -- perhaps we
 could ignore `http-equiv` meta tags entirely and just have it default to
 `name` unless it starts with `og:` and then swap to `property`?

 I'd sooner run off a static than a global variable personally, but it's
 more personal preference than anything I'd really fight over.

 I'm not sure the ideal way to specify the plugin generating it ... maybe
 an optional __FILE__ parameter?  Running debug_backtrace to snag the
 calling file doesn't feel right.

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

More information about the wp-trac mailing list