Make WordPress Core

Opened 19 years ago

Last modified 5 years ago

#6619 new enhancement

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

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

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
19 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
18 years ago

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

D.

#3 @ryan
18 years ago

  • Milestone 2.5.2 → 2.9

Milestone 2.5.2 deleted

#4 @Denis-de-Bernardy
17 years ago

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

#5 @Denis-de-Bernardy
17 years ago

see also: #7733 (with a possible fix)

#6 @Denis-de-Bernardy
17 years ago

  • Component JavaScript → Editor
  • Owner azaozz removed

#7 @westi
17 years ago

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

#8 @ryan
17 years ago

  • Milestone 2.9 → Future Release

#9 @chriseverson
12 years ago

This is related to #24237 with a possible patch.

#10 @iseulde
12 years ago

#24237 was marked as a duplicate.

#11 @jackreichert
10 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
5 years 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.