Make WordPress Core

Ticket #27743: 27743.diff

File 27743.diff, 527 bytes (added by hiwhatsup, 9 years ago)

I added logic to check variable $which for both "top" and "bottom" to display "Change role to..." dropdown in user table

  • src/wp-admin/includes/class-wp-users-list-table.php

     
    205205         *                      or below the table ("bottom").
    206206         */
    207207        protected function extra_tablenav( $which ) {
    208                 if ( 'top' != $which )
     208                if ( 'top' != $which && 'bottom' != $which )
    209209                        return;
    210210        ?>
    211211        <div class="alignleft actions">