Completed
Push — master ( d6880f...7ccded )
by frank
02:36
created
classlesses/autoptimizeUpdateCode.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,10 @@
 block discarded – undo
3 3
 * below code handles updates and is only included by autoptimize.php if/ when needed
4 4
 */
5 5
 
6
-if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
6
+if ( ! defined( 'ABSPATH' ) ) {
7
+    exit;
8
+}
9
+// Exit if accessed directly
7 10
 
8 11
 $majorUp = false;        
9 12
 $autoptimize_major_version=substr($autoptimize_db_version,0,3);
Please login to merge, or discard this patch.
classlesses/autoptimizePartners.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,10 @@
 block discarded – undo
3 3
 Classlessly add a "more tools" tab to promote (future) AO addons and/ or affiliate services
4 4
 */
5 5
 
6
-if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
6
+if ( ! defined( 'ABSPATH' ) ) {
7
+    exit;
8
+}
9
+// Exit if accessed directly
7 10
 
8 11
 add_action('admin_init', 'ao_partner_tabs_preinit');
9 12
 function ao_partner_tabs_preinit() {
Please login to merge, or discard this patch.
classlesses/autoptimizeSpeedupper.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,10 @@
 block discarded – undo
4 4
 * new in Autoptimize 2.2
5 5
 */
6 6
 
7
-if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
7
+if ( ! defined( 'ABSPATH' ) ) {
8
+    exit;
9
+}
10
+// Exit if accessed directly
8 11
 
9 12
 function ao_js_snippetcache($jsin,$jsfilename) {
10 13
     $md5hash = "snippet_".md5($jsin);
Please login to merge, or discard this patch.
classlesses/autoptimizePageCacheFlush.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,10 @@
 block discarded – undo
2 2
 // flush as many page cache plugin's caches as possible
3 3
 // hyper cache and gator cache hook into AO, so we don't need to :-)
4 4
 
5
-if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
5
+if ( ! defined( 'ABSPATH' ) ) {
6
+    exit;
7
+}
8
+// Exit if accessed directly
6 9
 
7 10
 function autoptimize_flush_pagecache() {
8 11
     if(function_exists('wp_cache_clear_cache')) {
Please login to merge, or discard this patch.