Opened 23 months ago
Last modified 23 months ago
#58013 new defect (bug)
Copy URL To Clipboard Fails After 1 Use
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 6.1.1 |
Component: | Media | Keywords: | reporter-feedback |
Focuses: | Cc: |
Description
When editing a post/page, I click to insert media, click "Copy URL to clipboard" on any media in the Library modal and paste into my page (or outside of WP into Notepad etc.)
Then, without saving or refreshing repeat the process (insert media, copy url to clipboard) and on the second and subsequent pastes it fails and re-pastes only the first link
I've seen this behavior on 12+ sites, using different themes, all running the current WP - I see this behavior both in Chrome, and Firefox
Change History (7)
This ticket was mentioned in Slack in #core by colewebdev. View the logs.
23 months ago
#3
@
23 months ago
Yes I've tried on multiple devices, browsers and websites.
Here are more details steps to reproduce:
- Create or edit an existing page/post.
- Click to insert an image module.
- Click: Select Image>Media Library
- In the modal, select a Library Media item and click "Copy URL to clipboard"
- Paste URL into Notepad (or equivalent)
- In the still open WordPress Library modal, click another Library Media item and click "Copy URL to clipboard"
- Paste URL into Notepad (or equivalent)
- The first URL will paste, not the second.
#4
@
23 months ago
Thank you for the details. Still it's working for me.
What PHP version are you on?
#5
@
23 months ago
- Keywords reporter-feedback added
I cannot reproduce either. The first attempt pastes the first URL. The second attempt pastes the second URL.
@colewebdev Are there any console errors in your browser's devtools?
#6
@
23 months ago
Yup, can't reproduce this too. I tried to follow the steps to the T but in vain.
Mine was tested on 2023 theme.
@colewebdev , any chance you could provide more details on your environment, PHP version, browser version, theme, laptop OS version, etc...?
This could help to narrow down to the scenario.
I cannot reproduce this. Sorry for the question, but did you try different devices?