[wp-trac] [WordPress Trac] #12634: Media Library & Permalink Overlap
WordPress Trac
noreply at wordpress.org
Thu Oct 24 06:09:31 UTC 2019
#12634: Media Library & Permalink Overlap
--------------------------+-----------------------
Reporter: tmoorewp | Owner: (none)
Type: defect (bug) | Status: assigned
Priority: normal | Milestone:
Component: Permalinks | Version: 2.9.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+-----------------------
Changes (by ehtis):
* keywords: has-patch needs-testing => has-patch
Comment:
Hi @tmoorewp, @mrmist, and others who might have experienced this. I
understand this ticket is super long, not sure if this is still an issue
for you or if you're around.
But, I did some testing and here's how the behavior seems to be:
1. Upload media, let's name it "flower", so the slug would become
yoursite/flower
2. Create a page, give it the title "flower".
3. WordPress would detect that a slug "flower" already exists, so it'd
auto-assign "flower-2" slug to this page. You will be able to access it at
yoursite/flower-2
Now, say you want to force change the slug of the page to "flower" and
match with the media. You edit the permalink/slug in the editor and hit
"Update". You think the slug of the page has been changed to "flower" from
"flower-2".
But, that doesn't really happen. Page slug remains as "flower-2" and media
remains as "flower". You can confirm this by refreshing and opening the
page in the editor again.
I guess that might have led to some confusion.
If anyone is still experiencing issues, please do reply. But I think what
could be done here is better reporting/warning that a permalink change
attempt failed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/12634#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list