| @@ -5,23 +5,11 @@ | ||
| 5 | 5 | * |
| 6 | 6 | * @package automattic/jetpack |
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | -/** | |
| 10 | - * Add Jetpack theme supports for Twenty Fifteen. | |
| 11 | - */ | |
| 12 | -function twentyfifteen_jetpack_setup() { | |
| 13 | - /** | |
| 14 | - * Add theme support for Responsive Videos. | |
| 15 | - */ | |
| 16 | - add_theme_support( 'jetpack-responsive-videos' ); | |
| 17 | - | |
| 18 | - /** | |
| 19 | - * Add theme support for geo-location. | |
| 20 | - */ | |
| 21 | - add_theme_support( 'jetpack-geo-location' ); | |
| 9 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 10 | + exit( 0 ); | |
| 22 | 11 | } |
| 23 | -add_action( 'after_setup_theme', 'twentyfifteen_jetpack_setup' ); | |
| 24 | 12 | |
| 25 | 13 | /** |
| 26 | 14 | * Enqueue Jetpack compat styles for Twenty Fifteen. |
| 27 | 15 | */ |