[wp-trac] [WordPress Trac] #18351: get_term_feed_link doesn't work well on page two of archives

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 8 07:47:03 UTC 2011


#18351: get_term_feed_link doesn't work well on page two of archives
-------------------------------+------------------------------
 Reporter:  deadhippo          |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Taxonomy           |     Version:  3.2.1
 Severity:  minor              |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------
Changes (by dd32):

 * keywords:  needs-codex => reporter-feedback


Comment:

 !WordPress doesnt produce links to paged content, infact, I dont believe
 it even supports paged feeds.

 `get_term_feed_link()` also doesnt use the current url when creating the
 feed link, and is therefor, oblivious to the url. It does however use
 `get_term_link()` as part of the url, which if you have a filter on that,
 could be returning incorrect url's (They shouldn't contain paging).

 Furthermore, `get_term_feed_link()` always trailingslash's the url from
 `get_term_link()` so theres no reason it could be created without a slash
 before `feed`.

 Can you verify this on a clean slate? ie. Standard theme, And the only
 plugin code being what registers the taxonomy?

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


More information about the wp-trac mailing list