Make WordPress Core

Opened 15 years ago

Last modified 21 months ago

#6619 new enhancement

permalink field misleading in page editor: it displays the erroneous values

Reported by: denis-de-bernardy's profile Denis-de-Bernardy Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 2.5
Component: Editor Keywords: needs-patch
Focuses: Cc:

Description

if you create a sub-page, the permalink field should display the proper permalink.

currently, if you have:

site.com/page/

and when you create:

site.com/page/subpage/

the permalink shows:

site.com/subpage/

until it gets saved

the expected behavior would be for it to show the correct permalink.

the same remark applies when you then change the permalink. if the parent is no longer page, but rather page-2, then the permalink should update accordingly.

Change History (12)

#1 @Viper007Bond
15 years ago

The only way to do this would be to fire the autosave when the parent is changed I guess.

#2 @Denis-de-Bernardy
15 years ago

fetching the parent page's permalink (or the site's url) without autosaving also works

D.

#3 @ryan
15 years ago

  • Milestone changed from 2.5.2 to 2.9

Milestone 2.5.2 deleted

#4 @Denis-de-Bernardy
14 years ago

  • Component changed from Administration to JavaScript
  • Keywords needs-patch added
  • Owner changed from anonymous to azaozz
  • Type changed from defect (bug) to enhancement

#5 @Denis-de-Bernardy
14 years ago

see also: #7733 (with a possible fix)

#6 @Denis-de-Bernardy
14 years ago

  • Component changed from JavaScript to Editor
  • Owner azaozz deleted

#7 @westi
14 years ago

Still see this doesn't see to get fixed until page is published.

#8 @ryan
14 years ago

  • Milestone changed from 2.9 to Future Release

#9 @chriseverson
9 years ago

This is related to #24237 with a possible patch.

#10 @iseulde
8 years ago

#24237 was marked as a duplicate.

#11 @jackreichert
7 years ago

This doesn't seem to be an issue anymore. But if you change the parent perhaps the permalink should be updated to reflect without a save.

If that's the case perhaps this ticket should be closed and a different ticket opened.

#12 @sabernhardt
21 months ago

The Permalink URL still does not update automatically when setting a parent page, either in the Classic Editor or the Block Editor.

Note: See TracTickets for help on using tickets.