Completed
Pull Request — master (#131)
by
unknown
01:57
created
includes/auto-load-next-post-core-functions.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -42,11 +42,9 @@
 block discarded – undo
42 42
 
43 43
 	if ( file_exists( $child_path . 'content-partial.php' ) ) {
44 44
 		include( $child_path . 'content-partial.php' );
45
-	}
46
-	else if( file_exists( $template_path . 'content-partial.php') ) {
45
+	} else if( file_exists( $template_path . 'content-partial.php') ) {
47 46
 		include( $template_path . 'content-partial.php' );
48
-	}
49
-	else if( file_exists( $default_path . '/template/content-partial.php' ) ) {
47
+	} else if( file_exists( $default_path . '/template/content-partial.php' ) ) {
50 48
 		include( $default_path . '/template/content-partial.php' );
51 49
 	}
52 50
 
Please login to merge, or discard this patch.
template/content-partial.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,9 +78,11 @@
 block discarded – undo
78 78
 		// Load content after the loop.
79 79
 		do_action( 'alnp_load_after_loop' );
80 80
 
81
-else :
81
+else {
82
+	:
82 83
 
83 84
 	// Load content if there are no more posts.
84 85
 	do_action( 'alnp_no_more_posts' );
86
+}
85 87
 
86 88
 endif; // END if have_posts()
Please login to merge, or discard this patch.