[wp-trac] [WordPress Trac] #35529: Updating to 4.4.1 causes new pretty permalinks for media to break existing permalinks

WordPress Trac noreply at wordpress.org
Wed Jan 20 21:25:41 UTC 2016


#35529: Updating to 4.4.1 causes new pretty permalinks for media to break existing
permalinks
------------------------------+------------------------------
 Reporter:  nyodulf           |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Permalinks        |     Version:  4.4
 Severity:  normal            |  Resolution:
 Keywords:  permalinks media  |     Focuses:
------------------------------+------------------------------

Comment (by kraftbj):

 I didn't quite duplicate this, but got close.

 Steps to duplicate:
 0. Starting with an older version of WP (core.svn/branches/4.0 in this
 case)
 1. Upload a media file directly to the media library with a simple name
 "picturetest.jpg", which auto-titles as "picturetest"
 2. Create a page with a matching title (e.g. "picturetest" which auto-
 slugs "picturetest")
 3. Update to trunk
 4. In the media library, the image has a slug displayed of "picturetest".
 The link displays the page, not the attachment page.
 5. Updating the media attachment updates the slug to the expected
 "picturetest-2"

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


More information about the wp-trac mailing list