Make WordPress Core

Opened 16 years ago

Last modified 5 years ago

#16478 reviewing defect (bug)

"Get Shortlink" button disappears if you edit the permalink

Reported by: solarissmoke Owned by:
Priority: normal Milestone: Future Release
Component: Editor Version: 3.0
Severity: normal Keywords: has-patch
Cc: Focuses:

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)

16478.diff​ (2.0 KB ) - added by solarissmoke 16 years ago.
16478-better.diff​ (4.1 KB ) - added by solarissmoke 16 years ago.
16478-3.patch​ (2.0 KB ) - added by aubreypwd 13 years ago.
Moved Get Shortlink to get_sample_permalink_html
16478.4.patch​ (2.1 KB ) - added by sabernhardt 5 years ago.
refresh, moving shortlink button after filter

Download all attachments as: .zip

Change History (21)

#1 @solarissmoke
16 years ago

  • Keywords has-patch added

#2 @solarissmoke
16 years ago

Actually here is a better way - no need to overwrite static data with AJAX. This would also resolve #16477.

#3 @navjotjsingh
14 years ago

  • Cc navjotjsingh@… added

This ticket was mentioned in IRC in #wordpress-dev by aubreypwd. ​View the logs.


13 years ago

@aubreypwd
13 years ago

Moved Get Shortlink to get_sample_permalink_html

#5 @aubreypwd
13 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.


13 years ago

#7 @aubreypwd
13 years ago

Last edited 13 years ago by aubreypwd (previous) (diff)

This ticket was mentioned in IRC in #wordpress-dev by aubreypwd. ​View the logs.


13 years ago

#9 @SergeyBiryukov
13 years ago

  • Milestone Awaiting Review → 3.9

Moving to 3.9 per 7:ticket:22980.

#10 @nacin
13 years ago

  • Keywords 4.0-early added
  • Milestone 3.9 → Future Release

Ran out of time, moving to 4.0.

#11 @SergeyBiryukov
12 years ago

#31933 was marked as a duplicate.

#12 follow-up: @ericlewis
11 years ago

Given that the Get Shortlink button is hidden by default since r34556, are we interested in fixing this?

#13 in reply to: ↑ 12 @DrewAPicture
11 years ago

Replying to ericlewis:

Given that the Get Shortlink button is hidden by default since r34556, are we interested in fixing this?

Hidden or not, if we're still displaying it in some fashion and it is still a part of core, we should still be committed to ensuring a good experience.

#14 @iseulde
11 years ago

  • Keywords 4.0-early removed

#15 @swissspidy
10 years ago

  • Owner set to swissspidy
  • Status new → reviewing

#16 @swissspidy
8 years ago

  • Owner swissspidy removed

Hidden or not, if we're still displaying it in some fashion and it is still a part of core, we should still be committed to ensuring a good experience.

Is this button still a thing now with Gutenberg?

@sabernhardt
5 years ago

refresh, moving shortlink button after filter

#17 @sabernhardt
5 years ago

I do not find the shortlink within the block editor panel.

In case fixing this is still desirable in the Classic Editor, I refreshed the patch.

Note: See TracTickets for help on using tickets.