Skip to content

Conversation

@soderlind
Copy link
Owner

This pull request introduces a new minimal CSS style for the shortcode login form and ensures that the form automatically enqueues its own stylesheet. It also updates the plugin version to 1.3.1 across all relevant files and adjusts test stubs to accommodate the new asset enqueuing. Below are the most important changes:

Shortcode Form Styling and Asset Management

  • Added a new shortcode-form.css file with a minimal, modern design for the login form, featuring a gray input and black button.
  • Updated the render_passwp_login method in Shortcodes.php to automatically enqueue the new stylesheet when rendering the shortcode form.

Version Updates

  • Bumped the plugin version to 1.3.1 in package.json, passwp-posts.php, and readme.txt, and updated the plugin constant PASSWP_POSTS_VERSION. [1] [2] [3] [4]
  • Added a changelog entry for version 1.3.1, documenting the new CSS and automatic stylesheet enqueuing.

Testing

  • Updated test bootstrap stubs to include wp_enqueue_style and wp_enqueue_script as no-op functions, ensuring tests remain stable with the new asset enqueuing.

…rm, and enqueue styles

- Updated version number in package.json, passwp-posts.php, and readme.txt to 1.3.1.
- Added new CSS file for shortcode form with a minimal design featuring gray input and black button.
- Modified Shortcodes.php to automatically enqueue the new stylesheet for the shortcode form.
- Updated CHANGELOG.md to document the new features and changes.
@soderlind soderlind merged commit 1bbea13 into main Jan 9, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants