We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa4c927 commit 7e6e70cCopy full SHA for 7e6e70c
plugins/webp-uploads/tests/test-load.php
@@ -1136,6 +1136,10 @@ public function test_webp_uploads_convert_palette_png_to_truecolor_hooks(): void
1136
* @param bool $expect_changed Whether the png should be converted to truecolor.
1137
*/
1138
public function test_webp_uploads_convert_palette_png_to_truecolor( ?string $image_path, bool $expect_changed ): void {
1139
+ if ( ! extension_loaded( 'gd' ) ) {
1140
+ $this->markTestSkipped( 'GD extension is not loaded' );
1141
+ }
1142
+
1143
add_filter(
1144
'wp_image_editors',
1145
static function () {
0 commit comments