@@ -12,11 +12,11 @@ discard block |
||
12 | 12 | */ |
13 | 13 | |
14 | 14 | // Exit if accessed directly. |
15 | -if ( ! defined( 'ABSPATH' ) ) { |
|
15 | +if ( ! defined('ABSPATH')) { |
|
16 | 16 | exit; |
17 | 17 | } |
18 | 18 | |
19 | -if ( ! class_exists( 'ALNP_Privacy' ) ) { |
|
19 | +if ( ! class_exists('ALNP_Privacy')) { |
|
20 | 20 | |
21 | 21 | class ALNP_Privacy { |
22 | 22 | |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | * @access public |
27 | 27 | */ |
28 | 28 | public function __construct() { |
29 | - add_action( 'admin_init', array( $this, 'add_privacy_policy_guide_content' ) ); |
|
29 | + add_action('admin_init', array($this, 'add_privacy_policy_guide_content')); |
|
30 | 30 | } // END __construct() |
31 | 31 | |
32 | 32 | /** |
@@ -36,8 +36,8 @@ discard block |
||
36 | 36 | * @static |
37 | 37 | */ |
38 | 38 | public static function add_privacy_policy_guide_content() { |
39 | - if ( function_exists( 'wp_add_privacy_policy_content' ) ) { |
|
40 | - wp_add_privacy_policy_content( esc_html__( 'Auto Load Next Post', 'auto-load-next-post' ), self::get_privacy_policy_guide_message() ); |
|
39 | + if (function_exists('wp_add_privacy_policy_content')) { |
|
40 | + wp_add_privacy_policy_content(esc_html__('Auto Load Next Post', 'auto-load-next-post'), self::get_privacy_policy_guide_message()); |
|
41 | 41 | } |
42 | 42 | } // END add_privacy_policy_guide_content() |
43 | 43 | |
@@ -51,9 +51,9 @@ discard block |
||
51 | 51 | protected static function get_privacy_policy_guide_message() { |
52 | 52 | $content = ' |
53 | 53 | <div class="wp-suggested-text">' . |
54 | - '<p class="privacy-policy-tutorial">' . |
|
55 | - sprintf( __( '%s does not collect, store or share any personal data.', 'auto-load-next-post' ), esc_html__( 'Auto Load Next Post', 'auto-load-next-post' ) ) . |
|
56 | - '</p>' . |
|
54 | + '<p class="privacy-policy-tutorial">'. |
|
55 | + sprintf(__('%s does not collect, store or share any personal data.', 'auto-load-next-post'), esc_html__('Auto Load Next Post', 'auto-load-next-post')). |
|
56 | + '</p>'. |
|
57 | 57 | '</div>'; |
58 | 58 | |
59 | 59 | return $content; |