Skip to content

Commit bd0c06c

Browse files
authored
Merge pull request #37 from happyprime/prep-release
Release 2.0.0
2 parents 6d3c93c + 2cc82a6 commit bd0c06c

8 files changed

Lines changed: 4047 additions & 4127 deletions

File tree

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Turn Comments Off plugin for WordPress
22

3-
Copyright 2022-2023, Happy Prime and contributors
3+
Copyright 2022-2025, Happy Prime and contributors
44

55
This program is free software; you can redistribute it and/or modify
66
it under the terms of the GNU General Public License as published by

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@ If you find something we missed, [please let us know](https://github.com/happypr
2121

2222
## Changelog
2323

24+
### 2.0.0
25+
26+
* Fix a fatal PHP error when a comment query requests a count.
27+
* Note: If you had manually removed our `comments_pre_query` filter for any reason,
28+
(you likely weren't), you'll need to adjust your code to account for the new
29+
namespaced function.
30+
* Update development dependencies.
31+
2432
### 1.3.2
2533

2634
* No functional changes.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "happyprime/turn-comments-off",
33
"description": "Turn comments off everywhere in WordPress",
4-
"version": "1.3.2",
4+
"version": "2.0.0",
55
"type": "wordpress-plugin",
66
"license": "GPLv2+",
77
"config": {

composer.lock

Lines changed: 131 additions & 120 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 3883 additions & 3990 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "turn-comments-off",
3-
"version": "1.3.2",
3+
"version": "2.0.0",
44
"description": "Turn comments off everywhere in WordPress",
55
"author": "Happy Prime",
66
"license": "GPL-2.0-or-later",
@@ -17,22 +17,22 @@
1717
"url": "https://github.com/happyprime/turn-comments-off/issues"
1818
},
1919
"engines": {
20-
"node": ">=20",
20+
"node": ">=22",
2121
"npm": ">=10"
2222
},
2323
"devDependencies": {
24-
"@babel/core": "^7.24.9",
25-
"@babel/plugin-transform-runtime": "^7.24.7",
26-
"@babel/preset-env": "^7.24.8",
27-
"@babel/preset-react": "^7.24.7",
28-
"@happyprime/eslint-config": "^0.0.5",
29-
"@wordpress/browserslist-config": "^6.3.0",
30-
"@wordpress/dependency-extraction-webpack-plugin": "^6.3.0",
31-
"@wordpress/npm-package-json-lint-config": "^5.3.0",
32-
"babel-loader": "^9.1.3",
24+
"@babel/core": "^7.26.10",
25+
"@babel/plugin-transform-runtime": "^7.26.10",
26+
"@babel/preset-env": "^7.26.9",
27+
"@babel/preset-react": "^7.26.3",
28+
"@happyprime/eslint-config": "^0.0.14",
29+
"@wordpress/browserslist-config": "^6.20.0",
30+
"@wordpress/dependency-extraction-webpack-plugin": "^6.20.0",
31+
"@wordpress/npm-package-json-lint-config": "^5.20.0",
32+
"babel-loader": "^10.0.0",
3333
"npm-package-json-lint": "^8.0.0",
34-
"webpack": "^5.93.0",
35-
"webpack-cli": "^5.1.4"
34+
"webpack": "^5.98.0",
35+
"webpack-cli": "^6.0.1"
3636
},
3737
"scripts": {
3838
"build": "webpack --mode production",

plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Plugin Name: Turn Comments Off
44
* Description: Turn comments off everywhere in WordPress.
5-
* Version: 1.3.2
5+
* Version: 2.0.0
66
* Plugin URI: https://github.com/happyprime/turn-comments-off/
77
* Author: Happy Prime
88
* Author URI: https://happyprime.co

readme.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: happyprime, jeremyfelt, slocker, philcable
33
Tags: comments
44
Requires at least: 5.9
55
Tested up to: 6.7
6-
Stable tag: 1.3.2
6+
Stable tag: 2.0.0
77
License: GPLv2 or later
88
Requires PHP: 7.4
99

@@ -28,6 +28,14 @@ If you find something we missed, [please let us know](https://github.com/happypr
2828

2929
## Changelog
3030

31+
### 2.0.0
32+
33+
* Fix a fatal PHP error when a comment query requests a count.
34+
* Note: If you had manually removed our `comments_pre_query` filter for any reason,
35+
(you likely weren't), you'll need to adjust your code to account for the new
36+
namespaced function.
37+
* Update development dependencies.
38+
3139
### 1.3.2
3240

3341
* No functional changes.

0 commit comments

Comments
 (0)