Administration: in `WP_List_Table->pagination()`, properly concatenate CSS classes for the pagination links when `infinite_scroll` is set to true.
Props SGr33n. See #19815. Fixes #40003. git-svn-id: https://develop.svn.wordpress.org/trunk@41019 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
33755709e4
commit
caf4c06f2a
|
@ -845,7 +845,7 @@ class WP_List_Table {
|
|||
|
||||
$pagination_links_class = 'pagination-links';
|
||||
if ( ! empty( $infinite_scroll ) ) {
|
||||
$pagination_links_class = ' hide-if-js';
|
||||
$pagination_links_class .= ' hide-if-js';
|
||||
}
|
||||
$output .= "\n<span class='$pagination_links_class'>" . join( "\n", $page_links ) . '</span>';
|
||||
|
||||
|
|
Loading…
Reference in New Issue