-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update wordpress #16395
Merged
Merged
Update wordpress #16395
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Changes: - docker-library/wordpress@fffc9b5: Merge pull request docker-library/wordpress#886 from infosiftr/imagick-3.7.0 - docker-library/wordpress@509adb5: Update imagick package to 3.7.0 - docker-library/wordpress@8b7fb41: Apply upstream URL changes
Diff for 827f499:diff --git a/_bashbrew-cat b/_bashbrew-cat
index 1e932aa..db624c0 100644
--- a/_bashbrew-cat
+++ b/_bashbrew-cat
@@ -3,105 +3,105 @@ GitRepo: https://github.com/docker-library/wordpress.git
Tags: 6.4.3-apache, 6.4-apache, 6-apache, apache, 6.4.3, 6.4, 6, latest, 6.4.3-php8.2-apache, 6.4-php8.2-apache, 6-php8.2-apache, php8.2-apache, 6.4.3-php8.2, 6.4-php8.2, 6-php8.2, php8.2
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 06f28e291877002359e1075e4260123de5403551
+GitCommit: 509adb58cbc7463a03e317931df65868ec8a3e92
Directory: latest/php8.2/apache
Tags: 6.4.3-fpm, 6.4-fpm, 6-fpm, fpm, 6.4.3-php8.2-fpm, 6.4-php8.2-fpm, 6-php8.2-fpm, php8.2-fpm
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 06f28e291877002359e1075e4260123de5403551
+GitCommit: 509adb58cbc7463a03e317931df65868ec8a3e92
Directory: latest/php8.2/fpm
Tags: 6.4.3-fpm-alpine, 6.4-fpm-alpine, 6-fpm-alpine, fpm-alpine, 6.4.3-php8.2-fpm-alpine, 6.4-php8.2-fpm-alpine, 6-php8.2-fpm-alpine, php8.2-fpm-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 06f28e291877002359e1075e4260123de5403551
+GitCommit: 509adb58cbc7463a03e317931df65868ec8a3e92
Directory: latest/php8.2/fpm-alpine
Tags: 6.4.3-php8.1-apache, 6.4-php8.1-apache, 6-php8.1-apache, php8.1-apache, 6.4.3-php8.1, 6.4-php8.1, 6-php8.1, php8.1
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 06f28e291877002359e1075e4260123de5403551
+GitCommit: 509adb58cbc7463a03e317931df65868ec8a3e92
Directory: latest/php8.1/apache
Tags: 6.4.3-php8.1-fpm, 6.4-php8.1-fpm, 6-php8.1-fpm, php8.1-fpm
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 06f28e291877002359e1075e4260123de5403551
+GitCommit: 509adb58cbc7463a03e317931df65868ec8a3e92
Directory: latest/php8.1/fpm
Tags: 6.4.3-php8.1-fpm-alpine, 6.4-php8.1-fpm-alpine, 6-php8.1-fpm-alpine, php8.1-fpm-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 06f28e291877002359e1075e4260123de5403551
+GitCommit: 509adb58cbc7463a03e317931df65868ec8a3e92
Directory: latest/php8.1/fpm-alpine
Tags: 6.4.3-php8.3-apache, 6.4-php8.3-apache, 6-php8.3-apache, php8.3-apache, 6.4.3-php8.3, 6.4-php8.3, 6-php8.3, php8.3
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 06f28e291877002359e1075e4260123de5403551
+GitCommit: 509adb58cbc7463a03e317931df65868ec8a3e92
Directory: latest/php8.3/apache
Tags: 6.4.3-php8.3-fpm, 6.4-php8.3-fpm, 6-php8.3-fpm, php8.3-fpm
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 06f28e291877002359e1075e4260123de5403551
+GitCommit: 509adb58cbc7463a03e317931df65868ec8a3e92
Directory: latest/php8.3/fpm
Tags: 6.4.3-php8.3-fpm-alpine, 6.4-php8.3-fpm-alpine, 6-php8.3-fpm-alpine, php8.3-fpm-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 06f28e291877002359e1075e4260123de5403551
+GitCommit: 509adb58cbc7463a03e317931df65868ec8a3e92
Directory: latest/php8.3/fpm-alpine
Tags: beta-6.5-RC1-apache, beta-6.5-apache, beta-6-apache, beta-apache, beta-6.5-RC1, beta-6.5, beta-6, beta, beta-6.5-RC1-php8.2-apache, beta-6.5-php8.2-apache, beta-6-php8.2-apache, beta-php8.2-apache, beta-6.5-RC1-php8.2, beta-6.5-php8.2, beta-6-php8.2, beta-php8.2
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 66ea52263f266f6bdb969e64f819c3c72a74a436
+GitCommit: 509adb58cbc7463a03e317931df65868ec8a3e92
Directory: beta/php8.2/apache
Tags: beta-6.5-RC1-fpm, beta-6.5-fpm, beta-6-fpm, beta-fpm, beta-6.5-RC1-php8.2-fpm, beta-6.5-php8.2-fpm, beta-6-php8.2-fpm, beta-php8.2-fpm
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 66ea52263f266f6bdb969e64f819c3c72a74a436
+GitCommit: 509adb58cbc7463a03e317931df65868ec8a3e92
Directory: beta/php8.2/fpm
Tags: beta-6.5-RC1-fpm-alpine, beta-6.5-fpm-alpine, beta-6-fpm-alpine, beta-fpm-alpine, beta-6.5-RC1-php8.2-fpm-alpine, beta-6.5-php8.2-fpm-alpine, beta-6-php8.2-fpm-alpine, beta-php8.2-fpm-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 66ea52263f266f6bdb969e64f819c3c72a74a436
+GitCommit: 509adb58cbc7463a03e317931df65868ec8a3e92
Directory: beta/php8.2/fpm-alpine
Tags: beta-6.5-RC1-php8.1-apache, beta-6.5-php8.1-apache, beta-6-php8.1-apache, beta-php8.1-apache, beta-6.5-RC1-php8.1, beta-6.5-php8.1, beta-6-php8.1, beta-php8.1
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 66ea52263f266f6bdb969e64f819c3c72a74a436
+GitCommit: 509adb58cbc7463a03e317931df65868ec8a3e92
Directory: beta/php8.1/apache
Tags: beta-6.5-RC1-php8.1-fpm, beta-6.5-php8.1-fpm, beta-6-php8.1-fpm, beta-php8.1-fpm
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 66ea52263f266f6bdb969e64f819c3c72a74a436
+GitCommit: 509adb58cbc7463a03e317931df65868ec8a3e92
Directory: beta/php8.1/fpm
Tags: beta-6.5-RC1-php8.1-fpm-alpine, beta-6.5-php8.1-fpm-alpine, beta-6-php8.1-fpm-alpine, beta-php8.1-fpm-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 66ea52263f266f6bdb969e64f819c3c72a74a436
+GitCommit: 509adb58cbc7463a03e317931df65868ec8a3e92
Directory: beta/php8.1/fpm-alpine
Tags: beta-6.5-RC1-php8.3-apache, beta-6.5-php8.3-apache, beta-6-php8.3-apache, beta-php8.3-apache, beta-6.5-RC1-php8.3, beta-6.5-php8.3, beta-6-php8.3, beta-php8.3
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 66ea52263f266f6bdb969e64f819c3c72a74a436
+GitCommit: 509adb58cbc7463a03e317931df65868ec8a3e92
Directory: beta/php8.3/apache
Tags: beta-6.5-RC1-php8.3-fpm, beta-6.5-php8.3-fpm, beta-6-php8.3-fpm, beta-php8.3-fpm
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 66ea52263f266f6bdb969e64f819c3c72a74a436
+GitCommit: 509adb58cbc7463a03e317931df65868ec8a3e92
Directory: beta/php8.3/fpm
Tags: beta-6.5-RC1-php8.3-fpm-alpine, beta-6.5-php8.3-fpm-alpine, beta-6-php8.3-fpm-alpine, beta-php8.3-fpm-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 66ea52263f266f6bdb969e64f819c3c72a74a436
+GitCommit: 509adb58cbc7463a03e317931df65868ec8a3e92
Directory: beta/php8.3/fpm-alpine
Tags: cli-2.10.0, cli-2.10, cli-2, cli, cli-2.10.0-php8.2, cli-2.10-php8.2, cli-2-php8.2, cli-php8.2
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: bb6296613aad365656cbba4933c2f7bd135bf243
+GitCommit: 509adb58cbc7463a03e317931df65868ec8a3e92
Directory: cli/php8.2/alpine
Tags: cli-2.10.0-php8.1, cli-2.10-php8.1, cli-2-php8.1, cli-php8.1
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: bb6296613aad365656cbba4933c2f7bd135bf243
+GitCommit: 509adb58cbc7463a03e317931df65868ec8a3e92
Directory: cli/php8.1/alpine
Tags: cli-2.10.0-php8.3, cli-2.10-php8.3, cli-2-php8.3, cli-php8.3
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: bb6296613aad365656cbba4933c2f7bd135bf243
+GitCommit: 509adb58cbc7463a03e317931df65868ec8a3e92
Directory: cli/php8.3/alpine
diff --git a/wordpress_beta-php8.1-fpm-alpine/Dockerfile b/wordpress_beta-php8.1-fpm-alpine/Dockerfile
index 0a2e981..ebfbeb0 100644
--- a/wordpress_beta-php8.1-fpm-alpine/Dockerfile
+++ b/wordpress_beta-php8.1-fpm-alpine/Dockerfile
@@ -46,9 +46,18 @@ RUN set -ex; \
; \
# WARNING: imagick is likely not supported on Alpine: https://github.com/Imagick/imagick/issues/328
# https://pecl.php.net/package/imagick
- pecl install imagick-3.6.0; \
- docker-php-ext-enable imagick; \
- rm -r /tmp/pear; \
+# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔)
+# see also https://github.com/Imagick/imagick/pull/641
+# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit
+ curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \
+ echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \
+ tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \
+ sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \
+ docker-php-ext-install /tmp/imagick-3.7.0; \
+ rm -rf imagick.tgz /tmp/imagick-3.7.0; \
\
# some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967)
out="$(php -r 'exit(0);')"; \
diff --git a/wordpress_beta-php8.1-fpm-alpine/wp-config-docker.php b/wordpress_beta-php8.1-fpm-alpine/wp-config-docker.php
index 9cd3bab..7da50ee 100644
--- a/wordpress_beta-php8.1-fpm-alpine/wp-config-docker.php
+++ b/wordpress_beta-php8.1-fpm-alpine/wp-config-docker.php
@@ -15,7 +15,7 @@
*
* This has been slightly modified (to read environment variables) for use in Docker.
*
- * @link https://wordpress.org/documentation/article/editing-wp-config-php/
+ * @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/
*
* @package WordPress
*/
@@ -105,7 +105,7 @@ $table_prefix = getenv_docker('WORDPRESS_TABLE_PREFIX', 'wp_');
* For information on other constants that can be used for debugging,
* visit the documentation.
*
- * @link https://wordpress.org/documentation/article/debugging-in-wordpress/
+ * @link https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
*/
define( 'WP_DEBUG', !!getenv_docker('WORDPRESS_DEBUG', '') );
diff --git a/wordpress_beta-php8.1-fpm/Dockerfile b/wordpress_beta-php8.1-fpm/Dockerfile
index f354445..c222ecb 100644
--- a/wordpress_beta-php8.1-fpm/Dockerfile
+++ b/wordpress_beta-php8.1-fpm/Dockerfile
@@ -45,9 +45,18 @@ RUN set -ex; \
zip \
; \
# https://pecl.php.net/package/imagick
- pecl install imagick-3.6.0; \
- docker-php-ext-enable imagick; \
- rm -r /tmp/pear; \
+# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔)
+# see also https://github.com/Imagick/imagick/pull/641
+# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit
+ curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \
+ echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \
+ tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \
+ sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \
+ docker-php-ext-install /tmp/imagick-3.7.0; \
+ rm -rf imagick.tgz /tmp/imagick-3.7.0; \
\
# some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967)
out="$(php -r 'exit(0);')"; \
diff --git a/wordpress_beta-php8.1-fpm/wp-config-docker.php b/wordpress_beta-php8.1-fpm/wp-config-docker.php
index 9cd3bab..7da50ee 100644
--- a/wordpress_beta-php8.1-fpm/wp-config-docker.php
+++ b/wordpress_beta-php8.1-fpm/wp-config-docker.php
@@ -15,7 +15,7 @@
*
* This has been slightly modified (to read environment variables) for use in Docker.
*
- * @link https://wordpress.org/documentation/article/editing-wp-config-php/
+ * @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/
*
* @package WordPress
*/
@@ -105,7 +105,7 @@ $table_prefix = getenv_docker('WORDPRESS_TABLE_PREFIX', 'wp_');
* For information on other constants that can be used for debugging,
* visit the documentation.
*
- * @link https://wordpress.org/documentation/article/debugging-in-wordpress/
+ * @link https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
*/
define( 'WP_DEBUG', !!getenv_docker('WORDPRESS_DEBUG', '') );
diff --git a/wordpress_beta-php8.1/Dockerfile b/wordpress_beta-php8.1/Dockerfile
index fe32df1..7131b8c 100644
--- a/wordpress_beta-php8.1/Dockerfile
+++ b/wordpress_beta-php8.1/Dockerfile
@@ -45,9 +45,18 @@ RUN set -ex; \
zip \
; \
# https://pecl.php.net/package/imagick
- pecl install imagick-3.6.0; \
- docker-php-ext-enable imagick; \
- rm -r /tmp/pear; \
+# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔)
+# see also https://github.com/Imagick/imagick/pull/641
+# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit
+ curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \
+ echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \
+ tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \
+ sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \
+ docker-php-ext-install /tmp/imagick-3.7.0; \
+ rm -rf imagick.tgz /tmp/imagick-3.7.0; \
\
# some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967)
out="$(php -r 'exit(0);')"; \
diff --git a/wordpress_beta-php8.1/wp-config-docker.php b/wordpress_beta-php8.1/wp-config-docker.php
index 9cd3bab..7da50ee 100644
--- a/wordpress_beta-php8.1/wp-config-docker.php
+++ b/wordpress_beta-php8.1/wp-config-docker.php
@@ -15,7 +15,7 @@
*
* This has been slightly modified (to read environment variables) for use in Docker.
*
- * @link https://wordpress.org/documentation/article/editing-wp-config-php/
+ * @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/
*
* @package WordPress
*/
@@ -105,7 +105,7 @@ $table_prefix = getenv_docker('WORDPRESS_TABLE_PREFIX', 'wp_');
* For information on other constants that can be used for debugging,
* visit the documentation.
*
- * @link https://wordpress.org/documentation/article/debugging-in-wordpress/
+ * @link https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
*/
define( 'WP_DEBUG', !!getenv_docker('WORDPRESS_DEBUG', '') );
diff --git a/wordpress_beta-php8.2-fpm-alpine/Dockerfile b/wordpress_beta-php8.2-fpm-alpine/Dockerfile
index 9fb8a93..47b034e 100644
--- a/wordpress_beta-php8.2-fpm-alpine/Dockerfile
+++ b/wordpress_beta-php8.2-fpm-alpine/Dockerfile
@@ -46,9 +46,18 @@ RUN set -ex; \
; \
# WARNING: imagick is likely not supported on Alpine: https://github.com/Imagick/imagick/issues/328
# https://pecl.php.net/package/imagick
- pecl install imagick-3.6.0; \
- docker-php-ext-enable imagick; \
- rm -r /tmp/pear; \
+# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔)
+# see also https://github.com/Imagick/imagick/pull/641
+# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit
+ curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \
+ echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \
+ tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \
+ sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \
+ docker-php-ext-install /tmp/imagick-3.7.0; \
+ rm -rf imagick.tgz /tmp/imagick-3.7.0; \
\
# some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967)
out="$(php -r 'exit(0);')"; \
diff --git a/wordpress_beta-php8.2-fpm-alpine/wp-config-docker.php b/wordpress_beta-php8.2-fpm-alpine/wp-config-docker.php
index 9cd3bab..7da50ee 100644
--- a/wordpress_beta-php8.2-fpm-alpine/wp-config-docker.php
+++ b/wordpress_beta-php8.2-fpm-alpine/wp-config-docker.php
@@ -15,7 +15,7 @@
*
* This has been slightly modified (to read environment variables) for use in Docker.
*
- * @link https://wordpress.org/documentation/article/editing-wp-config-php/
+ * @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/
*
* @package WordPress
*/
@@ -105,7 +105,7 @@ $table_prefix = getenv_docker('WORDPRESS_TABLE_PREFIX', 'wp_');
* For information on other constants that can be used for debugging,
* visit the documentation.
*
- * @link https://wordpress.org/documentation/article/debugging-in-wordpress/
+ * @link https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
*/
define( 'WP_DEBUG', !!getenv_docker('WORDPRESS_DEBUG', '') );
diff --git a/wordpress_beta-php8.2-fpm/Dockerfile b/wordpress_beta-php8.2-fpm/Dockerfile
index a870c0c..6cebd43 100644
--- a/wordpress_beta-php8.2-fpm/Dockerfile
+++ b/wordpress_beta-php8.2-fpm/Dockerfile
@@ -45,9 +45,18 @@ RUN set -ex; \
zip \
; \
# https://pecl.php.net/package/imagick
- pecl install imagick-3.6.0; \
- docker-php-ext-enable imagick; \
- rm -r /tmp/pear; \
+# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔)
+# see also https://github.com/Imagick/imagick/pull/641
+# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit
+ curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \
+ echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \
+ tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \
+ sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \
+ docker-php-ext-install /tmp/imagick-3.7.0; \
+ rm -rf imagick.tgz /tmp/imagick-3.7.0; \
\
# some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967)
out="$(php -r 'exit(0);')"; \
diff --git a/wordpress_beta-php8.2-fpm/wp-config-docker.php b/wordpress_beta-php8.2-fpm/wp-config-docker.php
index 9cd3bab..7da50ee 100644
--- a/wordpress_beta-php8.2-fpm/wp-config-docker.php
+++ b/wordpress_beta-php8.2-fpm/wp-config-docker.php
@@ -15,7 +15,7 @@
*
* This has been slightly modified (to read environment variables) for use in Docker.
*
- * @link https://wordpress.org/documentation/article/editing-wp-config-php/
+ * @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/
*
* @package WordPress
*/
@@ -105,7 +105,7 @@ $table_prefix = getenv_docker('WORDPRESS_TABLE_PREFIX', 'wp_');
* For information on other constants that can be used for debugging,
* visit the documentation.
*
- * @link https://wordpress.org/documentation/article/debugging-in-wordpress/
+ * @link https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
*/
define( 'WP_DEBUG', !!getenv_docker('WORDPRESS_DEBUG', '') );
diff --git a/wordpress_beta-php8.2/Dockerfile b/wordpress_beta-php8.2/Dockerfile
index d322b6c..fb86fe1 100644
--- a/wordpress_beta-php8.2/Dockerfile
+++ b/wordpress_beta-php8.2/Dockerfile
@@ -45,9 +45,18 @@ RUN set -ex; \
zip \
; \
# https://pecl.php.net/package/imagick
- pecl install imagick-3.6.0; \
- docker-php-ext-enable imagick; \
- rm -r /tmp/pear; \
+# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔)
+# see also https://github.com/Imagick/imagick/pull/641
+# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit
+ curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \
+ echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \
+ tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \
+ sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \
+ docker-php-ext-install /tmp/imagick-3.7.0; \
+ rm -rf imagick.tgz /tmp/imagick-3.7.0; \
\
# some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967)
out="$(php -r 'exit(0);')"; \
diff --git a/wordpress_beta-php8.2/wp-config-docker.php b/wordpress_beta-php8.2/wp-config-docker.php
index 9cd3bab..7da50ee 100644
--- a/wordpress_beta-php8.2/wp-config-docker.php
+++ b/wordpress_beta-php8.2/wp-config-docker.php
@@ -15,7 +15,7 @@
*
* This has been slightly modified (to read environment variables) for use in Docker.
*
- * @link https://wordpress.org/documentation/article/editing-wp-config-php/
+ * @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/
*
* @package WordPress
*/
@@ -105,7 +105,7 @@ $table_prefix = getenv_docker('WORDPRESS_TABLE_PREFIX', 'wp_');
* For information on other constants that can be used for debugging,
* visit the documentation.
*
- * @link https://wordpress.org/documentation/article/debugging-in-wordpress/
+ * @link https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
*/
define( 'WP_DEBUG', !!getenv_docker('WORDPRESS_DEBUG', '') );
diff --git a/wordpress_beta-php8.3-fpm-alpine/Dockerfile b/wordpress_beta-php8.3-fpm-alpine/Dockerfile
index 3509da0..e4b0104 100644
--- a/wordpress_beta-php8.3-fpm-alpine/Dockerfile
+++ b/wordpress_beta-php8.3-fpm-alpine/Dockerfile
@@ -46,9 +46,18 @@ RUN set -ex; \
; \
# WARNING: imagick is likely not supported on Alpine: https://github.com/Imagick/imagick/issues/328
# https://pecl.php.net/package/imagick
- pecl install imagick-3.6.0; \
- docker-php-ext-enable imagick; \
- rm -r /tmp/pear; \
+# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔)
+# see also https://github.com/Imagick/imagick/pull/641
+# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit
+ curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \
+ echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \
+ tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \
+ sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \
+ docker-php-ext-install /tmp/imagick-3.7.0; \
+ rm -rf imagick.tgz /tmp/imagick-3.7.0; \
\
# some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967)
out="$(php -r 'exit(0);')"; \
diff --git a/wordpress_beta-php8.3-fpm-alpine/wp-config-docker.php b/wordpress_beta-php8.3-fpm-alpine/wp-config-docker.php
index 9cd3bab..7da50ee 100644
--- a/wordpress_beta-php8.3-fpm-alpine/wp-config-docker.php
+++ b/wordpress_beta-php8.3-fpm-alpine/wp-config-docker.php
@@ -15,7 +15,7 @@
*
* This has been slightly modified (to read environment variables) for use in Docker.
*
- * @link https://wordpress.org/documentation/article/editing-wp-config-php/
+ * @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/
*
* @package WordPress
*/
@@ -105,7 +105,7 @@ $table_prefix = getenv_docker('WORDPRESS_TABLE_PREFIX', 'wp_');
* For information on other constants that can be used for debugging,
* visit the documentation.
*
- * @link https://wordpress.org/documentation/article/debugging-in-wordpress/
+ * @link https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
*/
define( 'WP_DEBUG', !!getenv_docker('WORDPRESS_DEBUG', '') );
diff --git a/wordpress_beta-php8.3-fpm/Dockerfile b/wordpress_beta-php8.3-fpm/Dockerfile
index 8effd12..3fb7141 100644
--- a/wordpress_beta-php8.3-fpm/Dockerfile
+++ b/wordpress_beta-php8.3-fpm/Dockerfile
@@ -45,9 +45,18 @@ RUN set -ex; \
zip \
; \
# https://pecl.php.net/package/imagick
- pecl install imagick-3.6.0; \
- docker-php-ext-enable imagick; \
- rm -r /tmp/pear; \
+# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔)
+# see also https://github.com/Imagick/imagick/pull/641
+# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit
+ curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \
+ echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \
+ tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \
+ sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \
+ docker-php-ext-install /tmp/imagick-3.7.0; \
+ rm -rf imagick.tgz /tmp/imagick-3.7.0; \
\
# some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967)
out="$(php -r 'exit(0);')"; \
diff --git a/wordpress_beta-php8.3-fpm/wp-config-docker.php b/wordpress_beta-php8.3-fpm/wp-config-docker.php
index 9cd3bab..7da50ee 100644
--- a/wordpress_beta-php8.3-fpm/wp-config-docker.php
+++ b/wordpress_beta-php8.3-fpm/wp-config-docker.php
@@ -15,7 +15,7 @@
*
* This has been slightly modified (to read environment variables) for use in Docker.
*
- * @link https://wordpress.org/documentation/article/editing-wp-config-php/
+ * @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/
*
* @package WordPress
*/
@@ -105,7 +105,7 @@ $table_prefix = getenv_docker('WORDPRESS_TABLE_PREFIX', 'wp_');
* For information on other constants that can be used for debugging,
* visit the documentation.
*
- * @link https://wordpress.org/documentation/article/debugging-in-wordpress/
+ * @link https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
*/
define( 'WP_DEBUG', !!getenv_docker('WORDPRESS_DEBUG', '') );
diff --git a/wordpress_beta-php8.3/Dockerfile b/wordpress_beta-php8.3/Dockerfile
index 3de8137..9b40a62 100644
--- a/wordpress_beta-php8.3/Dockerfile
+++ b/wordpress_beta-php8.3/Dockerfile
@@ -45,9 +45,18 @@ RUN set -ex; \
zip \
; \
# https://pecl.php.net/package/imagick
- pecl install imagick-3.6.0; \
- docker-php-ext-enable imagick; \
- rm -r /tmp/pear; \
+# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔)
+# see also https://github.com/Imagick/imagick/pull/641
+# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit
+ curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \
+ echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \
+ tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \
+ sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \
+ docker-php-ext-install /tmp/imagick-3.7.0; \
+ rm -rf imagick.tgz /tmp/imagick-3.7.0; \
\
# some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967)
out="$(php -r 'exit(0);')"; \
diff --git a/wordpress_beta-php8.3/wp-config-docker.php b/wordpress_beta-php8.3/wp-config-docker.php
index 9cd3bab..7da50ee 100644
--- a/wordpress_beta-php8.3/wp-config-docker.php
+++ b/wordpress_beta-php8.3/wp-config-docker.php
@@ -15,7 +15,7 @@
*
* This has been slightly modified (to read environment variables) for use in Docker.
*
- * @link https://wordpress.org/documentation/article/editing-wp-config-php/
+ * @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/
*
* @package WordPress
*/
@@ -105,7 +105,7 @@ $table_prefix = getenv_docker('WORDPRESS_TABLE_PREFIX', 'wp_');
* For information on other constants that can be used for debugging,
* visit the documentation.
*
- * @link https://wordpress.org/documentation/article/debugging-in-wordpress/
+ * @link https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
*/
define( 'WP_DEBUG', !!getenv_docker('WORDPRESS_DEBUG', '') );
diff --git a/wordpress_cli-php8.1/Dockerfile b/wordpress_cli-php8.1/Dockerfile
index 9de6515..8c6b98a 100644
--- a/wordpress_cli-php8.1/Dockerfile
+++ b/wordpress_cli-php8.1/Dockerfile
@@ -47,9 +47,18 @@ RUN set -ex; \
; \
# WARNING: imagick is likely not supported on Alpine: https://github.com/Imagick/imagick/issues/328
# https://pecl.php.net/package/imagick
- pecl install imagick-3.6.0; \
- docker-php-ext-enable imagick; \
- rm -r /tmp/pear; \
+# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔)
+# see also https://github.com/Imagick/imagick/pull/641
+# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit
+ curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \
+ echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \
+ tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \
+ sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \
+ docker-php-ext-install /tmp/imagick-3.7.0; \
+ rm -rf imagick.tgz /tmp/imagick-3.7.0; \
\
# some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967)
out="$(php -r 'exit(0);')"; \
diff --git a/wordpress_cli-php8.2/Dockerfile b/wordpress_cli-php8.2/Dockerfile
index f89a1d7..3c6e6c8 100644
--- a/wordpress_cli-php8.2/Dockerfile
+++ b/wordpress_cli-php8.2/Dockerfile
@@ -47,9 +47,18 @@ RUN set -ex; \
; \
# WARNING: imagick is likely not supported on Alpine: https://github.com/Imagick/imagick/issues/328
# https://pecl.php.net/package/imagick
- pecl install imagick-3.6.0; \
- docker-php-ext-enable imagick; \
- rm -r /tmp/pear; \
+# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔)
+# see also https://github.com/Imagick/imagick/pull/641
+# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit
+ curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \
+ echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \
+ tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \
+ sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \
+ docker-php-ext-install /tmp/imagick-3.7.0; \
+ rm -rf imagick.tgz /tmp/imagick-3.7.0; \
\
# some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967)
out="$(php -r 'exit(0);')"; \
diff --git a/wordpress_cli-php8.3/Dockerfile b/wordpress_cli-php8.3/Dockerfile
index f2a3c0a..8c7744e 100644
--- a/wordpress_cli-php8.3/Dockerfile
+++ b/wordpress_cli-php8.3/Dockerfile
@@ -47,9 +47,18 @@ RUN set -ex; \
; \
# WARNING: imagick is likely not supported on Alpine: https://github.com/Imagick/imagick/issues/328
# https://pecl.php.net/package/imagick
- pecl install imagick-3.6.0; \
- docker-php-ext-enable imagick; \
- rm -r /tmp/pear; \
+# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔)
+# see also https://github.com/Imagick/imagick/pull/641
+# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit
+ curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \
+ echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \
+ tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \
+ sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \
+ docker-php-ext-install /tmp/imagick-3.7.0; \
+ rm -rf imagick.tgz /tmp/imagick-3.7.0; \
\
# some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967)
out="$(php -r 'exit(0);')"; \
diff --git a/wordpress_php8.1-fpm-alpine/Dockerfile b/wordpress_php8.1-fpm-alpine/Dockerfile
index 3645119..a474cca 100644
--- a/wordpress_php8.1-fpm-alpine/Dockerfile
+++ b/wordpress_php8.1-fpm-alpine/Dockerfile
@@ -46,9 +46,18 @@ RUN set -ex; \
; \
# WARNING: imagick is likely not supported on Alpine: https://github.com/Imagick/imagick/issues/328
# https://pecl.php.net/package/imagick
- pecl install imagick-3.6.0; \
- docker-php-ext-enable imagick; \
- rm -r /tmp/pear; \
+# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔)
+# see also https://github.com/Imagick/imagick/pull/641
+# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit
+ curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \
+ echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \
+ tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \
+ sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \
+ docker-php-ext-install /tmp/imagick-3.7.0; \
+ rm -rf imagick.tgz /tmp/imagick-3.7.0; \
\
# some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967)
out="$(php -r 'exit(0);')"; \
diff --git a/wordpress_php8.1-fpm-alpine/wp-config-docker.php b/wordpress_php8.1-fpm-alpine/wp-config-docker.php
index 9cd3bab..7da50ee 100644
--- a/wordpress_php8.1-fpm-alpine/wp-config-docker.php
+++ b/wordpress_php8.1-fpm-alpine/wp-config-docker.php
@@ -15,7 +15,7 @@
*
* This has been slightly modified (to read environment variables) for use in Docker.
*
- * @link https://wordpress.org/documentation/article/editing-wp-config-php/
+ * @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/
*
* @package WordPress
*/
@@ -105,7 +105,7 @@ $table_prefix = getenv_docker('WORDPRESS_TABLE_PREFIX', 'wp_');
* For information on other constants that can be used for debugging,
* visit the documentation.
*
- * @link https://wordpress.org/documentation/article/debugging-in-wordpress/
+ * @link https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
*/
define( 'WP_DEBUG', !!getenv_docker('WORDPRESS_DEBUG', '') );
diff --git a/wordpress_php8.1-fpm/Dockerfile b/wordpress_php8.1-fpm/Dockerfile
index 227f92f..774d3d4 100644
--- a/wordpress_php8.1-fpm/Dockerfile
+++ b/wordpress_php8.1-fpm/Dockerfile
@@ -45,9 +45,18 @@ RUN set -ex; \
zip \
; \
# https://pecl.php.net/package/imagick
- pecl install imagick-3.6.0; \
- docker-php-ext-enable imagick; \
- rm -r /tmp/pear; \
+# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔)
+# see also https://github.com/Imagick/imagick/pull/641
+# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit
+ curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \
+ echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \
+ tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \
+ sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \
+ docker-php-ext-install /tmp/imagick-3.7.0; \
+ rm -rf imagick.tgz /tmp/imagick-3.7.0; \
\
# some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967)
out="$(php -r 'exit(0);')"; \
diff --git a/wordpress_php8.1-fpm/wp-config-docker.php b/wordpress_php8.1-fpm/wp-config-docker.php
index 9cd3bab..7da50ee 100644
--- a/wordpress_php8.1-fpm/wp-config-docker.php
+++ b/wordpress_php8.1-fpm/wp-config-docker.php
@@ -15,7 +15,7 @@
*
* This has been slightly modified (to read environment variables) for use in Docker.
*
- * @link https://wordpress.org/documentation/article/editing-wp-config-php/
+ * @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/
*
* @package WordPress
*/
@@ -105,7 +105,7 @@ $table_prefix = getenv_docker('WORDPRESS_TABLE_PREFIX', 'wp_');
* For information on other constants that can be used for debugging,
* visit the documentation.
*
- * @link https://wordpress.org/documentation/article/debugging-in-wordpress/
+ * @link https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
*/
define( 'WP_DEBUG', !!getenv_docker('WORDPRESS_DEBUG', '') );
diff --git a/wordpress_php8.1/Dockerfile b/wordpress_php8.1/Dockerfile
index f2fbea8..17bac9e 100644
--- a/wordpress_php8.1/Dockerfile
+++ b/wordpress_php8.1/Dockerfile
@@ -45,9 +45,18 @@ RUN set -ex; \
zip \
; \
# https://pecl.php.net/package/imagick
- pecl install imagick-3.6.0; \
- docker-php-ext-enable imagick; \
- rm -r /tmp/pear; \
+# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔)
+# see also https://github.com/Imagick/imagick/pull/641
+# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit
+ curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \
+ echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \
+ tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \
+ sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \
+ docker-php-ext-install /tmp/imagick-3.7.0; \
+ rm -rf imagick.tgz /tmp/imagick-3.7.0; \
\
# some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967)
out="$(php -r 'exit(0);')"; \
diff --git a/wordpress_php8.1/wp-config-docker.php b/wordpress_php8.1/wp-config-docker.php
index 9cd3bab..7da50ee 100644
--- a/wordpress_php8.1/wp-config-docker.php
+++ b/wordpress_php8.1/wp-config-docker.php
@@ -15,7 +15,7 @@
*
* This has been slightly modified (to read environment variables) for use in Docker.
*
- * @link https://wordpress.org/documentation/article/editing-wp-config-php/
+ * @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/
*
* @package WordPress
*/
@@ -105,7 +105,7 @@ $table_prefix = getenv_docker('WORDPRESS_TABLE_PREFIX', 'wp_');
* For information on other constants that can be used for debugging,
* visit the documentation.
*
- * @link https://wordpress.org/documentation/article/debugging-in-wordpress/
+ * @link https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
*/
define( 'WP_DEBUG', !!getenv_docker('WORDPRESS_DEBUG', '') );
diff --git a/wordpress_php8.2-fpm-alpine/Dockerfile b/wordpress_php8.2-fpm-alpine/Dockerfile
index 90862d7..c138ea1 100644
--- a/wordpress_php8.2-fpm-alpine/Dockerfile
+++ b/wordpress_php8.2-fpm-alpine/Dockerfile
@@ -46,9 +46,18 @@ RUN set -ex; \
; \
# WARNING: imagick is likely not supported on Alpine: https://github.com/Imagick/imagick/issues/328
# https://pecl.php.net/package/imagick
- pecl install imagick-3.6.0; \
- docker-php-ext-enable imagick; \
- rm -r /tmp/pear; \
+# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔)
+# see also https://github.com/Imagick/imagick/pull/641
+# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit
+ curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \
+ echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \
+ tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \
+ sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \
+ docker-php-ext-install /tmp/imagick-3.7.0; \
+ rm -rf imagick.tgz /tmp/imagick-3.7.0; \
\
# some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967)
out="$(php -r 'exit(0);')"; \
diff --git a/wordpress_php8.2-fpm-alpine/wp-config-docker.php b/wordpress_php8.2-fpm-alpine/wp-config-docker.php
index 9cd3bab..7da50ee 100644
--- a/wordpress_php8.2-fpm-alpine/wp-config-docker.php
+++ b/wordpress_php8.2-fpm-alpine/wp-config-docker.php
@@ -15,7 +15,7 @@
*
* This has been slightly modified (to read environment variables) for use in Docker.
*
- * @link https://wordpress.org/documentation/article/editing-wp-config-php/
+ * @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/
*
* @package WordPress
*/
@@ -105,7 +105,7 @@ $table_prefix = getenv_docker('WORDPRESS_TABLE_PREFIX', 'wp_');
* For information on other constants that can be used for debugging,
* visit the documentation.
*
- * @link https://wordpress.org/documentation/article/debugging-in-wordpress/
+ * @link https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
*/
define( 'WP_DEBUG', !!getenv_docker('WORDPRESS_DEBUG', '') );
diff --git a/wordpress_php8.2-fpm/Dockerfile b/wordpress_php8.2-fpm/Dockerfile
index f0c5237..53b0c40 100644
--- a/wordpress_php8.2-fpm/Dockerfile
+++ b/wordpress_php8.2-fpm/Dockerfile
@@ -45,9 +45,18 @@ RUN set -ex; \
zip \
; \
# https://pecl.php.net/package/imagick
- pecl install imagick-3.6.0; \
- docker-php-ext-enable imagick; \
- rm -r /tmp/pear; \
+# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔)
+# see also https://github.com/Imagick/imagick/pull/641
+# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit
+ curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \
+ echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \
+ tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \
+ sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \
+ docker-php-ext-install /tmp/imagick-3.7.0; \
+ rm -rf imagick.tgz /tmp/imagick-3.7.0; \
\
# some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967)
out="$(php -r 'exit(0);')"; \
diff --git a/wordpress_php8.2-fpm/wp-config-docker.php b/wordpress_php8.2-fpm/wp-config-docker.php
index 9cd3bab..7da50ee 100644
--- a/wordpress_php8.2-fpm/wp-config-docker.php
+++ b/wordpress_php8.2-fpm/wp-config-docker.php
@@ -15,7 +15,7 @@
*
* This has been slightly modified (to read environment variables) for use in Docker.
*
- * @link https://wordpress.org/documentation/article/editing-wp-config-php/
+ * @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/
*
* @package WordPress
*/
@@ -105,7 +105,7 @@ $table_prefix = getenv_docker('WORDPRESS_TABLE_PREFIX', 'wp_');
* For information on other constants that can be used for debugging,
* visit the documentation.
*
- * @link https://wordpress.org/documentation/article/debugging-in-wordpress/
+ * @link https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
*/
define( 'WP_DEBUG', !!getenv_docker('WORDPRESS_DEBUG', '') );
diff --git a/wordpress_php8.2/Dockerfile b/wordpress_php8.2/Dockerfile
index 9f03be2..9835ef3 100644
--- a/wordpress_php8.2/Dockerfile
+++ b/wordpress_php8.2/Dockerfile
@@ -45,9 +45,18 @@ RUN set -ex; \
zip \
; \
# https://pecl.php.net/package/imagick
- pecl install imagick-3.6.0; \
- docker-php-ext-enable imagick; \
- rm -r /tmp/pear; \
+# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔)
+# see also https://github.com/Imagick/imagick/pull/641
+# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit
+ curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \
+ echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \
+ tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \
+ sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \
+ docker-php-ext-install /tmp/imagick-3.7.0; \
+ rm -rf imagick.tgz /tmp/imagick-3.7.0; \
\
# some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967)
out="$(php -r 'exit(0);')"; \
diff --git a/wordpress_php8.2/wp-config-docker.php b/wordpress_php8.2/wp-config-docker.php
index 9cd3bab..7da50ee 100644
--- a/wordpress_php8.2/wp-config-docker.php
+++ b/wordpress_php8.2/wp-config-docker.php
@@ -15,7 +15,7 @@
*
* This has been slightly modified (to read environment variables) for use in Docker.
*
- * @link https://wordpress.org/documentation/article/editing-wp-config-php/
+ * @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/
*
* @package WordPress
*/
@@ -105,7 +105,7 @@ $table_prefix = getenv_docker('WORDPRESS_TABLE_PREFIX', 'wp_');
* For information on other constants that can be used for debugging,
* visit the documentation.
*
- * @link https://wordpress.org/documentation/article/debugging-in-wordpress/
+ * @link https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
*/
define( 'WP_DEBUG', !!getenv_docker('WORDPRESS_DEBUG', '') );
diff --git a/wordpress_php8.3-fpm-alpine/Dockerfile b/wordpress_php8.3-fpm-alpine/Dockerfile
index bd48bee..82fbf42 100644
--- a/wordpress_php8.3-fpm-alpine/Dockerfile
+++ b/wordpress_php8.3-fpm-alpine/Dockerfile
@@ -46,9 +46,18 @@ RUN set -ex; \
; \
# WARNING: imagick is likely not supported on Alpine: https://github.com/Imagick/imagick/issues/328
# https://pecl.php.net/package/imagick
- pecl install imagick-3.6.0; \
- docker-php-ext-enable imagick; \
- rm -r /tmp/pear; \
+# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔)
+# see also https://github.com/Imagick/imagick/pull/641
+# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit
+ curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \
+ echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \
+ tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \
+ sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \
+ docker-php-ext-install /tmp/imagick-3.7.0; \
+ rm -rf imagick.tgz /tmp/imagick-3.7.0; \
\
# some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967)
out="$(php -r 'exit(0);')"; \
diff --git a/wordpress_php8.3-fpm-alpine/wp-config-docker.php b/wordpress_php8.3-fpm-alpine/wp-config-docker.php
index 9cd3bab..7da50ee 100644
--- a/wordpress_php8.3-fpm-alpine/wp-config-docker.php
+++ b/wordpress_php8.3-fpm-alpine/wp-config-docker.php
@@ -15,7 +15,7 @@
*
* This has been slightly modified (to read environment variables) for use in Docker.
*
- * @link https://wordpress.org/documentation/article/editing-wp-config-php/
+ * @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/
*
* @package WordPress
*/
@@ -105,7 +105,7 @@ $table_prefix = getenv_docker('WORDPRESS_TABLE_PREFIX', 'wp_');
* For information on other constants that can be used for debugging,
* visit the documentation.
*
- * @link https://wordpress.org/documentation/article/debugging-in-wordpress/
+ * @link https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
*/
define( 'WP_DEBUG', !!getenv_docker('WORDPRESS_DEBUG', '') );
diff --git a/wordpress_php8.3-fpm/Dockerfile b/wordpress_php8.3-fpm/Dockerfile
index 1149d6b..8777b91 100644
--- a/wordpress_php8.3-fpm/Dockerfile
+++ b/wordpress_php8.3-fpm/Dockerfile
@@ -45,9 +45,18 @@ RUN set -ex; \
zip \
; \
# https://pecl.php.net/package/imagick
- pecl install imagick-3.6.0; \
- docker-php-ext-enable imagick; \
- rm -r /tmp/pear; \
+# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔)
+# see also https://github.com/Imagick/imagick/pull/641
+# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit
+ curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \
+ echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \
+ tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \
+ sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \
+ docker-php-ext-install /tmp/imagick-3.7.0; \
+ rm -rf imagick.tgz /tmp/imagick-3.7.0; \
\
# some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967)
out="$(php -r 'exit(0);')"; \
diff --git a/wordpress_php8.3-fpm/wp-config-docker.php b/wordpress_php8.3-fpm/wp-config-docker.php
index 9cd3bab..7da50ee 100644
--- a/wordpress_php8.3-fpm/wp-config-docker.php
+++ b/wordpress_php8.3-fpm/wp-config-docker.php
@@ -15,7 +15,7 @@
*
* This has been slightly modified (to read environment variables) for use in Docker.
*
- * @link https://wordpress.org/documentation/article/editing-wp-config-php/
+ * @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/
*
* @package WordPress
*/
@@ -105,7 +105,7 @@ $table_prefix = getenv_docker('WORDPRESS_TABLE_PREFIX', 'wp_');
* For information on other constants that can be used for debugging,
* visit the documentation.
*
- * @link https://wordpress.org/documentation/article/debugging-in-wordpress/
+ * @link https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
*/
define( 'WP_DEBUG', !!getenv_docker('WORDPRESS_DEBUG', '') );
diff --git a/wordpress_php8.3/Dockerfile b/wordpress_php8.3/Dockerfile
index 6222bc2..4f48d80 100644
--- a/wordpress_php8.3/Dockerfile
+++ b/wordpress_php8.3/Dockerfile
@@ -45,9 +45,18 @@ RUN set -ex; \
zip \
; \
# https://pecl.php.net/package/imagick
- pecl install imagick-3.6.0; \
- docker-php-ext-enable imagick; \
- rm -r /tmp/pear; \
+# https://github.com/Imagick/imagick/commit/5ae2ecf20a1157073bad0170106ad0cf74e01cb6 (causes a lot of build failures, but strangely only intermittent ones 🤔)
+# see also https://github.com/Imagick/imagick/pull/641
+# this is "pecl install imagick-3.7.0", but by hand so we can apply a small hack / part of the above commit
+ curl -fL -o imagick.tgz 'https://pecl.php.net/get/imagick-3.7.0.tgz'; \
+ echo '5a364354109029d224bcbb2e82e15b248be9b641227f45e63425c06531792d3e *imagick.tgz' | sha256sum -c -; \
+ tar --extract --directory /tmp --file imagick.tgz imagick-3.7.0; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ test "$(grep -c '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php)" = '1'; \
+ sed -i -e 's!^//#endif$!#endif!' /tmp/imagick-3.7.0/Imagick.stub.php; \
+ grep '^//#endif$' /tmp/imagick-3.7.0/Imagick.stub.php && exit 1 || :; \
+ docker-php-ext-install /tmp/imagick-3.7.0; \
+ rm -rf imagick.tgz /tmp/imagick-3.7.0; \
\
# some misbehaving extensions end up outputting to stdout 🙈 (https://github.com/docker-library/wordpress/issues/669#issuecomment-993945967)
out="$(php -r 'exit(0);')"; \
diff --git a/wordpress_php8.3/wp-config-docker.php b/wordpress_php8.3/wp-config-docker.php
index 9cd3bab..7da50ee 100644
--- a/wordpress_php8.3/wp-config-docker.php
+++ b/wordpress_php8.3/wp-config-docker.php
@@ -15,7 +15,7 @@
*
* This has been slightly modified (to read environment variables) for use in Docker.
*
- * @link https://wordpress.org/documentation/article/editing-wp-config-php/
+ * @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/
*
* @package WordPress
*/
@@ -105,7 +105,7 @@ $table_prefix = getenv_docker('WORDPRESS_TABLE_PREFIX', 'wp_');
* For information on other constants that can be used for debugging,
* visit the documentation.
*
- * @link https://wordpress.org/documentation/article/debugging-in-wordpress/
+ * @link https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/
*/
define( 'WP_DEBUG', !!getenv_docker('WORDPRESS_DEBUG', '') ); Relevant Maintainers: |
CI passed; first try 🦇 |
yosifkit
approved these changes
Mar 11, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes: