[wp-trac] [WordPress Trac] #18660: Enhance rel_canonical function, add filter

WordPress Trac noreply at wordpress.org
Thu Apr 9 01:11:21 UTC 2015


#18660: Enhance rel_canonical function, add filter
-------------------------------------------------+-------------------------
 Reporter:  nathanrice                           |       Owner:
     Type:  enhancement                          |  joostdevalk
 Priority:  normal                               |      Status:  assigned
Component:  Canonical                            |   Milestone:  Awaiting
 Severity:  normal                               |  Review
 Keywords:  has-patch needs-testing 2nd-opinion  |     Version:  3.3
                                                 |  Resolution:
                                                 |     Focuses:
-------------------------------------------------+-------------------------

Comment (by jrf):

 Wondering what the status is of this ticket.

 At the very least both `rel_canonical()` as well as
 `get_adjacent_post_rel_link()` need an `esc_url()` around the link as it
 could contain `&`'s.

 If it would help, I'll gladly send in a separate patch to at least fix
 that.

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


More information about the wp-trac mailing list