mirror of
https://ghproxy.net/https://github.com/elementor/wp2static-addon-netlify.git
synced 2025-10-04 04:21:51 +08:00
ver 1.0.1
This commit is contained in:
parent
095d4ea913
commit
6ee1bf0498
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
## WP2Static Netlify Add-on 1.0.1
|
||||||
|
|
||||||
|
- fix CLI command registration in PHP 8
|
||||||
|
|
||||||
## WP2Static Netlify Add-on 1.0
|
## WP2Static Netlify Add-on 1.0
|
||||||
|
|
||||||
- don't attempt to deploy if addon not enabled in core
|
- don't attempt to deploy if addon not enabled in core
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* Plugin Name: WP2Static Add-on: Netlify Deployment
|
* Plugin Name: WP2Static Add-on: Netlify Deployment
|
||||||
* Plugin URI: https://wp2static.com
|
* Plugin URI: https://wp2static.com
|
||||||
* Description: Netlify deployment add-on for WP2Static.
|
* Description: Netlify deployment add-on for WP2Static.
|
||||||
* Version: 1.0.1-dev
|
* Version: 1.0.1
|
||||||
* Author: Leon Stafford
|
* Author: Leon Stafford
|
||||||
* Author URI: https://ljs.dev
|
* Author URI: https://ljs.dev
|
||||||
* License: Unlicense
|
* License: Unlicense
|
||||||
|
@ -17,7 +17,7 @@ if ( ! defined( 'WPINC' ) ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
define( 'WP2STATIC_NETLIFY_PATH', plugin_dir_path( __FILE__ ) );
|
define( 'WP2STATIC_NETLIFY_PATH', plugin_dir_path( __FILE__ ) );
|
||||||
define( 'WP2STATIC_NETLIFY_VERSION', '1.0.1-dev' );
|
define( 'WP2STATIC_NETLIFY_VERSION', '1.0.1' );
|
||||||
|
|
||||||
if ( file_exists( WP2STATIC_NETLIFY_PATH . 'vendor/autoload.php' ) ) {
|
if ( file_exists( WP2STATIC_NETLIFY_PATH . 'vendor/autoload.php' ) ) {
|
||||||
require WP2STATIC_NETLIFY_PATH . 'vendor/autoload.php';
|
require WP2STATIC_NETLIFY_PATH . 'vendor/autoload.php';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue