PluginProbe
Parse.ly / 3.14.1
Parse.ly v3.14.1
3.24.1 3.24.0 3.23.7 3.23.6 3.23.5 3.23.4 3.23.3 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.17.0 3.18.0 3.18.1 3.19.0 3.19.1 3.19.2 3.19.3 3.2.0 3.2.1 3.20.0 3.20.1 3.20.2 3.20.3 All 105 releases
← All changes | src/Telemetry/class-telemetry-system.php +2 -2 3.18.03.14.1 View file →
@@ -9,10 +9,10 @@
9 9 declare(strict_types=1);
10 10
11 11 namespace Parsely\Telemetry;
12 12
13 -use Parsely\Utils\Utils;
14 13 use WP_Error;
14 +use function Parsely\Utils\get_asset_info;
15 15 use const Parsely\PARSELY_FILE;
16 16 use const Parsely\PARSELY_VERSION;
17 17
18 18 /**
@@ -102,9 +102,9 @@
102 102 // Enqueue the JS file.
103 103 add_action(
104 104 'admin_enqueue_scripts',
105 105 function (): void {
106 - $asset_php = Utils::get_asset_info( 'build/telemetry.asset.php' );
106 + $asset_php = get_asset_info( 'build/telemetry.asset.php' );
107 107 $built_assets_url = plugin_dir_url( PARSELY_FILE ) . 'build/';
108 108
109 109 // The Telemetry script is always enqueued in the admin.
110 110 // If the user has disabled wp-admin telemetry, the global object will not be available.