mirror of
git://develop.git.wordpress.org/
synced 2025-01-29 18:48:18 +01:00
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:
parent
9b99bf5f5f
commit
b4369ec5b6
@ -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');
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user