Make WordPress Core

Changeset 55696


Ignore:
Timestamp:
04/28/2023 10:03:12 AM (3 years ago)
Author:
SergeyBiryukov
Message:

REST API: Remove unused variable from the permissions check for deleting a revision.

WP_REST_Revisions_Controller::delete_item_permissions_check() no longer uses the value of the $parent_post_type variable anywhere.

Follow-up to [45812], [47547], [47850].

Props Soean, mukesh27.
Fixes #58218.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.