PluginProbe
EasyFonts – Host Google Fonts Locally, Fast & Auto-Optimize, GDPR Compliant / 2.0.4
EasyFonts – Host Google Fonts Locally, Fast & Auto-Optimize, GDPR Compliant v2.0.4
2.0.4 2.0.3 2.0.2 2.0.1 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.2 1.3 2.0.0
← All changes | src/Frontend/Beacon.php +2 -0 2.0.2 → 2.0.4 View file →
@@ -50,8 +50,9 @@
50 50
51 51 $cfg = array(
52 52 'endpoint' => esc_url_raw( rest_url( 'easyfonts/v1/async-fonts' ) ),
53 53 'nonce' => wp_create_nonce( 'wp_rest' ),
54 + 'token' => Settings::beacon_token(),
54 55 );
55 56
56 57 $src = EASYFONTS_DIR . 'assets/frontend/async-blocker.min.js';
57 58
@@ -107,8 +108,9 @@
107 108 'EasyFontsBeacon',
108 109 array(
109 110 'endpoint' => esc_url_raw( rest_url( 'easyfonts/v1/beacon' ) ),
110 111 'nonce' => wp_create_nonce( 'wp_rest' ),
112 + 'token' => Settings::beacon_token(),
111 113 'route' => '' === $route ? '/' : $route,
112 114 'device' => $device,
113 115 )
114 116 );