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.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 ### v3.16.1 - 2022-12-26
#### Fixed #### Fixed

View File

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

View File

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

View File

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

View File

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