[wp-trac] [WordPress Trac] #53155: anchor link after copying adds admin url

WordPress Trac noreply at wordpress.org
Thu Sep 23 18:57:17 UTC 2021


#53155: anchor link after copying adds admin url
-------------------------------+------------------------------
 Reporter:  jbsz0544           |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Editor             |     Version:  5.7
 Severity:  normal             |  Resolution:
 Keywords:  needs-screenshots  |     Focuses:
-------------------------------+------------------------------

Comment (by matthiaspabst):

 I can reproduce this issue in the block editor in WP 5.8.1. After copying
 an internal link from one position to another it always changes from


 {{{
 #headline-1
 }}}


 to


 {{{
 http://domain.test/wp-admin/post.php?post=87512&action=edit#headline-1
 }}}

 The editor always adds the complete edit post URL to the anchor.

 [[Image(https://cldup.com/z1xAYPDHC5.png)]]

 [[Image(https://cldup.com/MBGfWHleb4.png)]]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53155#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list