Skip to content

Commit

Permalink
Merge pull request #83 from DevinWalker/develop
Browse files Browse the repository at this point in the history
Release 2.0.7
  • Loading branch information
DevinWalker authored Apr 30, 2024
2 parents 2825858 + 436e7ad commit d66dabc
Show file tree
Hide file tree
Showing 10 changed files with 396 additions and 271 deletions.
5 changes: 2 additions & 3 deletions .distignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
.git
.github
.wordpress-org
node_modules
.wordpress-orgnode_modules
src/*.js
src/**/*.js

.editorconfig
.gitignore
.prettierignore
.prettierrc.json
.prettierrc.js
composer.json
composer.lock
package.json
Expand Down
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ tab_width = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
max_line_length = 120

[*.txt]
trim_trailing_whitespace = false
17 changes: 11 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,10 @@ logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Coverage directory used by tools like istanbul
coverage
.idea

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
/build
/src/Strauss

# Dependency directories
node_modules/
Expand All @@ -25,11 +21,20 @@ node_modules/
# Output of 'npm pack'
*.tgz

# dotenv environment variables file
# dotenv environment variables files and directories
.env
.prettierignore
.prettierrc
.gitignore
/.idea/
.vscode
.DS_Store

# No composer stuff
/vendor/

# No language files
/languages/*

# Catch alls
wp-rollback.zip
20 changes: 10 additions & 10 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Ignore node modules
node_modules/*
# Ignore directories
.github
assets
build
node_modules
languages

# Ignore Composer packages
vendor/*

# Ignore Directories
sample-data/*

# Ignore Files
package-lock.json
# Ignore files
composer.lock
package-lock.json
phpcs.xml
.php-cs-fixer.cache
10 changes: 10 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const defaultConfig = require( '@wordpress/scripts/config/.prettierrc.js' );

// Add customizations to WordPress prettier config.
const config = {
...defaultConfig,
printWidth: 120,
useTabs: false,
};

module.exports = config;
7 changes: 0 additions & 7 deletions .prettierrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wp-rollback",
"version": "2.0.0",
"version": "2.0.7",
"description": "Rollback (or forward) any WordPress.org plugin, theme, or block like a boss.",
"homepage": "https://wprollback.com",
"author": "WP Rollback",
Expand Down
11 changes: 8 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
=== WP Rollback - Rollback Plugins and Themes ===
Contributors: dlocc, drrobotnik, webdevmattcrom, givewp
Tags: rollback, revert, downgrade, version, plugins, themes, version, versions, backup, backups, revision, revisions
Requires at least: 5.0
Requires at least: 6.0
Donate Link: https://givewp.com/
Tested up to: 6.5
Tested up to: 6.6
Requires PHP: 7.4
Stable tag: 2.0.6
Stable tag: 2.0.7
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

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

== Changelog ==

= 2.0.7 =
* 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.
* Fix: Update the way the React app is loaded to suppress React 18+ warnings.
* Tweak: Bumped the plugin's minimum required WordPress version to 6.0+ for best compatibility with new React components in UI.

= 2.0.6 =
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.

Expand Down
Loading

0 comments on commit d66dabc

Please sign in to comment.