diff --git a/README.md b/README.md index 1b3150d..1f46d09 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,8 @@ If the "Simple Limited Access" plugin was useful to you, please [support me with With "Simple Limited Access" you can limit access to specific pages or post_type by forcing the user to enter a username and password that you can define in the configuration screen. +The username and password pairs are managed through a simple textarea in the plugin configuration. + You can also set a message and background color on the login screen ## How to use diff --git a/admin/class-simple-limited-access-admin.php b/admin/class-simple-limited-access-admin.php index e02bae0..b08dcb2 100644 --- a/admin/class-simple-limited-access-admin.php +++ b/admin/class-simple-limited-access-admin.php @@ -4,7 +4,7 @@ * The admin-specific functionality of the plugin. * * @link https://github.com/leodudedev/Simple-Limited-Access - * @since 1.0.0 + * @since 1.0.1 * * @package Simple_Limited_Access * @subpackage Simple_Limited_Access/admin @@ -26,7 +26,7 @@ class Simple_Limited_Access_Admin /** * The ID of this plugin. * - * @since 1.0.0 + * @since 1.0.1 * @access private * @var string $plugin_name The ID of this plugin. */ @@ -35,14 +35,14 @@ class Simple_Limited_Access_Admin /** * The version of this plugin. * - * @since 1.0.0 + * @since 1.0.1 * @access private * @var string $version The current version of this plugin. */ private $version; /** - * @since 1.0.0 + * @since 1.0.1 * @access protected * @var Simple_Limited_Access_utils $utils */ @@ -53,7 +53,7 @@ class Simple_Limited_Access_Admin * * @param string $plugin_name The name of this plugin. * @param string $version The version of this plugin. - * @since 1.0.0 + * @since 1.0.1 */ public function __construct($plugin_name, $version, $instance) { @@ -69,7 +69,7 @@ public function __construct($plugin_name, $version, $instance) /** * Register the stylesheets for the admin area. * - * @since 1.0.0 + * @since 1.0.1 */ public function enqueue_styles() { @@ -90,7 +90,7 @@ public function enqueue_styles() /** * Register the JavaScript for the admin area. * - * @since 1.0.0 + * @since 1.0.1 */ public function enqueue_scripts() { diff --git a/admin/partials/config-basic.php b/admin/partials/config-basic.php index c246695..ecfc823 100644 --- a/admin/partials/config-basic.php +++ b/admin/partials/config-basic.php @@ -102,7 +102,7 @@

- +

- +

@@ -24,11 +24,9 @@ class Simple_Limited_Access_Activator { /** - * Short Description. (use period) + * With "Simple Limited Access" you can limit access to specific pages or post_type by forcing the user to enter a username and password that you can define in the configuration screen. * - * Long Description. - * - * @since 1.0.0 + * @since 1.0.1 */ public static function activate() { diff --git a/includes/class-simple-limited-access-deactivator.php b/includes/class-simple-limited-access-deactivator.php index fcce4cd..ff206df 100644 --- a/includes/class-simple-limited-access-deactivator.php +++ b/includes/class-simple-limited-access-deactivator.php @@ -4,7 +4,7 @@ * Fired during plugin deactivation * * @link https://github.com/leodudedev/Simple-Limited-Access - * @since 1.0.0 + * @since 1.0.1 * * @package Simple_Limited_Access * @subpackage Simple_Limited_Access/includes @@ -15,7 +15,7 @@ * * This class defines all code necessary to run during the plugin's deactivation. * - * @since 1.0.0 + * @since 1.0.1 * @package Simple_Limited_Access * @subpackage Simple_Limited_Access/includes * @author Leonardo Pinori @@ -24,11 +24,10 @@ class Simple_Limited_Access_Deactivator { /** - * Short Description. (use period) * - * Long Description. + * With "Simple Limited Access" you can limit access to specific pages or post_type by forcing the user to enter a username and password that you can define in the configuration screen. * - * @since 1.0.0 + * @since 1.0.1 */ public static function deactivate() { diff --git a/includes/class-simple-limited-access-i18n.php b/includes/class-simple-limited-access-i18n.php index 3de1f83..5c4496a 100644 --- a/includes/class-simple-limited-access-i18n.php +++ b/includes/class-simple-limited-access-i18n.php @@ -7,7 +7,7 @@ * so that it is ready for translation. * * @link https://github.com/leodudedev/Simple-Limited-Access - * @since 1.0.0 + * @since 1.0.1 * * @package Simple_Limited_Access * @subpackage Simple_Limited_Access/includes @@ -19,7 +19,7 @@ * Loads and defines the internationalization files for this plugin * so that it is ready for translation. * - * @since 1.0.0 + * @since 1.0.1 * @package Simple_Limited_Access * @subpackage Simple_Limited_Access/includes * @author Leonardo Pinori @@ -31,7 +31,7 @@ class Simple_Limited_Access_i18n /** * Load the plugin text domain for translation. * - * @since 1.0.0 + * @since 1.0.1 */ public function load_plugin_textdomain() { diff --git a/includes/class-simple-limited-access-loader.php b/includes/class-simple-limited-access-loader.php index c1b490e..8f1f17c 100644 --- a/includes/class-simple-limited-access-loader.php +++ b/includes/class-simple-limited-access-loader.php @@ -4,7 +4,7 @@ * Register all actions and filters for the plugin * * @link https://github.com/leodudedev/Simple-Limited-Access - * @since 1.0.0 + * @since 1.0.1 * * @package Simple_Limited_Access * @subpackage Simple_Limited_Access/includes @@ -27,7 +27,7 @@ class Simple_Limited_Access_Loader /** * The array of actions registered with WordPress. * - * @since 1.0.0 + * @since 1.0.1 * @access protected * @var array $actions The actions registered with WordPress to fire when the plugin loads. */ @@ -36,7 +36,7 @@ class Simple_Limited_Access_Loader /** * The array of filters registered with WordPress. * - * @since 1.0.0 + * @since 1.0.1 * @access protected * @var array $filters The filters registered with WordPress to fire when the plugin loads. */ @@ -45,7 +45,7 @@ class Simple_Limited_Access_Loader /** * Initialize the collections used to maintain the actions and filters. * - * @since 1.0.0 + * @since 1.0.1 */ public function __construct() { @@ -57,7 +57,7 @@ public function __construct() /** * Add a new action to the collection to be registered with WordPress. * - * @since 1.0.0 + * @since 1.0.1 * @param string $hook The name of the WordPress action that is being registered. * @param object $component A reference to the instance of the object on which the action is defined. * @param string $callback The name of the function definition on the $component. @@ -72,7 +72,7 @@ public function add_action($hook, $component, $callback, $priority = 10, $accept /** * Add a new filter to the collection to be registered with WordPress. * - * @since 1.0.0 + * @since 1.0.1 * @param string $hook The name of the WordPress filter that is being registered. * @param object $component A reference to the instance of the object on which the filter is defined. * @param string $callback The name of the function definition on the $component. @@ -88,7 +88,7 @@ public function add_filter($hook, $component, $callback, $priority = 10, $accept * A utility function that is used to register the actions and hooks into a single * collection. * - * @since 1.0.0 + * @since 1.0.1 * @access private * @param array $hooks The collection of hooks that is being registered (that is, actions or filters). * @param string $hook The name of the WordPress filter that is being registered. @@ -115,7 +115,7 @@ private function add($hooks, $hook, $component, $callback, $priority, $accepted_ /** * Register the filters and actions with WordPress. * - * @since 1.0.0 + * @since 1.0.1 */ public function run() { diff --git a/includes/class-simple-limited-access.php b/includes/class-simple-limited-access.php index 59334f6..76b3eab 100644 --- a/includes/class-simple-limited-access.php +++ b/includes/class-simple-limited-access.php @@ -7,7 +7,7 @@ * public-facing side of the site and the admin area. * * @link https://github.com/leodudedev/Simple-Limited-Access - * @since 1.0.0 + * @since 1.0.1 * * @package Simple_Limited_Access * @subpackage Simple_Limited_Access/includes @@ -22,7 +22,7 @@ * Also maintains the unique identifier of this plugin as well as the current * version of the plugin. * - * @since 1.0.0 + * @since 1.0.1 * @package Simple_Limited_Access * @subpackage Simple_Limited_Access/includes * @author Leonardo Pinori @@ -34,7 +34,7 @@ class Simple_Limited_Access * The loader that's responsible for maintaining and registering all hooks that power * the plugin. * - * @since 1.0.0 + * @since 1.0.1 * @access protected * @var Simple_Limited_Access_Loader $loader Maintains and registers all hooks for the plugin. */ @@ -43,7 +43,7 @@ class Simple_Limited_Access /** * The unique identifier of this plugin. * - * @since 1.0.0 + * @since 1.0.1 * @access protected * @var string $plugin_name The string used to uniquely identify this plugin. */ @@ -52,7 +52,7 @@ class Simple_Limited_Access /** * The current version of the plugin. * - * @since 1.0.0 + * @since 1.0.1 * @access protected * @var string $version The current version of the plugin. */ @@ -65,14 +65,14 @@ class Simple_Limited_Access * Load the dependencies, define the locale, and set the hooks for the admin area and * the public-facing side of the site. * - * @since 1.0.0 + * @since 1.0.1 */ public function __construct() { if (defined('SIMPLE_LIMITED_ACCESS_VERSION')) { $this->version = SIMPLE_LIMITED_ACCESS_VERSION; } else { - $this->version = '1.0.0'; + $this->version = '1.0.1'; } $this->plugin_name = 'simple-limited-access'; @@ -95,7 +95,7 @@ public function __construct() * Create an instance of the loader which will be used to register the hooks * with WordPress. * - * @since 1.0.0 + * @since 1.0.1 * @access private */ private function load_dependencies() @@ -133,7 +133,7 @@ private function load_dependencies() * Uses the Simple_Limited_Access_i18n class in order to set the domain and to register the hook * with WordPress. * - * @since 1.0.0 + * @since 1.0.1 * @access private */ private function set_locale() @@ -148,7 +148,7 @@ private function set_locale() * Register all of the hooks related to the admin area functionality * of the plugin. * - * @since 1.0.0 + * @since 1.0.1 * @access private */ private function define_admin_hooks() @@ -164,7 +164,7 @@ private function define_admin_hooks() * Register all of the hooks related to the public-facing functionality * of the plugin. * - * @since 1.0.0 + * @since 1.0.1 * @access private */ private function define_public_hooks() @@ -179,7 +179,7 @@ private function define_public_hooks() /** * Run the loader to execute all of the hooks with WordPress. * - * @since 1.0.0 + * @since 1.0.1 */ public function run() { @@ -190,7 +190,7 @@ public function run() * The name of the plugin used to uniquely identify it within the context of * WordPress and to define internationalization functionality. * - * @since 1.0.0 + * @since 1.0.1 * @return string The name of the plugin. */ public function get_plugin_name() @@ -201,7 +201,7 @@ public function get_plugin_name() /** * The reference to the class that orchestrates the hooks with the plugin. * - * @since 1.0.0 + * @since 1.0.1 * @return Simple_Limited_Access_Loader Orchestrates the hooks of the plugin. */ public function get_loader() @@ -212,7 +212,7 @@ public function get_loader() /** * Retrieve the version number of the plugin. * - * @since 1.0.0 + * @since 1.0.1 * @return string The version number of the plugin. */ public function get_version() diff --git a/info.webp b/info.webp index db901f1..b8755d0 100644 Binary files a/info.webp and b/info.webp differ diff --git a/languages/simple-limited-access-en_US.mo b/languages/simple-limited-access-en_US.mo new file mode 100644 index 0000000..cd840e9 Binary files /dev/null and b/languages/simple-limited-access-en_US.mo differ diff --git a/languages/simple-limited-access-en_US.po b/languages/simple-limited-access-en_US.po new file mode 100644 index 0000000..772167f --- /dev/null +++ b/languages/simple-limited-access-en_US.po @@ -0,0 +1,97 @@ +# Copyright (C) 2022 Leonardo Pinori +# This file is distributed under the GPL-2.0+. +msgid "" +msgstr "" +"Project-Id-Version: Simple Limited Access 1.0.1\n" +"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/simple-limited-" +"access\n" +"POT-Creation-Date: 2022-11-05 17:30+0100\n" +"PO-Revision-Date: 2022-11-05 17:36+0100\n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: en_US\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.0.1\n" +"X-Domain: simple-limited-access\n" + +#. Plugin Name of the plugin +msgid "Simple Limited Access" +msgstr "" + +#. Plugin URI of the plugin +msgid "https://github.com/leodudedev/Simple-Limited-Access" +msgstr "" + +#. Description of the plugin +msgid "" +"With \"Simple Limited Access\" you can limit access to specific pages or " +"post_type by forcing the user to enter a username and password that you can " +"define in the configuration screen." +msgstr "" + +#. Author of the plugin +msgid "Leonardo Pinori" +msgstr "" + +#: admin/class-simple-limited-access-admin.php:134 +msgid "Simple Limited Access settings" +msgstr "" + +#: admin/partials/config-basic.php:87 +msgid "Login page background" +msgstr "" + +#: admin/partials/config-basic.php:98 +msgid "Info text on the login page" +msgstr "" + +#: admin/partials/config-basic.php:105 +msgid "Restricts access to a specific page or pages" +msgstr "" + +#: admin/partials/config-basic.php:130 +msgid "Limit access to one or more types of posts" +msgstr "" + +#: admin/partials/config-basic.php:153 +msgid "Insert new line in the textarea to add a user" +msgstr "" + +#: admin/partials/config-basic.php:154 +msgid "Username and password must be separated by colons" +msgstr "" + +#: admin/partials/config-basic.php:161 +msgid "Cookie timeout in hours" +msgstr "" + +#: admin/partials/config-basic.php:162 +msgid "Default value 2 hours" +msgstr "" + +#: admin/partials/config-basic.php:168 +msgid "Save settings" +msgstr "" + +#: admin/partials/config-basic.php:178 +msgid "Log accesses" +msgstr "" + +#: public/partials/form.php:127 +msgid "Username" +msgstr "" + +#: public/partials/form.php:131 +msgid "Password" +msgstr "" + +#: public/partials/form.php:134 +msgid "Send" +msgstr "" + +#: public/partials/form.php:139 +msgid "Wrong username or password" +msgstr "" diff --git a/languages/simple-limited-access-it_IT.mo b/languages/simple-limited-access-it_IT.mo new file mode 100644 index 0000000..eea4190 Binary files /dev/null and b/languages/simple-limited-access-it_IT.mo differ diff --git a/languages/simple-limited-access-it_IT.po b/languages/simple-limited-access-it_IT.po new file mode 100644 index 0000000..77e9411 --- /dev/null +++ b/languages/simple-limited-access-it_IT.po @@ -0,0 +1,97 @@ +# Copyright (C) 2022 Leonardo Pinori +# This file is distributed under the GPL-2.0+. +msgid "" +msgstr "" +"Project-Id-Version: Simple Limited Access 1.0.1\n" +"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/simple-limited-" +"access\n" +"POT-Creation-Date: 2022-11-05 17:30+0100\n" +"PO-Revision-Date: 2022-11-05 17:33+0100\n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: it_IT\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.0.1\n" +"X-Domain: simple-limited-access\n" + +#. Plugin Name of the plugin +msgid "Simple Limited Access" +msgstr "" + +#. Plugin URI of the plugin +msgid "https://github.com/leodudedev/Simple-Limited-Access" +msgstr "" + +#. Description of the plugin +msgid "" +"With \"Simple Limited Access\" you can limit access to specific pages or " +"post_type by forcing the user to enter a username and password that you can " +"define in the configuration screen." +msgstr "" + +#. Author of the plugin +msgid "Leonardo Pinori" +msgstr "" + +#: admin/class-simple-limited-access-admin.php:134 +msgid "Simple Limited Access settings" +msgstr "" + +#: admin/partials/config-basic.php:87 +msgid "Login page background" +msgstr "Sfondo pagina di login" + +#: admin/partials/config-basic.php:98 +msgid "Info text on the login page" +msgstr "Testo introduttivo nella pagina di login" + +#: admin/partials/config-basic.php:105 +msgid "Restricts access to a specific page or pages" +msgstr "Limita accesso ad una o più pagine" + +#: admin/partials/config-basic.php:130 +msgid "Limit access to one or more types of posts" +msgstr "Limita accesso ad uno o più tipi di post" + +#: admin/partials/config-basic.php:153 +msgid "Insert new line in the textarea to add a user" +msgstr "Inserisci una nuova linea nella textarea per aggiungere un utente" + +#: admin/partials/config-basic.php:154 +msgid "Username and password must be separated by colons" +msgstr "Username e password devo essere separati dai due punti" + +#: admin/partials/config-basic.php:161 +msgid "Cookie timeout in hours" +msgstr "Timeout del cookie in ore" + +#: admin/partials/config-basic.php:162 +msgid "Default value 2 hours" +msgstr "Default 2 ore" + +#: admin/partials/config-basic.php:168 +msgid "Save settings" +msgstr "Salva impostazioni" + +#: admin/partials/config-basic.php:178 +msgid "Log accesses" +msgstr "Login accessi" + +#: public/partials/form.php:127 +msgid "Username" +msgstr "" + +#: public/partials/form.php:131 +msgid "Password" +msgstr "" + +#: public/partials/form.php:134 +msgid "Send" +msgstr "Invia" + +#: public/partials/form.php:139 +msgid "Wrong username or password" +msgstr "Username o password errati" diff --git a/languages/simple-limited-access.pot b/languages/simple-limited-access.pot index e69de29..1c7adba 100644 --- a/languages/simple-limited-access.pot +++ b/languages/simple-limited-access.pot @@ -0,0 +1,92 @@ +# Copyright (C) 2022 Leonardo Pinori +# This file is distributed under the GPL-2.0+. +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: Simple Limited Access 1.0.1\n" +"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/simple-limited-access\n" +"POT-Creation-Date: 2022-11-05 17:30+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 3.0.1\n" +"X-Domain: simple-limited-access\n" + +#. Plugin Name of the plugin +msgid "Simple Limited Access" +msgstr "" + +#. Plugin URI of the plugin +msgid "https://github.com/leodudedev/Simple-Limited-Access" +msgstr "" + +#. Description of the plugin +msgid "With \"Simple Limited Access\" you can limit access to specific pages or post_type by forcing the user to enter a username and password that you can define in the configuration screen." +msgstr "" + +#. Author of the plugin +msgid "Leonardo Pinori" +msgstr "" + +#: admin/class-simple-limited-access-admin.php:134 +msgid "Simple Limited Access settings" +msgstr "" + +#: admin/partials/config-basic.php:87 +msgid "Login page background" +msgstr "" + +#: admin/partials/config-basic.php:98 +msgid "Info text on the login page" +msgstr "" + +#: admin/partials/config-basic.php:105 +msgid "Restricts access to a specific page or pages" +msgstr "" + +#: admin/partials/config-basic.php:130 +msgid "Limit access to one or more types of posts" +msgstr "" + +#: admin/partials/config-basic.php:153 +msgid "Insert new line in the textarea to add a user" +msgstr "" + +#: admin/partials/config-basic.php:154 +msgid "Username and password must be separated by colons" +msgstr "" + +#: admin/partials/config-basic.php:161 +msgid "Cookie timeout in hours" +msgstr "" + +#: admin/partials/config-basic.php:162 +msgid "Default value 2 hours" +msgstr "" + +#: admin/partials/config-basic.php:168 +msgid "Save settings" +msgstr "" + +#: admin/partials/config-basic.php:178 +msgid "Log accesses" +msgstr "" + +#: public/partials/form.php:127 +msgid "Username" +msgstr "" + +#: public/partials/form.php:131 +msgid "Password" +msgstr "" + +#: public/partials/form.php:134 +msgid "Send" +msgstr "" + +#: public/partials/form.php:139 +msgid "Wrong username or password" +msgstr "" diff --git a/public/class-simple-limited-access-public.php b/public/class-simple-limited-access-public.php index 3ebbdc8..69af843 100644 --- a/public/class-simple-limited-access-public.php +++ b/public/class-simple-limited-access-public.php @@ -4,7 +4,7 @@ * The public-facing functionality of the plugin. * * @link https://github.com/leodudedev/Simple-Limited-Access - * @since 1.0.0 + * @since 1.0.1 * * @package Simple_Limited_Access * @subpackage Simple_Limited_Access/public @@ -26,7 +26,7 @@ class Simple_Limited_Access_Public /** * The ID of this plugin. * - * @since 1.0.0 + * @since 1.0.1 * @access private * @var string $plugin_name The ID of this plugin. */ @@ -35,14 +35,14 @@ class Simple_Limited_Access_Public /** * The version of this plugin. * - * @since 1.0.0 + * @since 1.0.1 * @access private * @var string $version The current version of this plugin. */ private $version; /** - * @since 1.0.0 + * @since 1.0.1 * @access protected * @var Simple_Limited_Access_utils $utils */ @@ -53,7 +53,7 @@ class Simple_Limited_Access_Public * * @param string $plugin_name The name of the plugin. * @param string $version The version of this plugin. - * @since 1.0.0 + * @since 1.0.1 */ public function __construct($plugin_name, $version) { @@ -70,7 +70,7 @@ public function __construct($plugin_name, $version) /** * Register the stylesheets for the public-facing side of the site. * - * @since 1.0.0 + * @since 1.0.1 */ public function enqueue_styles() { @@ -93,7 +93,7 @@ public function enqueue_styles() /** * Register the JavaScript for the public-facing side of the site. * - * @since 1.0.0 + * @since 1.0.1 */ public function enqueue_scripts() { diff --git a/public/partials/form.php b/public/partials/form.php index 4083a28..e057b59 100644 --- a/public/partials/form.php +++ b/public/partials/form.php @@ -68,7 +68,7 @@ padding: 10px; font-size: 20px; outline: none; - width: 100%; + width: calc(100% - 20px); color: black; background-color: white; } @@ -106,7 +106,8 @@ .sla-tgt-form .sla-tgt-form-error { margin: 20px 0 10px; - color: red; + color: tomato; + text-shadow: 0px 0px 5px rgb(255 255 255 / 60%); } diff --git a/readme.txt b/readme.txt index 62c9c10..2bd9408 100644 --- a/readme.txt +++ b/readme.txt @@ -4,8 +4,17 @@ Donate link: https://www.paypal.com/donate/?business=JBVCRKAPU5SZ4&no_recurring= Tags: limited, access, login, reserved Tested up to: 6.0.3 Requires PHP: 7.4 -Stable tag: 1.0.0 +Stable tag: 1.0.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html -Simple Limited Access is a wordpress plugin to restrict access on certain pages/post_type via a basic login form +With "Simple Limited Access" you can limit access to specific pages or post_type by forcing the user to enter a username and password that you can define in the configuration screen. +The username and password pairs are managed through a simple textarea in the plugin configuration. +You can also set a message and background color on the login screen. + +== Screenshots == + +1. Settings video. +2. Settings page. +3. Login page. + diff --git a/simple-limited-access.php b/simple-limited-access.php index 0e95980..474b20b 100644 --- a/simple-limited-access.php +++ b/simple-limited-access.php @@ -9,14 +9,14 @@ * that starts the plugin. * * @link https://github.com/leodudedev/Simple-Limited-Access - * @since 1.0.0 + * @since 1.0.1 * @package Simple_Limited_Access * * @wordpress-plugin * Plugin Name: Simple Limited Access * Plugin URI: https://github.com/leodudedev/Simple-Limited-Access - * Description: This is a short description of what the plugin does. It's displayed in the WordPress admin area. - * Version: 1.0.0 + * Description: With "Simple Limited Access" you can limit access to specific pages or post_type by forcing the user to enter a username and password that you can define in the configuration screen. + * Version: 1.0.1 * Author: Leonardo Pinori * License: GPL-2.0+ * License URI: http://www.gnu.org/licenses/gpl-2.0.txt @@ -31,10 +31,10 @@ /** * Currently plugin version. - * Start at version 1.0.0 and use SemVer - https://semver.org + * Start at version 1.0.1 and use SemVer - https://semver.org * Rename this for your plugin and update it as you release new versions. */ -define('SIMPLE_LIMITED_ACCESS_VERSION', '1.0.0'); +define('SIMPLE_LIMITED_ACCESS_VERSION', '1.0.1'); /** * The code that runs during plugin activation. @@ -72,7 +72,7 @@ function deactivate_simple_limited_access() * then kicking off the plugin from this point in the file does * not affect the page life cycle. * - * @since 1.0.0 + * @since 1.0.1 */ function run_simple_limited_access() { diff --git a/uninstall.php b/uninstall.php index b4af34d..a65630e 100644 --- a/uninstall.php +++ b/uninstall.php @@ -20,7 +20,7 @@ * https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate/pull/123#issuecomment-28541913 * * @link https://github.com/leodudedev/Simple-Limited-Access - * @since 1.0.0 + * @since 1.0.1 * * @package Simple_Limited_Access */