From 8af36c5d9245fe603f82dfb8dd1a0667e029d311 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Thu, 30 Nov 2023 18:00:18 +0100 Subject: [PATCH] CS/QA: use import `use` statements --- admin-functions.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/admin-functions.php b/admin-functions.php index 587783789..cb8695070 100644 --- a/admin-functions.php +++ b/admin-functions.php @@ -11,6 +11,7 @@ } use Yoast\WP\Duplicate_Post\UI\Newsletter; +use Yoast\WP\Duplicate_Post\Utils; require_once DUPLICATE_POST_PATH . 'options.php'; @@ -406,7 +407,7 @@ function duplicate_post_addslashes_deep( $value ) { * @return string|mixed */ function duplicate_post_addslashes_to_strings_only( $value ) { - return Yoast\WP\Duplicate_Post\Utils::addslashes_to_strings_only( $value ); + return Utils::addslashes_to_strings_only( $value ); } /**