← All changes
|
extensions/plugins/ai-assistant-plugin/reader-chat/class-jetpack-reader-chat.php
+4
-0
16.3-a.5
→
16.3
View file →
| @@ -23,8 +23,12 @@ | ||
| 23 | 23 | use Automattic\Jetpack\Status; |
| 24 | 24 | use Automattic\Jetpack\Status\Host; |
| 25 | 25 | use Jetpack_Options; |
| 26 | 26 | |
| 27 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 28 | + exit( 0 ); | |
| 29 | +} | |
| 30 | + | |
| 27 | 31 | const READER_CHAT_JS_URL = 'https://widgets.wp.com/agents-manager/reader-chat.min.js'; |
| 28 | 32 | const READER_CHAT_ASSET_TRANSIENT = 'jetpack_reader_chat_asset'; |
| 29 | 33 | const READER_CHAT_ASSET_FAILURE_CACHE_TTL = 5 * MINUTE_IN_SECONDS; |
| 30 | 34 | |