[wp-trac] [WordPress Trac] #34043: wp_check_for_changed_slugs() ignores attachments

WordPress Trac noreply at wordpress.org
Mon Sep 28 12:39:52 UTC 2015


#34043: wp_check_for_changed_slugs() ignores attachments
-------------------------------+------------------
 Reporter:  swissspidy         |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  4.4
Component:  Posts, Post Types  |     Version:  2.1
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:
-------------------------------+------------------
Changes (by swissspidy):

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


Comment:

 Thanks! I just updated the patch now. You're right, the check should be
 more strict.

 > I'm also pondering if, when changing the slug on a post, the slug on
 attachments should change, too. I'm open to arguments either way.

 Can you elaborate on this? Accessing an attachment URL with a wrong post
 slug in it was handled by [34272].

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


More information about the wp-trac mailing list