[wp-trac] [WordPress Trac] #62534: Pagination broken in admin for categories / tags / plugins

WordPress Trac noreply at wordpress.org
Thu Jan 30 10:53:56 UTC 2025


#62534: Pagination broken in admin for categories / tags / plugins
-------------------------------------+-------------------------------------
 Reporter:  ffffelix                 |       Owner:  joedolson
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  6.7.2
Component:  Administration           |     Version:  6.7
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch has-testing-   |     Focuses:  ui, javascript,
  info dev-feedback                  |  administration
-------------------------------------+-------------------------------------
Changes (by TobiasBg):

 * keywords:  has-patch has-testing-info dev-reviewed commit => has-patch
     has-testing-info dev-feedback


Comment:

 The added line
 {{{#!php
 var initialPagedValue = document.querySelector( '#current-page-selector'
 ).value;
 }}}
 in /wp-admin/js/common.js now causes a JS script error on many screens
 (e.g. go to https://example.com/wp-admin/export.php), as there's no such
 DOM element on most screens.

 This should get a check for existence of that DOM element.

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


More information about the wp-trac mailing list