diff --git a/CHANGELOG.md b/CHANGELOG.md index 167cf4c..4ead433 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.1.2] - 2024-12-15 + +### Fixed + +- Select2 tag remove button (×) positioning and styling + ## [1.1.1] - 2024-12-15 ### Fixed diff --git a/assets/css/admin.css b/assets/css/admin.css index 9539c97..ff058bc 100644 --- a/assets/css/admin.css +++ b/assets/css/admin.css @@ -27,13 +27,20 @@ border: none; border-radius: 3px; color: #fff; - padding: 2px 8px; + padding: 4px 8px 4px 24px; margin: 4px 4px 4px 0; + position: relative; } .select2-container--default .select2-selection--multiple .select2-selection__choice__remove { color: rgba(255, 255, 255, 0.7); - margin-right: 6px; + position: absolute; + left: 6px; + top: 50%; + transform: translateY(-50%); + font-size: 14px; + font-weight: bold; + cursor: pointer; } .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover { diff --git a/languages/passwp-posts.pot b/languages/passwp-posts.pot index 02ef601..f575307 100644 --- a/languages/passwp-posts.pot +++ b/languages/passwp-posts.pot @@ -2,14 +2,14 @@ # This file is distributed under the GPL-2.0+. msgid "" msgstr "" -"Project-Id-Version: PassWP Posts 1.1.1\n" +"Project-Id-Version: PassWP Posts 1.1.2\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/passwp-posts\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" -"POT-Creation-Date: 2025-12-15T14:43:41+00:00\n" +"POT-Creation-Date: 2025-12-15T16:26:11+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.12.0\n" "X-Domain: passwp-posts\n" diff --git a/package.json b/package.json index 7cdcd4a..1790476 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "passwp-posts", - "version": "1.1.1", + "version": "1.1.2", "description": "Password protects all pages and posts except the front page", "type": "module", "scripts": { diff --git a/passwp-posts.php b/passwp-posts.php index e673a35..f3f364f 100644 --- a/passwp-posts.php +++ b/passwp-posts.php @@ -3,7 +3,7 @@ * Plugin Name: PassWP Posts * Plugin URI: https://developer.suspended.no/passwp-posts * Description: Password protects all pages and posts except the front page. Logged-in users bypass the password. - * Version: 1.1.1 + * Version: 1.1.2 * Author: Per Soderlind * Author URI: https://soderlind.no * License: GPL-2.0+ @@ -22,7 +22,7 @@ defined( 'ABSPATH' ) || exit; // Plugin constants. -define( 'PASSWP_POSTS_VERSION', '1.1.1' ); +define( 'PASSWP_POSTS_VERSION', '1.1.2' ); define( 'PASSWP_POSTS_PATH', plugin_dir_path( __FILE__ ) ); define( 'PASSWP_POSTS_URL', plugin_dir_url( __FILE__ ) ); define( 'PASSWP_POSTS_BASENAME', plugin_basename( __FILE__ ) ); diff --git a/readme.txt b/readme.txt index 57e7b1c..49950a3 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: password, protection, privacy, security, access control Requires at least: 6.8 Tested up to: 6.9 Requires PHP: 8.3 -Stable tag: 1.1.1 +Stable tag: 1.1.2 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -100,6 +100,9 @@ You may need to exclude protected pages from caching or configure your caching p == Changelog == += 1.1.2 = +* Fixed Select2 tag remove button positioning and styling + = 1.1.1 = * Fixed fatal error when Plugin Update Checker library is not available * Included production vendor files in repository @@ -147,6 +150,9 @@ You may need to exclude protected pages from caching or configure your caching p == Upgrade Notice == += 1.1.2 = +Fixed Select2 tag styling. + = 1.1.1 = Bug fixes for fatal errors and security improvements.