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
5 changes: 3 additions & 2 deletions .distignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/.wordpress-org
/.git
/.github
/.wordpress-org
/coverage
/tests
/vendor
.distignore
.editorconfig
.gitignore
.gitattributes
.gitignore
composer.json
composer.lock
package.json
Expand All @@ -16,3 +16,4 @@ phpcs.xml.dist
phpstan.neon.dist
phpunit.xml.dist
README.md
SECURITY.md
9 changes: 5 additions & 4 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
.github/* export-ignore
.wordpress-org/* export-ignore
tests/* export-ignore
vendor/* export-ignore
.distignore export-ignore
.editorconfig export-ignore
.gitattributes export-ignore
.github/* export-ignore
tests/* export-ignore
.gitignore export-ignore
composer.json export-ignore
composer.lock export-ignore
package.json export-ignore
package-lock.json export-ignore
.wordpress-org/* export-ignore
phpcs.xml.dist export-ignore
phpstan.neon.dist export-ignore
phpunit.xml.dist export-ignore
README.md export-ignore
.wordpress-org/* export-ignore
SECURITY.md export-ignore
31 changes: 31 additions & 0 deletions .github/workflows/plugin-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: 'WordPress.org Plugin Check'
on: # rebuild any PRs and main branch changes
pull_request:

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
coverage: none
tools: wp-cli

- name: Install latest version of dist-archive-command
run: wp package install wp-cli/dist-archive-command:@stable

- name: Build plugin
run: |
wp dist-archive . ./${{ github.event.repository.name }}.zip
mkdir build
unzip ${{ github.event.repository.name }}.zip -d build

- name: Run plugin check
uses: wordpress/plugin-check-action@v1.0.6
with:
build-dir: './build/${{ github.event.repository.name }}'
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Reporting a Vulnerability

You can report any security bugs found in the source code of this plugin through our [Patchstack Vulnerability Disclosure Program](https://patchstack.com/database/vdp/pp-disable-comments). The Patchstack team will assist you with verification, CVE assignment and take care of notifying the developers of this plugin.
You can report any security bugs found in the source code of this plugin through our [Patchstack Vulnerability Disclosure Program](https://patchstack.com/database/vdp/comment-free-zone). The Patchstack team will assist you with verification, CVE assignment and take care of notifying the developers of this plugin.

## Responding to Vulnerability Reports

Expand Down
6 changes: 3 additions & 3 deletions comment-free-zone.php
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php
/**
* A plugin to help you fight procrastination and get things done.
* A plugin to fully disable comments, trackbacks and all related features on your WordPress site.
*
* @package Comment_Free_Zone
*
* Plugin name: Comment-free zone
* Plugin name: Comment-free zone by Progress Planner
* Plugin URI: https://progressplanner.com/plugins/comment-free-zone/#utm_medium=readme&utm_source=w.org&utm_campaign=comment-free-zone
* Description: A plugin to fully disable comments, trackbacks and all related features on your WordPress site.
* Requires at least: 6.3
* Requires PHP: 7.4
* Version: 1.0.0
* Version: 1.0.1
* Author: Team Progress Planner
* Author URI: https://prpl.fyi/about
* License: GPL-3.0+
Expand Down
114 changes: 59 additions & 55 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,55 +1,59 @@
=== Comment-free zone ===
Contributors: progressplanner, joostdevalk, aristath, mariekerakt, irisguelen, samalderson
Tags: planning, maintenance, writing, blogging
Requires at least: 6.3
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPL3+
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html

This plugin fully removes comments, trackbacks and all related features from your WordPress site.

== Description ==

This plugin fully removes comments, trackbacks and all related features from your WordPress site.

This plugin will:

* In the admin:
* Removes the Comments menu item.
* Removes the Discussion settings page.
* Removes the comments column from posts and pages.
* Removes the comment section from the admin bar.
* On the front-end:
* Disable comments on all post types
* Disable pingbacks and trackbacks
* Remove comment support from all post types
* Remove the output of all the comment blocks from the Gutenberg and site editor
* Remove the comment meta box from the post edit screen
* Remove the comment RSS feeds

Once activated, this plugin requires no configuration - it just works. If you want to _completely_ remove comments from your WordPress site, this is the plugin for you.

== Frequently Asked Questions ==

= Where do I file bugs? =

If you've found a bug, please follow the following steps:

1. If it's a security report, please report it through our [PatchStack Vulnerability Disclosure Program](https://patchstack.com/database/vdp/comment-free-zone).
2. If it's not a security report, search through the open issues on [our GitHub repository](https://github.com/ProgressPlanner/comment-free-zone/issues/) to see if there's already an issue for this problem.
3. If if doesn't exist yet, file a [bug report on GitHub](https://github.com/ProgressPlanner/comment-free-zone/issues/new/choose).

== Installation ==

1. Search for Progress Planner Disable Comments on the "Add new plugins" screen in your WordPress plugin.
2. Install the plugin.
3. Activate the plugin.
4. You're done.

== Changelog ==

= 1.0 =

* Initial release.
=== Comment-free zone by Progress Planner ===
Contributors: progressplanner, joostdevalk, aristath, mariekerakt, irisguelen, samalderson
Tags: planning, maintenance, writing, blogging
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPL3+
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html

This plugin fully removes comments, trackbacks and all related features from your WordPress site.

== Description ==

This plugin fully removes comments, trackbacks and all related features from your WordPress site.

This plugin will:

* In the admin:
* Removes the Comments menu item.
* Removes the Discussion settings page.
* Removes the comments column from posts and pages.
* Removes the comment section from the admin bar.
* On the front-end:
* Disable comments on all post types
* Disable pingbacks and trackbacks
* Remove comment support from all post types
* Remove the output of all the comment blocks from the Gutenberg and site editor
* Remove the comment meta box from the post edit screen
* Remove the comment RSS feeds

Once activated, this plugin requires no configuration - it just works. If you want to _completely_ remove comments from your WordPress site, this is the plugin for you.

== Frequently Asked Questions ==

= Where do I file bugs? =

If you've found a bug, please follow the following steps:

1. If it's a security report, please report it through our [PatchStack Vulnerability Disclosure Program](https://patchstack.com/database/vdp/comment-free-zone).
2. If it's not a security report, search through the open issues on [our GitHub repository](https://github.com/ProgressPlanner/comment-free-zone/issues/) to see if there's already an issue for this problem.
3. If if doesn't exist yet, file a [bug report on GitHub](https://github.com/ProgressPlanner/comment-free-zone/issues/new/choose).

== Installation ==

1. Search for Progress Planner Disable Comments on the "Add new plugins" screen in your WordPress plugin.
2. Install the plugin.
3. Activate the plugin.
4. You're done.

== Changelog ==

= 1.0.1 =

* Updated “Tested up to” WordPress version.

= 1.0 =

* Initial release.