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

WordPress Trac noreply at wordpress.org
Thu Mar 17 00:15:41 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 azaozz):

 How about 36084.4.diff. It reverts most of [34259] and [34260], fix inline
 docs for `$rel` being boolean, and tweaks the tests from 36084.3.diff to
 apply for that.

 It also brings back the original behaviour for `$rel`: insert `attachment
 wp-att-####` then true.

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


More information about the wp-trac mailing list