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

WordPress Trac noreply at wordpress.org
Wed Mar 16 23:26:24 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):

 I wouldn't mind reverting [34259] and [34260]. They don't fix any bugs.
 The tickets they fix are "Fix documentation..." (#32074), and "Move a code
 block for clarity..." (#32072). However both patches introduce
 regressions.

 There may be some value in keeping the possibility to pass `$rel` as
 string in `get_image_send_to_editor()`, but 36084.3.diff changes the
 original behaviour too. Keep in mind these are functions specifically for
 use with the editor and they seem to have all the filters they need so
 plugins can customize the output.

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


More information about the wp-trac mailing list