Opened 14 years ago
Last modified 3 years ago
#16478 reviewing defect (bug)
"Get Shortlink" button disappears if you edit the permalink
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Editor | Keywords: | has-patch |
Focuses: | Cc: |
Description
Go to edit a post and change the permalink. The "Get Shortlink" button is overwritten by the AJAX response. I think it's a simple case of moving where the shortlink is added, see patch.
Attachments (4)
Change History (21)
This ticket was mentioned in IRC in #wordpress-dev by aubreypwd. View the logs.
11 years ago
#5
@
11 years ago
Okay, got a patch that keeps "Get Shortlink" persistent when editing. This does not fix #16477 which will have it's own patch.
This ticket was mentioned in IRC in #wordpress-dev by aubreypwd. View the logs.
11 years ago
#7
@
11 years ago
https://core.trac.wordpress.org/attachment/ticket/22980/sample_permalink.diff in #22980 is a similar (and probably better) solution.
This ticket was mentioned in IRC in #wordpress-dev by aubreypwd. View the logs.
11 years ago
#10
@
11 years ago
- Keywords 4.0-early added
- Milestone changed from 3.9 to Future Release
Ran out of time, moving to 4.0.
#12
follow-up:
↓ 13
@
9 years ago
Given that the Get Shortlink button is hidden by default since r34556, are we interested in fixing this?
Actually here is a better way - no need to overwrite static data with AJAX. This would also resolve #16477.