← All changes
|
jetpack_vendor/automattic/jetpack-masterbar/src/profile-edit/bootstrap.php
+4
-1
13.6.2
→
16.3-beta
View file →
| @@ -8,9 +8,12 @@ | ||
| 8 | 8 | namespace Automattic\Jetpack\Masterbar; |
| 9 | 9 | |
| 10 | 10 | use Automattic\Jetpack\Connection\Manager as Connection_Manager; |
| 11 | 11 | |
| 12 | -require_once __DIR__ . '/profile-edit.php'; | |
| 12 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 13 | + exit( 0 ); | |
| 14 | +} | |
| 15 | + | |
| 13 | 16 | require_once __DIR__ . '/class-wpcom-user-profile-fields-revert.php'; |
| 14 | 17 | |
| 15 | 18 | /** |
| 16 | 19 | * Prevent WP.com user profile fields (first_name, last_name, display_name, description) to be updated. |