Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #354 from proudfoot/master

Change 'is_singular()' to 'is_single()' to allow script to load for custom post type archives
  • Loading branch information...
commit d8fd9a0e3062531fe7c05e9dee0305d9f25b8433 2 parents 9e3f97e + 05c14a3
@67726e 67726e authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  wordpress-plugin/infinite-scroll.php
View
2  wordpress-plugin/infinite-scroll.php
@@ -304,7 +304,7 @@ function paged_404_fix( ) {
*/
function shouldLoadJavascript() {
// Don't need to load the plugin on single pages
- $load = is_singular() ? false : true;
+ $load = is_single() ? false : true;
return apply_filters( 'infinite_scroll_load_javascript', $load );
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.