Skip to content

Commit 6113f29

Browse files
committed
Code cleanup
1 parent c1e2b8a commit 6113f29

File tree

2 files changed

+16
-14
lines changed

2 files changed

+16
-14
lines changed

README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Plugin URI: https://connekthq.com/plugins/ajax-load-more/extensions/searchwp/
44
Donate link: https://connekthq.com/donate/
55
Tags: ajax load more, search, searchwp, search results, filter, ajax, infinite scroll
66
Requires at least: 5.0
7-
Tested up to: 6.0
7+
Tested up to: 6.1
88
Stable tag: 1.0.2
99
License: GPLv2 or later
1010
License URI: http://www.gnu.org/licenses/gpl-2.0.html

ajax-load-more-for-searchwp.php

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
<?php
2-
/*
3-
Plugin Name: Ajax Load More for SearchWP
4-
Plugin URI: http://connekthq.com/plugins/ajax-load-more/extensions/searchwp/
5-
Description: An Ajax Load More extension that adds compatibility with SearchWP
6-
Text Domain: ajax-load-more-for-searchwp
7-
Author: Darren Cooney
8-
Twitter: @KaptonKaos
9-
Author URI: https://connekthq.com
10-
Version: 1.0.2
11-
License: GPL
12-
Copyright: Darren Cooney & Connekt Media
13-
*/
2+
/**
3+
* Plugin Name: Ajax Load More for SearchWP
4+
* Plugin URI: http://connekthq.com/plugins/ajax-load-more/extensions/searchwp/
5+
* Description: An Ajax Load More extension that adds compatibility with SearchWP
6+
* Text Domain: ajax-load-more-for-searchwp
7+
* Author: Darren Cooney
8+
* Twitter: @KaptonKaos
9+
* Author URI: https://connekthq.com
10+
* Version: 1.0.2
11+
* License: GPL
12+
* Copyright: Darren Cooney & Connekt Media
13+
*
14+
* @package ALM_SearchWP
15+
*/
1416

1517
if ( ! class_exists( 'ALM_SearchWP' ) ) :
1618

@@ -56,7 +58,7 @@ public function alm_searchwp_get_posts( $args, $engine ) {
5658
'engine' => $engine,
5759
's' => $term,
5860
'fields' => 'ids',
59-
'posts_per_page' => -1
61+
'posts_per_page' => -1,
6062
)
6163
);
6264

0 commit comments

Comments
 (0)