[wp-trac] [WordPress Trac] #34083: Feed for post type should link to post type archive if available

WordPress Trac noreply at wordpress.org
Tue Nov 17 22:51:48 UTC 2015


#34083: Feed for post type should link to post type archive if available
--------------------------+------------------------------
 Reporter:  joostdevalk   |       Owner:  stevenkword
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Feeds         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------
Changes (by stevenkword):

 * keywords:   => has-patch
 * owner:   => stevenkword
 * status:  new => assigned


Comment:

 I like this idea, so I've taken a stab at the solution in
 [attachment:34083.patch].  Admittedly, this new function is not very unit-
 testable, which I will probably address in a future patch.  However, if
 anyone wants to take a look now, I'd love a second opinion. There were
 some other ways to approach the problem.  This approach, while a little
 complicated, avoids regex and string functions and therefore should work
 with any permalink structure or lack thereof.

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


More information about the wp-trac mailing list