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

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 14 19:47:43 UTC 2011


#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:
-------------------------------------------------+-------------------------

Comment (by joostdevalk):

 Replying to [comment:12 nathanrice]:
 > Should `esc_url()` be used instead of `esc_attr()`?

 Yes indeed, changed.

 Also fixed check for paginated posts and pages, that threw a notice in v2.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18660#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list