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.

Built from https://develop.svn.wordpress.org/trunk@41019


git-svn-id: http://core.svn.wordpress.org/trunk@40869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrea Fercia 2017-07-09 11:12:43 +00:00
parent f858551592
commit b8e2496645
2 changed files with 2 additions and 2 deletions

View File

@ -845,7 +845,7 @@ class WP_List_Table {
$pagination_links_class = 'pagination-links'; $pagination_links_class = 'pagination-links';
if ( ! empty( $infinite_scroll ) ) { 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>'; $output .= "\n<span class='$pagination_links_class'>" . join( "\n", $page_links ) . '</span>';

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.9-alpha-41018'; $wp_version = '4.9-alpha-41019';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.