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

WordPress Trac noreply at wordpress.org
Wed Sep 2 07:45:55 UTC 2015


#33664: Missing mod_rewrite rule for unlinked attachments
--------------------------+-----------------------------
 Reporter:  pfefferle     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Permalinks    |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 The URL of an unlinked attachments always uses query params (for example:
 http://notizblog.org/?attachment_id=6702) if pretty permalinks are enabled
 or not.

 This causes problems with feed links (for example:
 http://notizblog.org/?attachment_id=6702/feed/) and any other plugins that
 are using `add_rewrite_endpoint` (for example:
 https://github.com/swissspidy/oEmbed-API/blob/master/classes/class-
 plugin.php#L88)

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


More information about the wp-trac mailing list