WordPress.org

Make WordPress Core

Changeset 15546


Ignore:
Timestamp:
08/28/10 04:54:27 (7 years ago)
Author:
nacin
Message:

Use return_empty_array instead of create_function. see #14579.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/meta-boxes.php

    r15542 r15546  
    461461    wp_nonce_field( 'get-comments', 'add_comment_nonce', false ); 
    462462    add_filter('manage_edit-comments_columns', 'post_comment_meta_box_thead', 8, 1); 
    463     add_filter('manage_edit-comments_sortable_columns', create_function('', 'return array();'), 8); 
     463    add_filter('manage_edit-comments_sortable_columns', '__return_empty_array', 8); 
    464464 
    465465    $wp_list_table = get_list_table('comments'); 
Note: See TracChangeset for help on using the changeset viewer.