Make WordPress Core


Ignore:
Timestamp:
09/22/2021 08:59:15 PM (21 months ago)
Author:
johnbillion
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit.php

    r51475 r51850  
    155155            $sendback = add_query_arg( 'untrashed', $untrashed, $sendback );
    156156
    157             remove_filter( 'wp_untrash_post_status', 'wp_untrash_post_set_previous_status', 10, 3 );
     157            remove_filter( 'wp_untrash_post_status', 'wp_untrash_post_set_previous_status', 10 );
    158158
    159159            break;
Note: See TracChangeset for help on using the changeset viewer.