[wp-trac] [WordPress Trac] #54568: WordPress admin overwrite JS history.state

WordPress Trac noreply at wordpress.org
Fri Apr 5 14:22:56 UTC 2024


#54568: WordPress admin overwrite JS history.state
---------------------------+------------------------------
 Reporter:  maximeschoeni  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  General        |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  javascript
---------------------------+------------------------------

Comment (by findkit):

 Hi, this affects us as well. Findkit Search provides
 [[https://wordpress.org/plugins/findkit/|a plugin for WordPress]] which
 can inject our search interface to the wp-admin as well. It uses
 history.state to preserve scroll position when user navigates back to it
 from a search result. Since the history.state is forced to be null on wp-
 admin, this feature is broken and there's really no reasonable
 workarounds.

 --
 Esa-Matti Suuronen

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


More information about the wp-trac mailing list