WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.46k stars 4.17k forks source link

Duotone coloring is not working in proper way in latest version of wordpress #65846

Open uniquesolution opened 1 week ago

uniquesolution commented 1 week ago

Description

When trying to apply only Shadows color, it automatically taking the highlights color and not giving the desired color to the image as expected. Before it was possible to apply only shadows color and keeping Highlights color disabled.

Step-by-step reproduction instructions

  1. Go to block editor
  2. Insert any image
  3. Go to Duotone settings and choose any Shadows color, you will see that Highlights color also get applied. You can even remove the applied color of Highlights.

Screenshots, screen recording, code snippet

Image

Environment info

`

wp-core

version: 6.6.2 site_language: en_US user_language: en_US timezone: +00:00 permalink: /%year%/%monthnum%/%day%/%postname%/ https_status: true multisite: false user_registration: 0 blog_public: 1 default_comment_status: open environment_type: production user_count: -1 dotorg_communication: true

wp-paths-sizes

wordpress_path: /s4-swellwish/wordpress wordpress_size: 55.41 MB (58101068 bytes) uploads_path: /s4-swellwish/wordpress/wp-content/uploads uploads_size: 34.86 KB (35699 bytes) themes_path: /s4-swellwish/wordpress/wp-content/themes themes_size: 2.54 MB (2667552 bytes) plugins_path: /s4-swellwish/wordpress/wp-content/plugins plugins_size: 0.00 B (0 bytes) fonts_path: /s4-swellwish/wordpress/wp-content/uploads/fonts fonts_size: directory not found database_size: 656.00 KB (671744 bytes) total_size: 58.63 MB (61476063 bytes)

wp-dropins (1)

maintenance.php: true

wp-active-theme

name: Twenty Twenty-Three (twentytwentythree) version: 1.5 author: the WordPress team author_website: https://wordpress.org parent_theme: none theme_features: core-block-patterns, post-thumbnails, responsive-embeds, editor-styles, html5, automatic-feed-links, widgets-block-editor, block-templates theme_path: /s4-swellwish/wordpress/wp-content/themes/twentytwentythree auto_update: Disabled

wp-media

image_editor: WP_Image_Editor_Imagick imagick_module_version: 1690 imagemagick_version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org imagick_version: 3.7.0 file_uploads: 1 post_max_size: 60M upload_max_filesize: 60M max_effective_size: 60 MB max_file_uploads: 20 imagick_limits: imagick::RESOURCETYPE_AREA: 122 MB imagick::RESOURCETYPE_DISK: 1073741824 imagick::RESOURCETYPE_FILE: 768 imagick::RESOURCETYPE_MAP: 512 MB imagick::RESOURCETYPE_MEMORY: 256 MB imagick::RESOURCETYPE_THREAD: 1 imagick::RESOURCETYPE_TIME: 1.844674407371E+19 imagemagick_file_formats: Unable to determine gd_version: 2.3.3 gd_formats: GIF, JPEG, PNG, WebP, BMP, AVIF, XPM ghostscript_version: unknown

wp-server

server_architecture: Linux 5.15.0-67-generic x86_64 httpd_software: TasteWP-S4 Official/3.0.0 php_version: 8.1.23 64bit php_sapi: fpm-fcgi max_input_variables: 5000 time_limit: 100 memory_limit: 256M max_input_time: 30 upload_max_filesize: 60M php_post_max_size: 60M curl_version: 7.68.0 OpenSSL/1.1.1f suhosin: false imagick_availability: true pretty_permalinks: false current: 2024-10-03T04:24:05+00:00 utc-time: Thursday, 03-Oct-24 04:24:05 UTC server-time: 2024-10-03T04:24:04+00:00

wp-database

extension: mysqli server_version: 8.0.32-0ubuntu0.20.04.2 client_version: mysqlnd 8.1.23 max_allowed_packet: 268435456 max_connections: 1000

wp-constants

WP_HOME: https://swellwish.s4-tastewp.com WP_SITEURL: https://swellwish.s4-tastewp.com WP_CONTENT_DIR: /s4-swellwish/wordpress/wp-content WP_PLUGIN_DIR: /s4-swellwish/wordpress/wp-content/plugins WP_MEMORY_LIMIT: 128M WP_MAX_MEMORY_LIMIT: 128M WP_DEBUG: true WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: /s4-swellwish/wordpress/debug.log SCRIPT_DEBUG: false WP_CACHE: false CONCATENATE_SCRIPTS: false COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_ENVIRONMENT_TYPE: Undefined WP_DEVELOPMENT_MODE: undefined DB_CHARSET: utf8mb4 DB_COLLATE: undefined

wp-filesystem

wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable fonts: not writable

`

Please confirm that you have searched existing issues in the repo.

Please confirm that you have tested with all plugins deactivated except Gutenberg.

uniquesolution commented 3 days ago

Please someone look into this issue, as this is causing issue with the desired color we want to apply to an image.