Skip to content

Commit

Permalink
Merge pull request #351 from Yoast/JRF/qa-use-import-use
Browse files Browse the repository at this point in the history
CS/QA: use import `use` statements
  • Loading branch information
jrfnl authored Dec 16, 2023
2 parents ac970ff + 8af36c5 commit 5c054ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion admin-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
}

use Yoast\WP\Duplicate_Post\UI\Newsletter;
use Yoast\WP\Duplicate_Post\Utils;

require_once DUPLICATE_POST_PATH . 'options.php';

Expand Down Expand Up @@ -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 );
}

/**
Expand Down

0 comments on commit 5c054ca

Please sign in to comment.