diff --git a/includes/Checker/Checks/Security/Sanitized_Input_Check.php b/includes/Checker/Checks/Security/Sanitized_Input_Check.php deleted file mode 100644 index 2fe2caee6..000000000 --- a/includes/Checker/Checks/Security/Sanitized_Input_Check.php +++ /dev/null @@ -1,76 +0,0 @@ - 'php', - 'standard' => 'WordPress', - 'sniffs' => 'WordPress.Security.ValidatedSanitizedInput', - ); - } - - /** - * Gets the description for the check. - * - * Every check must have a short description explaining what the check does. - * - * @since 1.1.0 - * - * @return string Description. - */ - public function get_description(): string { - return __( 'Checks that all input is sanitized before is processed by the plugin.', 'plugin-check' ); - } - - /** - * Gets the documentation URL for the check. - * - * Every check must have a URL with further information about the check. - * - * @since 1.1.0 - * - * @return string The documentation URL. - */ - public function get_documentation_url(): string { - return __( 'https://developer.wordpress.org/apis/security/sanitizing/', 'plugin-check' ); - } -} diff --git a/includes/Checker/Default_Check_Repository.php b/includes/Checker/Default_Check_Repository.php index 515b91ccd..171fb117d 100644 --- a/includes/Checker/Default_Check_Repository.php +++ b/includes/Checker/Default_Check_Repository.php @@ -46,7 +46,6 @@ private function register_default_checks() { 'file_type' => new Checks\Plugin_Repo\File_Type_Check(), 'plugin_header_text_domain' => new Checks\Plugin_Repo\Plugin_Header_Text_Domain_Check(), 'late_escaping' => new Checks\Security\Late_Escaping_Check(), - 'sanitized_input' => new Checks\Security\Sanitized_Input_Check(), 'plugin_updater' => new Checks\Plugin_Repo\Plugin_Updater_Check(), 'plugin_review_phpcs' => new Checks\Plugin_Repo\Plugin_Review_PHPCS_Check(), 'direct_db_queries' => new Checks\Security\Direct_DB_Queries_Check(),