← All changes
|
modules/widgets/wordpress-post-widget/class.jetpack-display-posts-widget.php
+4
-0
13.5.2
→
16.3-a.1
View file →
| @@ -1,8 +1,12 @@ | ||
| 1 | 1 | <?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName |
| 2 | 2 | |
| 3 | 3 | use Automattic\Jetpack\Status; |
| 4 | 4 | |
| 5 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 6 | + exit( 0 ); | |
| 7 | +} | |
| 8 | + | |
| 5 | 9 | /** |
| 6 | 10 | * Display a list of recent posts from a WordPress.com or Jetpack-enabled blog. |
| 7 | 11 | */ |
| 8 | 12 | class Jetpack_Display_Posts_Widget extends Jetpack_Display_Posts_Widget__Base { |