[wp-trac] [WordPress Trac] #36084: Link to media images now get a rel=attachment

WordPress Trac noreply at wordpress.org
Fri Mar 18 15:41:26 UTC 2016


#36084: Link to media images now get a rel=attachment
--------------------------------------+------------------------
 Reporter:  csschris                  |       Owner:  joemcgill
     Type:  defect (bug)              |      Status:  accepted
 Priority:  normal                    |   Milestone:  4.5
Component:  Media                     |     Version:  4.4.2
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------

Comment (by joemcgill):

 Point taken. I'm starting to lean towards reverting as well, except that I
 suspect #32074 was reported because someone was attempting to pass a
 different string to it. [attachment:36084.7.diff] is identical to
 [attachment:36084.6.diff] but moves setting `$rel` after `$url` is set to
 avoid errors.

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


More information about the wp-trac mailing list