1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wordpress_ynh.git synced 2024-09-03 20:36:10 +02:00

Merge branch 'testing' into database_prefix

This commit is contained in:
Kayou 2019-12-04 10:20:02 +08:00 committed by GitHub
commit 4267fc3d03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 9 deletions

View file

@ -10,7 +10,7 @@ If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to
WordPress is open source software you can use to create a beautiful website, blog, or app. WordPress is open source software you can use to create a beautiful website, blog, or app.
With this package, you can even activate the [multisite](https://codex.wordpress.org/Glossary#Multisite) option. With this package, you can even activate the [multisite](https://codex.wordpress.org/Glossary#Multisite) option.
**Shipped version:** 5.2 **Shipped version:** 5.3
## Screenshots ## Screenshots

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://wordpress.org/wordpress-5.2.tar.gz SOURCE_URL=https://wordpress.org/wordpress-5.3.tar.gz
SOURCE_SUM=a45a23290f24ac7779e38a2bc8655344 SOURCE_SUM=b4ffcc17cbe6a6546fba4112d55e8ba5
SOURCE_SUM_PRG=md5sum SOURCE_SUM_PRG=md5sum
ARCH_FORMAT=tar.gz ARCH_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true

View file

@ -421,6 +421,6 @@ chdir = __FINALPATH__
;php_admin_flag[log_errors] = on ;php_admin_flag[log_errors] = on
;php_admin_value[memory_limit] = 32M ;php_admin_value[memory_limit] = 32M
php_admin_value[upload_max_filesize] = 30M php_admin_value[upload_max_filesize] = 50M
php_admin_value[memory_limit] = 30M php_admin_value[memory_limit] = 64M
php_admin_value[post_max_size] = 30M php_admin_value[post_max_size] = 50M

View file

@ -6,7 +6,7 @@
"en": "Create a beautiful blog or website easily", "en": "Create a beautiful blog or website easily",
"fr": "Logiciel de création de blog ou de site Web" "fr": "Logiciel de création de blog ou de site Web"
}, },
"version": "5.2~ynh1", "version": "5.3~ynh1",
"url": "https://wordpress.org/", "url": "https://wordpress.org/",
"license": "GPL-2.0", "license": "GPL-2.0",
"maintainer": { "maintainer": {

View file

@ -110,8 +110,8 @@ fi
# Get the database table prefix # Get the database table prefix
db_prefix=$(grep '^$table_prefix' "$final_path/wp-config.php" | sed "s/.*'\(.*\)'.*/\1/" ) db_prefix=$(grep '^$table_prefix' "$final_path/wp-config.php" | sed "s/.*'\(.*\)'.*/\1/" )
ynh_mysql_execute_as_root --sql="UPDATE ${db_prefix}options SET option_value='$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='siteurl'" --database=$app
ynh_mysql_execute_as_root --sql="UPDATE ${db_prefix}options SET option_value='$new_domain$new_path' WHERE option_name='home'" --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
#================================================= #=================================================
# UPDATE THE CRON # UPDATE THE CRON