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

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 17 07:50:15 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):

 Another pass, fixes:
 - context passed to `user_trailingslashit` everywhere
 - removed use of `setup_postdata` for a simple count
 - fixed links for paginated pages on the frontpage (they need to include
 /page/)
 - passed author_name to `get_author_posts_url` to simplify the process of
 getting that URL

 Naming of functions probably needs to be discussed....

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


More information about the wp-trac mailing list