Use return_empty_array instead of create_function. see #14579.

git-svn-id: http://svn.automattic.com/wordpress/trunk@15546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-08-28 04:54:27 +00:00
parent 725f073450
commit 34e00ea35a
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');
?>