From b537c3fdb84431965a26f0d295b48ab2de0fd1ca Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Mon, 29 Jun 2020 16:34:01 -0400 Subject: [PATCH] Add removal notice to plugins & block directory endpoints --- lib/class-wp-rest-block-directory-controller.php | 2 ++ lib/class-wp-rest-plugins-controller.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lib/class-wp-rest-block-directory-controller.php b/lib/class-wp-rest-block-directory-controller.php index 050ca7e190e754..1a04f0d5deccb1 100644 --- a/lib/class-wp-rest-block-directory-controller.php +++ b/lib/class-wp-rest-block-directory-controller.php @@ -10,6 +10,8 @@ /** * Controller which provides REST endpoint for the blocks. * + * This class can be removed when plugin support requires WordPress 5.5.0+. + * * @since 5.5.0 * * @see WP_REST_Controller diff --git a/lib/class-wp-rest-plugins-controller.php b/lib/class-wp-rest-plugins-controller.php index 98c7cfa27174cb..49a55192dad204 100644 --- a/lib/class-wp-rest-plugins-controller.php +++ b/lib/class-wp-rest-plugins-controller.php @@ -10,6 +10,8 @@ /** * Core class to access plugins via the REST API. * + * This class can be removed when plugin support requires WordPress 5.5.0+. + * * @since 5.5.0 * * @see WP_REST_Controller