mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
General: Fix code quality issues which were identified by static analysis.
This fixes minor issues that could cause PHP notices under the right conditions, and fixes some general incorrectness. Props jrf, hellofromTonya for review See #52217 git-svn-id: https://develop.svn.wordpress.org/trunk@51850 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -154,7 +154,7 @@ if ( $doaction ) {
|
||||
}
|
||||
$sendback = add_query_arg( 'untrashed', $untrashed, $sendback );
|
||||
|
||||
remove_filter( 'wp_untrash_post_status', 'wp_untrash_post_set_previous_status', 10, 3 );
|
||||
remove_filter( 'wp_untrash_post_status', 'wp_untrash_post_set_previous_status', 10 );
|
||||
|
||||
break;
|
||||
case 'delete':
|
||||
|
||||
Reference in New Issue
Block a user