[wp-trac] [WordPress Trac] #1914: Permalinks for unattached uploads/attachments

WordPress Trac noreply at wordpress.org
Wed Sep 2 20:45:26 UTC 2015


#1914: Permalinks for unattached uploads/attachments
-------------------------------------------------+-------------------------
 Reporter:  dlhau@…                              |       Owner:
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  4.4
Component:  Permalinks                           |     Version:  1.6
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-unit-tests needs-    |     Focuses:
  refresh                                        |
-------------------------------------------------+-------------------------
Changes (by swissspidy):

 * keywords:  has-patch needs-unit-tests => has-patch needs-unit-tests
     needs-refresh


Comment:

 [attachment:1914.diff 1914.diff] only solves half of the problems:

 * The ugly permalink is still shown at some places, like in the media list
 table and when editing the media item
 * Doesn't work in every scenario. For example, when a media item is
 attached to some post that is from an old post type (not registered
 anymore, just lying in the database), the ugly permalink is used. There's
 no redirect to the pretty permalink.

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


More information about the wp-trac mailing list