WordPress.org

Make WordPress Core

Opened 6 years ago

Last modified 4 years ago

#6619 new enhancement

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

Reported by: 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 (8)

comment:1 Viper007Bond6 years ago

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

comment:2 Denis-de-Bernardy6 years ago

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

D.

comment:3 ryan6 years ago

  • Milestone changed from 2.5.2 to 2.9

Milestone 2.5.2 deleted

comment:4 Denis-de-Bernardy5 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

comment:5 Denis-de-Bernardy5 years ago

see also: #7733 (with a possible fix)

comment:6 Denis-de-Bernardy5 years ago

  • Component changed from JavaScript to Editor
  • Owner azaozz deleted

comment:7 westi4 years ago

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

comment:8 ryan4 years ago

  • Milestone changed from 2.9 to Future Release
Note: See TracTickets for help on using tickets.