[wp-trac] [WordPress Trac] #60569: Generate UUID for media slugs if attachment pages are inactive.

WordPress Trac noreply at wordpress.org
Fri Jul 19 00:39:26 UTC 2024


#60569: Generate UUID for media slugs if attachment pages are inactive.
------------------------------------+-----------------------
 Reporter:  peterwilsoncc           |       Owner:  antpb
     Type:  enhancement             |      Status:  assigned
 Priority:  normal                  |   Milestone:  6.7
Component:  Media                   |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |     Focuses:
------------------------------------+-----------------------

Comment (by peterwilsoncc):

 Replying to [comment:11 debarghyabanerjee]:
 > Post ID won't work because the slug is getting generated before
 inserting the post.

 Thanks for that, I wasn't sure of the order of operations.

 I also suspect post ID could "steal" helpful slugs, eg `episode/20` for a
 podcast.

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


More information about the wp-trac mailing list