Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .distignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/.cache
/.git
/.github
/.planning
/.wordpress-org
/node_modules
/tests
Expand Down
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#
/.cache export-ignore
/.github export-ignore
/.planning export-ignore
/.wordpress-org export-ignore
/node-modules export-ignore
/tests export-ignore
Expand All @@ -20,6 +21,7 @@
.php-cs-fixer.dist.php export-ignore
composer.json export-ignore
composer.lock export-ignore
CLAUDE.md export-ignore
package.json export-ignore
phpcs.xml.dist export-ignore
phpstan.neon.dist export-ignore
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
deploy_to_wordpress_org:
name: Deploy release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
# Checkout the code
- name: Checkout code
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/sbom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
jobs:
build_artifact:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v6
with:
Expand All @@ -31,7 +33,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
php-version: '8.3'
extensions: dom, curl, json
tools: wp-cli

Expand Down Expand Up @@ -118,6 +120,3 @@ jobs:
tag_name: ${{ env.TAG_NAME }}
files: |
sbom-${{ env.TAG_NAME }}.json
body: |
SBOM Format: CycloneDX JSON
Generated with: Syft
4 changes: 2 additions & 2 deletions comment-hacks.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php
/**
* Comment Experience plugin.
*
* @wordpress-plugin
* Plugin Name: Comment Experience
* Version: 2.1.7
* Version: 2.1.8
* Plugin URI: https://progressplanner.com/plugins/comment-experience/
* Description: Improve the comment experience on your site. Adds lots of features to make commenting easier and more engaging.
* Requires PHP: 7.4
Expand Down Expand Up @@ -40,7 +40,7 @@
/**
* Used for version checks.
*/
define( 'EMILIA_COMMENT_HACKS_VERSION', '2.1.7' );
define( 'EMILIA_COMMENT_HACKS_VERSION', '2.1.8' );

/**
* Used for asset embedding.
Expand Down
14 changes: 13 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Contributors: joostdevalk, aristath, filipi, progressplanner
Tags: comments, comment moderation, comment emails, discussion, comment policy
Text Domain: yoast-comment-hacks
Stable tag: 2.1.7
Stable tag: 2.1.8
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.4
Expand Down Expand Up @@ -89,6 +89,15 @@ Yes. You can forward comments to another email address, and you can also route c

== Changelog ==

= 2.1.8 =
* Security: strengthen permission checks for comment actions and notification recipients.
* Security: escape comment content in notification emails and restrict user searches to public names.
* Apply comment length limits and comment policy acceptance to REST API comment creation.
* Replace the notification recipient dropdown with an AJAX-powered user search.
* Fix first-time commenter redirects, cached option values, and email formatting for older comments.
* Preserve the ability to remove a comment's parent by clearing the parent field.
* Update compatibility information for WordPress 7.1.

= 2.1.7 =
* Maintenance release with minor updates and the Comment Experience name change.

Expand Down Expand Up @@ -188,5 +197,8 @@ Yes. You can forward comments to another email address, and you can also route c

== Upgrade Notice ==

= 2.1.8 =
Security and reliability improvements. REST clients must send comment_policy: true or comment_policy: "on" when comment policy acceptance is enabled.

= 2.1.7 =
This maintenance release keeps Comment Experience current and aligned with its updated branding.
Loading