From 4463e672b635c7a543eb8cc19e9b3ec78a053a50 Mon Sep 17 00:00:00 2001 From: 4suredev Date: Mon, 10 Oct 2022 11:24:47 +0800 Subject: [PATCH 1/3] updated repository details --- disable-client-avada-builder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disable-client-avada-builder.php b/disable-client-avada-builder.php index 9d99de4..89b4fa4 100644 --- a/disable-client-avada-builder.php +++ b/disable-client-avada-builder.php @@ -11,7 +11,7 @@ */ include_once( plugin_dir_path( __FILE__ ) . 'updater.php'); $updater = new Disable_non_admin_avada_updater( __FILE__ ); // instantiate our class -$updater->set_username( '4surecarlo' ); // set username +$updater->set_username( '4suredev' ); // set username $updater->set_repository( 'Avada-Disable-Builder-for-Non-Admins' ); // set repo $updater->initialize(); // initialize the updater if( ! class_exists( 'Disable_non_admin_avada_updater' ) ){ From 7bfea05591894a37f982ef23a81174399854c3a4 Mon Sep 17 00:00:00 2001 From: 4suredev Date: Mon, 10 Oct 2022 11:36:06 +0800 Subject: [PATCH 2/3] updated repository details --- disable-client-avada-builder.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/disable-client-avada-builder.php b/disable-client-avada-builder.php index 89b4fa4..0cf6c47 100644 --- a/disable-client-avada-builder.php +++ b/disable-client-avada-builder.php @@ -3,17 +3,17 @@ * Plugin Name: Avada Disable Builder for Non-Admins * Plugin URI: https://4sure.com.au * Description: Disables Avada builder for all roles except administrator - * Version: 1.0.0 + * Version: 1.0.1 * Requires PHP: 7.2 * Requires at least: 5.8 * Author: 4sure * Author URI: https://4sure.com.au */ include_once( plugin_dir_path( __FILE__ ) . 'updater.php'); -$updater = new Disable_non_admin_avada_updater( __FILE__ ); // instantiate our class -$updater->set_username( '4suredev' ); // set username -$updater->set_repository( 'Avada-Disable-Builder-for-Non-Admins' ); // set repo -$updater->initialize(); // initialize the updater +$updater = new Disable_non_admin_avada_updater( __FILE__ ); +$updater->set_username( '4suredev' ); +$updater->set_repository( 'Avada-Disable-Builder-for-Non-Admins' ); +$updater->initialize(); if( ! class_exists( 'Disable_non_admin_avada_updater' ) ){ include_once( plugin_dir_path( __FILE__ ) . 'updater.php' ); } From 03fa5c127fdd25c77a99e7f35f3a54393a0dab7b Mon Sep 17 00:00:00 2001 From: 4suredev <64234115+4suredev@users.noreply.github.com> Date: Wed, 12 Oct 2022 11:04:54 +0800 Subject: [PATCH 3/3] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index e69de29..9810be4 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,3 @@ +# Avada Disable Builder for Non Admins + +Disables the avada builder for non-administrator users. Good for when you want your client to only use the classic editor.