Make WordPress Core

Ticket #20913: ms-themes-addcolumn.patch

File ms-themes-addcolumn.patch, 997 bytes (added by axelseaa, 13 years ago)
  • wp-admin/includes/class-wp-ms-themes-list-table.php

     
    175175        function get_columns() {
    176176                global $status;
    177177
    178                 return array(
    179                         'cb'          => '<input type="checkbox" />',
    180                         'name'        => __( 'Theme' ),
    181                         'description' => __( 'Description' ),
    182                 );
    183         }
     178                $themes_columns = array(
     179                        'cb'          => '<input type="checkbox" />',
     180                        'name'        => __( 'Theme' ),
     181                        'description' => __( 'Description' ),
     182                );
    184183
     184                $themes_columns = apply_filters( 'manage_themes_custom_column_header', $themes_columns );
     185
     186                return $themes_columns;
     187        }
     188
    185189        function get_sortable_columns() {
    186190                return array(
    187191                        'name'         => 'name',