Use return_empty_array instead of create_function. see #14579.

git-svn-id: https://develop.svn.wordpress.org/trunk@15546 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-08-28 04:54:27 +00:00
parent 9b99bf5f5f
commit b4369ec5b6
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ function post_comment_meta_box($post) {
wp_nonce_field( 'get-comments', 'add_comment_nonce', false );
add_filter('manage_edit-comments_columns', 'post_comment_meta_box_thead', 8, 1);
add_filter('manage_edit-comments_sortable_columns', create_function('', 'return array();'), 8);
add_filter('manage_edit-comments_sortable_columns', '__return_empty_array', 8);
$wp_list_table = get_list_table('comments');
?>