[wp-trac] [WordPress Trac] #59006: No title attribute on oEmbed and REST API <link>s

WordPress Trac noreply at wordpress.org
Sun Jun 2 22:00:45 UTC 2024


#59006: No title attribute on oEmbed and REST API <link>s
-------------------------------------+-------------------------------------
 Reporter:  edent                    |       Owner:  audrasjb
     Type:  enhancement              |      Status:  closed
 Priority:  normal                   |   Milestone:  6.6
Component:  Embeds                   |     Version:  6.2.2
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-screenshots has-     |     Focuses:  accessibility, rest-
  patch has-unit-tests needs-        |  api
  testing                            |
-------------------------------------+-------------------------------------
Changes (by audrasjb):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"58286" 58286]:
 {{{
 #!CommitTicketReference repository="" revision="58286"
 Embeds: Add titles to alternate resource links for oEmbed and REST API.

 This changeset makes the following changes:
 - Adds the title attribute to `<link rel="alternate">` tags for oEmbed and
 REST API endpoints
 - Updates the oEmbed phpunit tests to reflect the above change
 - Adds the title link-param to REST API Link: headers (verified as
 supported in RFC 8288 here: https://httpwg.org/specs/rfc8288.html
 #serialisation-defined-attributes)

 Props edent, kadamwhite, TimothyBlynJacobs, joedolson, swissspidy,
 sabernhardt.
 Fixes #59006.
 }}}

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


More information about the wp-trac mailing list