Merge pull request #495 from WordOps/updating-configuration

Fix wpce options
This commit is contained in:
VirtuBox
2023-01-22 10:49:28 +01:00
committed by GitHub
5 changed files with 23 additions and 12 deletions

View File

@@ -8,6 +8,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### v3.17.0 - [Unreleased]
### v3.16.2 - 2023-01-21
#### Changed
- Allow all Communications Between Jetpack and WordPress.com ([PR #494](https://github.com/WordOps/WordOps/pull/494)) @ihfbib
#### Fixed
- GPG keys for Nginx repository on Debian
- Extplorer update for PHP 8.x
### v3.16.1 - 2022-12-26
#### Fixed

View File

@@ -9,7 +9,7 @@
# -------------------------------------------------------------------------
# wget -qO wo wops.cc && sudo -E bash wo
# -------------------------------------------------------------------------
# Version 3.16.1 - 2022-12-26
# Version 3.16.2 - 2023-01-21
# -------------------------------------------------------------------------
# CONTENTS

View File

@@ -27,7 +27,7 @@ if os.geteuid() == 0:
os.makedirs('/var/lib/wo/tmp/')
setup(name='wordops',
version='3.16.1',
version='3.16.2',
description='An essential toolset that eases server administration',
long_description=LONG,
long_description_content_type='text/markdown',

View File

@@ -592,16 +592,16 @@ def setupwordpress(self, data, vhostonly=False):
"""Install Cache-Enabler"""
if data['wpce']:
installwp_plugin(self, 'cache-enabler', data)
plugin_data_object = {"expires": 24,
"new_post": 1,
"new_comment": 0,
"webp": 0,
plugin_data_object = {"cache_expires": 24,
"clear_site_cache_on_saved_post": 1,
"clear_site_cache_on_saved_comment": 0,
"convert_image_urls_to_webp": 0,
"clear_on_upgrade": 1,
"compress": 0,
"excl_ids": "",
"excl_regexp": "",
"excl_cookies": "",
"incl_attributes": "",
"compress_cache": 1,
"excluded_post_ids": "",
"excluded_query_strings": "",
"excluded_cookies": "",
"minify_inline_css_js": 1,
"minify_html": 1}
plugin_data = json.dumps(plugin_data_object)
setupwp_plugin(self, 'cache-enabler', 'cache-enabler',

View File

@@ -15,7 +15,7 @@ class WOVar():
"""Intialization of core variables"""
# WordOps version
wo_version = "3.16.1"
wo_version = "3.16.2"
# WordOps packages versions
wo_wp_cli = "2.7.1"
wo_adminer = "4.8.1"