WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 5 months ago

#36694 new defect (bug)

[Pages] [Edit Page] Changing the Permalink URL updates the displayed anchor text, but not the HREF (URL) property

Reported by: setsailmedia Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.5.1
Component: Permalinks Keywords: reporter-feedback needs-testing
Focuses: Cc:
PR Number:

Description

Steps to reproduce:

  1. Create a page or post
  1. Edit said page or post
  1. Change the Permalink URL using "Edit" button next to displayed permalink
  1. Click OK button after updating Permalink URL

Observe.

Expected: the anchor link text is updated and the anchor link HREF property is updated to the new value input in the field

Actual: the anchor link text is updated but the anchor link HREF property remains the same.

Change History (3)

#1 @setsailmedia
3 years ago

The error is in wp-admin/includes/post.php : function get_sample_permalink_html()

#2 follow-up: @Asif2BD
3 years ago

  • Keywords reporter-feedback needs-testing added

Just tested on a raw installed local WordPress 4.5.2. Please let me know if you see this in 4.5.2 still. And could you capture screens and show us whats happening if you still see them. Also is there any js error in console?

#3 in reply to: ↑ 2 @setsailmedia
3 years ago

Replying to Asif2BD:

Just tested on a raw installed local WordPress 4.5.2. Please let me know if you see this in 4.5.2 still. And could you capture screens and show us whats happening if you still see them. Also is there any js error in console?

Thanks for your response. Yes, still occurring in 4.5.2. No JS errors. Please see this video:

https://vimeo.com/167790400/a35707cf7a

Note: See TracTickets for help on using tickets.