PluginProbe
Extendify / 3.2.2
Extendify v3.2.2
3.2.2 3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 All 128 releases
← All changes | app/HelpCenter/Admin.php +5 -0 3.1.3 → 3.2.2 View file →
@@ -9,8 +9,9 @@
9 9 defined('ABSPATH') || die('No direct access.');
10 10
11 11 use Extendify\Config;
12 12 use Extendify\HelpCenter\Controllers\RouterController;
13 +use Extendify\Mcp\Profile as McpProfile;
13 14 use Extendify\HelpCenter\Controllers\SupportArticlesController;
14 15 use Extendify\HelpCenter\Controllers\TourController;
15 16 use Extendify\PartnerData;
16 17
@@ -36,8 +37,12 @@
36 37 * @return void
37 38 */
38 39 public function loadGlobalScripts()
39 40 {
41 + if (McpProfile::isOwnScreen()) {
42 + return;
43 + }
44 +
40 45 $version = Config::$environment === 'PRODUCTION' ? Config::$version : uniqid();
41 46 $scriptAssetPath = EXTENDIFY_PATH . 'public/build/' . Config::$assetManifest['extendify-help-center.php'];
42 47 $fallback = [
43 48 'dependencies' => [],