[wp-trac] [WordPress Trac] #33664: Missing mod_rewrite rule for unlinked attachments

WordPress Trac noreply at wordpress.org
Wed Sep 2 08:10:36 UTC 2015


#33664: Missing mod_rewrite rule for unlinked attachments
--------------------------+-----------------------------
 Reporter:  pfefferle     |       Owner:  swissspidy
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  Future Release
Component:  Permalinks    |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------------
Changes (by swissspidy):

 * keywords:   => needs-patch
 * owner:   => swissspidy
 * status:  new => assigned
 * milestone:  Awaiting Review => Future Release


Comment:

 I can confirm this. The error lies in `get_post_comments_feed_link` which
 just appends `/feed/` to the permalink if pretty permalinks are enabled.
 It should check for unattached attachments though.

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


More information about the wp-trac mailing list