WordPress.org

Make WordPress Core

Changeset 15764


Ignore:
Timestamp:
10/09/2010 09:39:16 AM (8 years ago)
Author:
scribu
Message:

Add WP_List_Table columns before all others. Fixes #15075

Location:
trunk/wp-admin/includes
Files:
2 edited

Legend:

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

    r15756 r15764  
    8282            $this->_screen = convert_to_screen( $this->_screen );
    8383
    84         add_filter( 'manage_' . $this->_screen->id . '_columns', array( $this, 'get_columns' ) );
     84        add_filter( 'manage_' . $this->_screen->id . '_columns', array( $this, 'get_columns' ), 0 );
    8585
    8686        if ( !$args['plural'] )
  • trunk/wp-admin/includes/template.php

    r15746 r15764  
    235235
    236236    if ( !isset( $_wp_column_headers[ $screen->id ] ) ) {
    237         $_wp_column_headers[ $screen->id ] = apply_filters( 'manage_' . $screen->id . '_columns', $_wp_column_headers );
     237        $_wp_column_headers[ $screen->id ] = apply_filters( 'manage_' . $screen->id . '_columns', array() );
    238238    }
    239239
Note: See TracChangeset for help on using the changeset viewer.