Completed
Branch master (8dea9f)
by
unknown
02:01
created
includes/admin/settings/class-alnp-settings-events.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -10,11 +10,11 @@  discard block
 block discarded – undo
10 10
  */
11 11
 
12 12
 // Exit if accessed directly.
13
-if ( ! defined( 'ABSPATH' ) ) {
13
+if ( ! defined('ABSPATH')) {
14 14
 	exit;
15 15
 }
16 16
 
17
-if ( ! class_exists( 'Auto_Load_Next_Post_Settings_Events_Tab' ) ) {
17
+if ( ! class_exists('Auto_Load_Next_Post_Settings_Events_Tab')) {
18 18
 
19 19
 	class Auto_Load_Next_Post_Settings_Events_Tab extends Auto_Load_Next_Post_Settings_Page {
20 20
 
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 		 */
28 28
 		public function __construct() {
29 29
 			$this->id    = 'events';
30
-			$this->label = esc_html__( 'Events', 'auto-load-next-post' );
30
+			$this->label = esc_html__('Events', 'auto-load-next-post');
31 31
 
32 32
 			parent::__construct();
33 33
 		} // END __construct()
@@ -46,13 +46,13 @@  discard block
 block discarded – undo
46 46
 					array(
47 47
 						'title' => $this->label,
48 48
 						'type'  => 'title',
49
-						'desc'  => sprintf( esc_html__( 'User defined events, below you can choose external JavaScript events to be triggered alongside %s native events', 'auto-load-next-post' ), esc_html__( 'Auto Load Next Post', 'auto-load-next-post' ) ),
49
+						'desc'  => sprintf(esc_html__('User defined events, below you can choose external JavaScript events to be triggered alongside %s native events', 'auto-load-next-post'), esc_html__('Auto Load Next Post', 'auto-load-next-post')),
50 50
 						'id'    => 'events_options'
51 51
 					),
52 52
 
53 53
 					array(
54
-						'title'       => esc_html__( 'Post loaded', 'auto-load-next-post' ),
55
-						'desc'        => __( 'After the new post has loaded, comma separated events list: <code>event1, event2, ...</code>', 'auto-load-next-post' ),
54
+						'title'       => esc_html__('Post loaded', 'auto-load-next-post'),
55
+						'desc'        => __('After the new post has loaded, comma separated events list: <code>event1, event2, ...</code>', 'auto-load-next-post'),
56 56
 						'id'          => 'auto_load_next_post_on_load_event',
57 57
 						'placeholder' => 'event1,event2, ...',
58 58
 						'type'        => 'textarea',
@@ -61,8 +61,8 @@  discard block
 block discarded – undo
61 61
 					),
62 62
 
63 63
 					array(
64
-						'title'       => esc_html__( 'Entering a post', 'auto-load-next-post' ),
65
-						'desc'        => esc_html__( 'Entering a post, comma separated events list: <code>event1,event2, ...</code>', 'auto-load-next-post' ),
64
+						'title'       => esc_html__('Entering a post', 'auto-load-next-post'),
65
+						'desc'        => esc_html__('Entering a post, comma separated events list: <code>event1,event2, ...</code>', 'auto-load-next-post'),
66 66
 						'id'          => 'auto_load_next_post_on_entering_event',
67 67
 						'placeholder' => 'event1,event2, ...',
68 68
 						'type'        => 'textarea',
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 		public function output() {
87 87
 			$settings = $this->get_settings();
88 88
 
89
-			Auto_Load_Next_Post_Admin_Settings::output_fields( $settings );
89
+			Auto_Load_Next_Post_Admin_Settings::output_fields($settings);
90 90
 		} // END output()
91 91
 
92 92
 		/**
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
 		public function save() {
100 100
 			$settings = $this->get_settings();
101 101
 
102
-			Auto_Load_Next_Post_Admin_Settings::save_fields( $settings );
102
+			Auto_Load_Next_Post_Admin_Settings::save_fields($settings);
103 103
 		} // END save()
104 104
 
105 105
 	} // END class
Please login to merge, or discard this patch.