| @@ -1,8 +1,8 @@ | ||
| 1 | -<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName | |
| 1 | +<?php | |
| 2 | 2 | /** |
| 3 | 3 | * Module Name: Secure Sign On |
| 4 | - * Module Description: Allow users to log in to this site using WordPress.com accounts | |
| 4 | + * Module Description: Let users log in with their WordPress.com account for quick, secure access. | |
| 5 | 5 | * Sort Order: 30 |
| 6 | 6 | * Recommendation Order: 5 |
| 7 | 7 | * First Introduced: 2.6 |
| 8 | 8 | * Requires Connection: Yes |
| @@ -16,8 +16,12 @@ | ||
| 16 | 16 | */ |
| 17 | 17 | |
| 18 | 18 | use Automattic\Jetpack\Connection\SSO; |
| 19 | 19 | |
| 20 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 21 | + exit( 0 ); | |
| 22 | +} | |
| 23 | + | |
| 20 | 24 | SSO::get_instance(); |
| 21 | 25 | |
| 22 | 26 | add_action( |
| 23 | 27 | 'jetpack_modules_loaded', |
| @@ -24,11 +28,4 @@ | ||
| 24 | 28 | function () { |
| 25 | 29 | Jetpack::enable_module_configurable( __FILE__ ); |
| 26 | 30 | } |
| 27 | 31 | ); |
| 28 | - | |
| 29 | -/** | |
| 30 | - * Legacy, deprecated class. | |
| 31 | - * | |
| 32 | - * @deprecated 13.5 | |
| 33 | - */ | |
| 34 | -class Jetpack_SSO extends SSO {} | |