From 5916ff0dbd723bc7745f31a332656ea295051e9f Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 19 Dec 2023 01:10:29 +0100 Subject: [PATCH 1/3] Attempt to fix the change url thing, we don't need the maintenance mode, this thing is expected to take just a few seconds ... --- scripts/change_url | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 619a3e1..b61e5d3 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -1,11 +1,5 @@ #!/bin/bash -#================================================= -# GENERIC STARTING -#================================================= -# IMPORT GENERIC HELPERS -#================================================= - source _common.sh source /usr/share/yunohost/helpers @@ -19,25 +13,10 @@ then ynh_die --message="https://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Multisite" fi -#================================================= -# ACTIVATE MAINTENANCE MODE -#================================================= - -path=$old_path -domain=$old_domain -ynh_maintenance_mode_ON - -#================================================= -# STANDARD MODIFICATIONS -#================================================= -# MODIFY URL IN NGINX CONF -#================================================= ynh_script_progression --message="Updating NGINX web server configuration..." --weight=3 ynh_change_url_nginx_config -#================================================= -# SPECIFIC MODIFICATIONS #================================================= # UPDATE THE DATABASE #================================================= @@ -48,14 +27,6 @@ db_prefix=$(grep '^$table_prefix' "$install_dir/wp-config.php" | sed "s/.*'\(.*\ ynh_mysql_execute_as_root --sql="UPDATE ${db_prefix}options SET option_value='https://$new_domain$new_path' WHERE option_name='siteurl'" --database=$app ynh_mysql_execute_as_root --sql="UPDATE ${db_prefix}options SET option_value='https://$new_domain$new_path' WHERE option_name='home'" --database=$app -#================================================= -# DEACTIVE MAINTENANCE MODE -#================================================= - -path=$old_path -domain=$old_domain -ynh_maintenance_mode_OFF - #================================================= # END OF SCRIPT #================================================= From d425e2b4a03043f1ddb793f59ae7219a6e4ddcc9 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Date: Tue, 19 Dec 2023 02:08:16 +0100 Subject: [PATCH 2/3] Update manifest.toml --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 32b8390..c686673 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "WordPress" description.en = "Create a beautiful blog or website easily" description.fr = "Logiciel de création de blog ou de site Web" -version = "6.4.2~ynh1" +version = "6.4.2~ynh2" maintainers = ["kay0u"] From 033dd87b142e8d4608bfb50d0aa1c73dd591c2be Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Tue, 19 Dec 2023 01:08:22 +0000 Subject: [PATCH 3/3] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e2c9899..d2f8fe1 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ WordPress is open source software you can use to create a beautiful website, blo With this package, you can even activate the [multisite](https://wordpress.org/support/article/glossary/#multisite) option. -**Shipped version:** 6.4.2~ynh1 +**Shipped version:** 6.4.2~ynh2 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 47abe6e..bfaaf34 100644 --- a/README_fr.md +++ b/README_fr.md @@ -20,7 +20,7 @@ WordPress est un logiciel libre que vous pouvez utiliser pour créer un site ou Avec ce package, vous pouvez même activer l'option [multisite](https://codex.wordpress.org/Glossary#Multisite). -**Version incluse :** 6.4.2~ynh1 +**Version incluse :** 6.4.2~ynh2 ## Captures d’écran