From a36a8b5d1be2b827be455cd4158a02fe7339d9e3 Mon Sep 17 00:00:00 2001 From: Andrew Lima Date: Tue, 17 Dec 2024 15:16:28 +0200 Subject: [PATCH 1/2] Rename files to prefixed `pmpro-` * REFACTOR: Renamed the main plugin file and the js file to have the pmpro- prefix. --- js/{limit-logins.js => pmpro-limit-logins.js} | 0 limit-logins.php => pmpro-limit-logins.php | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename js/{limit-logins.js => pmpro-limit-logins.js} (100%) rename limit-logins.php => pmpro-limit-logins.php (100%) diff --git a/js/limit-logins.js b/js/pmpro-limit-logins.js similarity index 100% rename from js/limit-logins.js rename to js/pmpro-limit-logins.js diff --git a/limit-logins.php b/pmpro-limit-logins.php similarity index 100% rename from limit-logins.php rename to pmpro-limit-logins.php From 145dd51efa10d12c0ba6157733e93d8c3cd1b40e Mon Sep 17 00:00:00 2001 From: Andrew Lima Date: Thu, 16 Jan 2025 12:20:03 +0200 Subject: [PATCH 2/2] rename main JS file * Rename main JS file. --- pmpro-limit-logins.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmpro-limit-logins.php b/pmpro-limit-logins.php index a229786..fcba83e 100755 --- a/pmpro-limit-logins.php +++ b/pmpro-limit-logins.php @@ -57,7 +57,7 @@ public function wp_enqueue_scripts() { && is_user_logged_in() ) { wp_enqueue_script( 'pmpro_limit_logins', - plugins_url( 'js/limit-logins.js', __FILE__ ), + plugins_url( 'js/pmpro-limit-logins.js', __FILE__ ), array( 'jquery' ), PMPRO_LIMIT_LOGINS_VERSION );