[wp-trac] [WordPress Trac] #53134: Feature Request: Keep current URL domain for View Post on View Post link

WordPress Trac noreply at wordpress.org
Sun May 2 19:53:25 UTC 2021


#53134: Feature Request: Keep current URL domain for View Post on View Post link
----------------------------+-----------------------------
 Reporter:  chamois_blanc   |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  General         |    Version:  5.7.1
 Severity:  minor           |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 Hello,

 I am using BrowserSync to proxy my remote site to https://localhost:3000
 on my local machine through ssh forwarding. I have noticed that the
 localhost domain name is reverted to my site real domain on the backend
 for the 'View Post' link, when updating a post using Gutenberg. This
 behavior does not happen with the classic editor.

 It would be great if the 'View Post' link could retain the localhost
 domain on post update.

 Steps to reproduce:
 1) Run BrowserSync or equivalent as proxy
 2) Open post for edit on backend on localhost domain
 3) Check 'View Post' link, it should have localhost as domain
 4) Click 'Update' or 'Publish'
 5) Check 'View Post' link again and it will now have the site domain
 instead

 Classifying as bug as the behavior deviates from what the classic editor
 does.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53134>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list