Skip to content

Commit 83da8c4

Browse files
committed
Updated from .org
1 parent a53eca1 commit 83da8c4

File tree

5 files changed

+12
-15
lines changed

5 files changed

+12
-15
lines changed

LICENSE.txt

100755100644
File mode changed.

README.txt

100755100644
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
=== Ajax Load More: REST API ===
2-
Contributors: edanzer, dcooney
3-
Author: Erick Danzer
2+
Contributors: dcooney, connekthq
3+
Author: Darren Cooney
44
Author URI: https://connekthq.com/
55
Plugin URI: https://connekthq.com/ajax-load-more/extensions/rest-api/
66
Donate link: https://connekthq.com/donate/
77
Tags: ajax load more, rest api, endpoints, lazy load, infinite scroll
8-
Requires at least: 4.0
8+
Requires at least: 4.0
99
Tested up to: 6.7
1010
Stable tag: 1.2.4
1111
License: GPLv2 or later
@@ -76,7 +76,6 @@ Yes! As long as you are using the default /wp-json/ajaxloadmore/posts endpoint a
7676

7777
= 1.2.4 - November 11, 2024 =
7878
* UPDATE: Readme, contributors, WordPress tested version
79-
* NOTE: Plugin has new ownership
8079

8180
= 1.2.3 - February 23, 2023 =
8281
* FIX: Fixed up PHP warnign messages found in debug log for default endpoint.

ajax-load-more-rest-api.php

100755100644
Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
* Plugin URI: https://connekthq.com/plugins/ajax-load-more/extensions/rest-api/
55
* Description: An Ajax Load More extension for infinite scrolling with the WordPress REST API
66
* Text Domain: ajax-load-more-rest-api
7-
* Author: Erick Danzer
7+
* Author: Darren Cooney
88
* Author URI: https://connekthq.com
99
* Version: 1.2.4
1010
* License: GPL
11-
* Copyright: Erick Danzer & AjaxWP LLC
11+
* Copyright: Connekt Media & Darren Cooney
1212
*
1313
* @package ALMRESTAPI
1414
*/
@@ -23,7 +23,7 @@
2323
define( 'ALM_RESTAPI_PATH', plugin_dir_path( __FILE__ ) );
2424
define( 'ALM_RESTAPI_URL', plugins_url( '', __FILE__ ) );
2525
define( 'ALM_RESTAPI_VERSION', '1.2.4' );
26-
define( 'ALM_RESTAPI_RELEASE', 'February 16, 2023' );
26+
define( 'ALM_RESTAPI_RELEASE', 'December 4, 2024' );
2727

2828
/**
2929
* Activation hook
@@ -47,8 +47,7 @@ function alm_rest_api_install() {
4747
* Display admin notice if plugin does not meet the requirements.
4848
*/
4949
function alm_restapi_admin_notice() {
50-
$slug = 'ajax-load-more';
51-
$plugin = $slug . '-rest-api';
50+
$slug = 'ajax-load-more';
5251
// Ajax Load More Notice.
5352
if ( get_transient( 'alm_restapi_admin_notice' ) ) {
5453
$install_url = get_admin_url() . '/update.php?action=install-plugin&plugin=' . $slug . '&_wpnonce=' . wp_create_nonce( 'install-plugin_' . $slug );
@@ -73,11 +72,11 @@ class ALMRESTAPI {
7372
* Set up construct functions.
7473
*/
7574
public function __construct() {
76-
add_action( 'alm_rest_api_installed', array( &$this, 'alm_rest_api_installed' ) );
77-
add_action( 'alm_rest_api_settings', array( &$this, 'alm_rest_api_settings' ) );
78-
add_action( 'wp_enqueue_scripts', array( &$this, 'alm_rest_api_enqueue_scripts' ) );
79-
add_action( 'alm_get_rest_api_template', array( &$this, 'alm_get_rest_api_template' ), 10, 2 );
80-
add_filter( 'alm_rest_api_shortcode', array( &$this, 'alm_rest_api_shortcode' ), 10, 6 );
75+
add_action( 'alm_rest_api_installed', [ &$this, 'alm_rest_api_installed' ] );
76+
add_action( 'alm_rest_api_settings', [ &$this, 'alm_rest_api_settings' ] );
77+
add_action( 'wp_enqueue_scripts', [ &$this, 'alm_rest_api_enqueue_scripts' ] );
78+
add_action( 'alm_get_rest_api_template', [ &$this, 'alm_get_rest_api_template' ], 10, 2 );
79+
add_filter( 'alm_rest_api_shortcode', [ &$this, 'alm_rest_api_shortcode' ], 10, 6 );
8180
load_plugin_textdomain( 'ajax-load-more-rest-api', false, dirname( plugin_basename( __FILE__ ) ) . '/lang/' );
8281
require_once ALM_RESTAPI_PATH . 'endpoints.php';
8382
}
@@ -185,7 +184,6 @@ public function alm_rest_api_settings() {
185184
'ajax-load-more',
186185
'alm_rest_api_settings'
187186
);
188-
189187
}
190188
}
191189

endpoints.php

100755100644
File mode changed.

lang/ajax-load-more-rest-api.pot

100755100644
File mode changed.

0 commit comments

Comments
 (0)