Completed
Branch master (048980)
by
unknown
01:54
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.
auto-load-next-post.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
 		 * @since  1.0.0
112 112
 		 * @access public
113 113
 		 * @param  mixed $class
114
-		 * @return void
114
+		 * @return boolean|null
115 115
 		 */
116 116
 		public function autoload( $class ) {
117 117
 			$path  = null;
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
 		 * @param  string  $name      The ID to register with WordPress.
257 257
 		 * @param  string  $file_path The path to the actual file.
258 258
 		 * @param  bool    $is_script Optional, argument for if the incoming file_path is a JavaScript source file.
259
-		 * @param  array   $support   Optional, for requiring other javascripts for the source file you are calling.
259
+		 * @param  string[]   $support   Optional, for requiring other javascripts for the source file you are calling.
260 260
 		 * @param  string  $version   Optional, can match the version of the plugin or version of the source file.
261 261
 		 * @global string  $wp_version
262 262
 		 */
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.