Skip to content

Commit 7b8f359

Browse files
committed
Merge remote-tracking branch 'origin/master'
# Conflicts: # .distignore
2 parents 6216eda + d66dabc commit 7b8f359

File tree

9 files changed

+394
-268
lines changed

9 files changed

+394
-268
lines changed

.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ tab_width = 4
99
indent_style = space
1010
insert_final_newline = true
1111
trim_trailing_whitespace = true
12+
max_line_length = 120
1213

1314
[*.txt]
1415
trim_trailing_whitespace = false

.gitignore

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,10 @@ logs
88
npm-debug.log*
99
yarn-debug.log*
1010
yarn-error.log*
11-
12-
# Coverage directory used by tools like istanbul
13-
coverage
11+
.idea
1412

1513
# Compiled binary addons (https://nodejs.org/api/addons.html)
16-
build/Release
1714
/build
18-
/src/Strauss
1915

2016
# Dependency directories
2117
node_modules
@@ -29,11 +25,20 @@ node_modules
2925
# Output of 'npm pack'
3026
*.tgz
3127

32-
# dotenv environment variables file
28+
# dotenv environment variables files and directories
3329
.env
30+
.prettierignore
31+
.prettierrc
32+
.gitignore
33+
/.idea/
34+
.vscode
35+
.DS_Store
3436

3537
# No composer stuff
3638
/vendor/
3739

3840
# No language files
3941
/languages/*
42+
43+
# Catch alls
44+
wp-rollback.zip

.prettierignore

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Ignore node modules
2-
node_modules/*
1+
# Ignore directories
2+
.github
3+
assets
4+
build
5+
node_modules
6+
languages
37

4-
# Ignore Composer packages
5-
vendor/*
6-
7-
# Ignore Directories
8-
sample-data/*
9-
10-
# Ignore Files
11-
package-lock.json
8+
# Ignore files
129
composer.lock
10+
package-lock.json
11+
phpcs.xml
12+
.php-cs-fixer.cache

.prettierrc.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
const defaultConfig = require( '@wordpress/scripts/config/.prettierrc.js' );
2+
3+
// Add customizations to WordPress prettier config.
4+
const config = {
5+
...defaultConfig,
6+
printWidth: 120,
7+
useTabs: false,
8+
};
9+
10+
module.exports = config;

.prettierrc.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wp-rollback",
3-
"version": "2.0.0",
3+
"version": "2.0.7",
44
"description": "Rollback (or forward) any WordPress.org plugin, theme, or block like a boss.",
55
"homepage": "https://wprollback.com",
66
"author": "WP Rollback",

readme.txt

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
=== WP Rollback - Rollback Plugins and Themes ===
22
Contributors: dlocc, drrobotnik, webdevmattcrom, givewp
33
Tags: rollback, revert, downgrade, version, plugins, themes, version, versions, backup, backups, revision, revisions
4-
Requires at least: 5.0
4+
Requires at least: 6.0
55
Donate Link: https://givewp.com/
6-
Tested up to: 6.5
6+
Tested up to: 6.6
77
Requires PHP: 7.4
8-
Stable tag: 2.0.6
8+
Stable tag: 2.0.7
99
License: GPLv3
1010
License URI: http://www.gnu.org/licenses/gpl-3.0.html
1111

@@ -106,6 +106,11 @@ This is the first version of this plugin. It is a tool for your convenience. Rol
106106

107107
== Changelog ==
108108

109+
= 2.0.7 =
110+
* Fix: Resolved a bug with plain permalink websites which caused a `rest_no_route` error when trying to rollback a plugin or theme. Thanks, @afizesan for helping pinpoint the issue.
111+
* Fix: Update the way the React app is loaded to suppress React 18+ warnings.
112+
* Tweak: Bumped the plugin's minimum required WordPress version to 6.0+ for best compatibility with new React components in UI.
113+
109114
= 2.0.6 =
110115
Fix: The release corrects the paths used in plugin file includes and requires. The unnecessary forward slashes at the start of each file path have been removed. This change ensures proper file inclusion and requirement, avoiding potential issues with file not found errors.
111116

0 commit comments

Comments
 (0)