WordPress.org

Make WordPress Core

Changeset 41019


Ignore:
Timestamp:
07/09/2017 11:11:03 AM (3 years ago)
Author:
afercia
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-list-table.php

    r40960 r41019  
    846846        $pagination_links_class = 'pagination-links';
    847847        if ( ! empty( $infinite_scroll ) ) {
    848             $pagination_links_class = ' hide-if-js';
     848            $pagination_links_class .= ' hide-if-js';
    849849        }
    850850        $output .= "\n<span class='$pagination_links_class'>" . join( "\n", $page_links ) . '</span>';
Note: See TracChangeset for help on using the changeset viewer.