Completed
Branch master (8d1f99)
by
unknown
01:57
created
template/theme-support/twentynineteen/content-alnp.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,9 +31,11 @@
 block discarded – undo
31 31
 	// Load content after the loop.
32 32
 	do_action( 'alnp_load_after_loop' );
33 33
 
34
-else :
34
+else {
35
+	:
35 36
 
36 37
 	// Load content if there are no more posts.
37 38
 	do_action( 'alnp_no_more_posts' );
39
+}
38 40
 
39 41
 endif; // END if have_posts()
Please login to merge, or discard this patch.
vendor/connekt-plugin-installer/class-connekt-plugin-installer.php 1 patch
Braces   +15 added lines, -9 removed lines patch added patch discarded remove patch
@@ -9,7 +9,9 @@  discard block
 block discarded – undo
9 9
  */
10 10
 
11 11
 
12
-if (!defined('ABSPATH')) exit;
12
+if (!defined('ABSPATH')) {
13
+	exit;
14
+}
13 15
 
14 16
 
15 17
 
@@ -160,15 +162,17 @@  discard block
 block discarded – undo
160 162
       */
161 163
 		public function cnkt_plugin_installer(){
162 164
 
163
-			if ( ! current_user_can('install_plugins') )
164
-				wp_die( __( 'Sorry, you are not allowed to install plugins on this site.', 'framework' ) );
165
+			if ( ! current_user_can('install_plugins') ) {
166
+							wp_die( __( 'Sorry, you are not allowed to install plugins on this site.', 'framework' ) );
167
+			}
165 168
 
166 169
 			$nonce = $_POST["nonce"];
167 170
 			$plugin = $_POST["plugin"];
168 171
 
169 172
 			// Check our nonce, if they don't match then bounce!
170
-			if (! wp_verify_nonce( $nonce, 'cnkt_installer_nonce' ))
171
-				wp_die( __( 'Error - unable to verify nonce, please try again.', 'framework') );
173
+			if (! wp_verify_nonce( $nonce, 'cnkt_installer_nonce' )) {
174
+							wp_die( __( 'Error - unable to verify nonce, please try again.', 'framework') );
175
+			}
172 176
 
173 177
 
174 178
          // Include required libs for installation
@@ -231,15 +235,17 @@  discard block
 block discarded – undo
231 235
       * @since 1.0
232 236
       */
233 237
 		public function cnkt_plugin_activation(){
234
-			if ( ! current_user_can('install_plugins') )
235
-				wp_die( __( 'Sorry, you are not allowed to activate plugins on this site.', 'framework' ) );
238
+			if ( ! current_user_can('install_plugins') ) {
239
+							wp_die( __( 'Sorry, you are not allowed to activate plugins on this site.', 'framework' ) );
240
+			}
236 241
 
237 242
 			$nonce = $_POST["nonce"];
238 243
 			$plugin = $_POST["plugin"];
239 244
 
240 245
 			// Check our nonce, if they don't match then bounce!
241
-			if (! wp_verify_nonce( $nonce, 'cnkt_installer_nonce' ))
242
-				die( __( 'Error - unable to verify nonce, please try again.', 'framework' ) );
246
+			if (! wp_verify_nonce( $nonce, 'cnkt_installer_nonce' )) {
247
+							die( __( 'Error - unable to verify nonce, please try again.', 'framework' ) );
248
+			}
243 249
 
244 250
 
245 251
          // Include required libs for activation
Please login to merge, or discard this patch.