Skip to content

Commit

Permalink
CS/QA: use import use statements
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Dec 16, 2023
1 parent 6c54b9b commit 8af36c5
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 8af36c5

Please sign in to comment.