Skip to content

Commit

Permalink
Release/2.0.3 (#25)
Browse files Browse the repository at this point in the history
* update newfold modules: coming soon, marketplace, notifications, performance

* version bump and add upgrade routine for version

* marketplace test updates
  • Loading branch information
circlecube authored Nov 16, 2022
1 parent c051ede commit 95ff4b2
Show file tree
Hide file tree
Showing 8 changed files with 1,462 additions and 586 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@
"require": {
"doctrine/inflector": "1.2.0 as 1.3.1",
"newfold-labs/wp-module-business-reviews": "^1.1",
"newfold-labs/wp-module-coming-soon": "^1.0.7",
"newfold-labs/wp-module-coming-soon": "^1.1.0",
"newfold-labs/wp-module-data": "^2.0.0",
"newfold-labs/wp-module-loader": "^1.0",
"newfold-labs/wp-module-marketplace": "^1.2",
"newfold-labs/wp-module-notifications": "^1.0",
"newfold-labs/wp-module-performance": "^1.0",
"newfold-labs/wp-module-marketplace": "^1.4.6",
"newfold-labs/wp-module-notifications": "^1.1.0",
"newfold-labs/wp-module-performance": "^1.0.1",
"newfold-labs/wp-module-secure-passwords": "^1.1",
"newfold-labs/wp-module-sso": "^1.0",
"wp-forge/wp-update-handler": "^1.0",
Expand Down
154 changes: 59 additions & 95 deletions composer.lock

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions inc/upgrades/2.0.3.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php
/**
* Handle updates for version 2.0.3
*
* @package WPPluginMojo
*/

// Clear newfold_marketplace transient with update in [email protected]
if ( get_transient( 'newfold_marketplace' ) ) {
delete_transient( 'newfold_marketplace' );
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "wp-plugin-mojo",
"description": "WordPress plugin that integrates a WordPress site with Hosting",
"license": "GPL-2.0-or-later",
"version": "2.0.2",
"version": "2.0.3",
"private": true,
"author": {
"name": "Evan Mullins",
Expand Down
20 changes: 12 additions & 8 deletions src/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,18 @@ const AppBody = ( props ) => {
>
<Header />
<NewfoldNotifications
apiFetch={apiFetch}
classnames={classnames}
context='mojo-plugin'
filter={filter}
page={hashedPath}
resturl={window.WPPM.resturl}
useEffect={useEffect}
useState={useState}
constants={{
context: 'mojo-plugin',
page: hashedPath,
resturl: window.WPPM.resturl
}}
methods={{
apiFetch,
classnames,
filter,
useState,
useEffect
}}
/>
<div className="wppm-app-body">
<div className="wppm-app-body-inner">
Expand Down
Loading

0 comments on commit 95ff4b2

Please sign in to comment.