mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2025-12-10 09:22:40 +01:00
Add multiarch support and GitHub actions. Support even older versions with newest features
This commit is contained in:
@@ -12,7 +12,7 @@ WP_VERSION=$(echo "${WP_VERSION}" | sed --expression='s/.0//g');
|
||||
function disableUpdatesPatch() {
|
||||
if [ "${DISABLE_WP_UPDATES}" != "false" ]; then
|
||||
echo "> Disabling WordPress updates..."
|
||||
patch /var/www/html/wp-admin/update-core.php </etc/wp-mods/wp-admin/update-core.php.patch
|
||||
patch /var/www/html/wp-admin/update-core.php </etc/wp-mods/wp-admin/wp-admin-update-core.patch
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user