| @@ -6,8 +6,12 @@ | ||
| 6 | 6 | * @since 4.8.0 |
| 7 | 7 | * @author Automattic |
| 8 | 8 | */ |
| 9 | 9 | |
| 10 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 11 | + exit( 0 ); | |
| 12 | +} | |
| 13 | + | |
| 10 | 14 | /* Include standard constants and librarian. */ |
| 11 | 15 | require_once __DIR__ . '/sitemap-constants.php'; |
| 12 | 16 | require_once __DIR__ . '/sitemap-librarian.php'; |
| 13 | 17 | |
| @@ -139,6 +143,5 @@ | ||
| 139 | 143 | public static function delete() { |
| 140 | 144 | delete_transient( 'jetpack-sitemap-state-lock' ); |
| 141 | 145 | delete_option( 'jetpack-sitemap-state' ); |
| 142 | 146 | } |
| 143 | - | |
| 144 | 147 | } |