[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:28:40 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 joostdevalk):

 There are several well maintained plugins (Jetpack, Facebook's, our WP
 SEO, etc) that run into this problem. If we could encourage people to
 switch to this API and at the .org level maybe prevent new plugins from
 using straight echoes, we could prevent a whole lot of issues.

 One thing I'm thinking now is it'd be nice to add the originating plugin
 to the call, so you could easily debug why your og: output is being
 overridden.

 As for the problem we're trying to solve: multiple meta descriptions,
 og:descriptions, etc on a page.

 One bug in the current implementation: some tags actually could validly be
 there multiple times. There are, for instance, reasons to have several
 og:image tags...

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


More information about the wp-trac mailing list