Make WordPress Core

Opened 2 years ago

Closed 4 months ago

Last modified 4 months ago

#60195 closed defect (bug) (duplicate)

Twenty Twenty-One: Pullquote block border does not support all colors in theme palette

Reported by: nidhidhandhukiya's profile nidhidhandhukiya Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.0
Component: Bundled Theme Keywords: close 2nd-opinion
Focuses: Cc:

Description

Steps to reproduce the issue :-

  1. Activate Twenty Twenty one theme.
  2. Choose Pullquote block.
  3. Apply some border-color and check the both side.

You can able to see change in editor in border-color but in front side you can not able to see chosen border color.
Note :- This issue is happening only when we choose color rom default color pallate option of border if choose custom color it is applied properly.

I have attached video for better understanding.
Video URL :- https://share.cleanshot.com/JKXyhFJqlbFh4VqxrPXT

Attachments (1)

60195.patch (2.2 KB) - added by nidhidhandhukiya 2 years ago.

Download all attachments as: .zip

Change History (7)

#1 @adamwood
2 years ago

Note that there is an existing PR open to fix this: https://github.com/WordPress/wordpress-develop/pull/2944

#2 @karmatosed
20 months ago

  • Keywords has-patch added

#3 @mayur8991
20 months ago

Patch Report - https://core.trac.wordpress.org/attachment/ticket/60195/60195.patch

Environment

WordPress - 6.5
OS - Windows
Browser - Firefox
Theme: Twenty Twenty one Version: 2.2
PHP - 8.1.23

Before
Backend : https://prnt.sc/Eb_5963kPyTa
Frontend : https://prnt.sc/ZgZ1xGHT2FKO

After Patch
Backend : https://prnt.sc/qtwTI4dCZKsw
Frontend : https://prnt.sc/O3uNndF8FLse

Result : Pullquote block border with default color pallate Working now.

#4 @sabernhardt
4 months ago

  • Keywords close 2nd-opinion added; has-patch removed
  • Summary changed from Twenty Twenty One - Pullquote block having issue in border with default color pallate. to Twenty Twenty-One: Pullquote block border does not support all colors in theme palette
  • Version changed from 6.4.2 to 6.0

This could be closed as part of #63075 (and #63072).

However:

  • The theme border colors worked briefly with the Pullquote block. WordPress 5.9 printed -border-color styles for each of Twenty Twenty-One's preset colors in global styles, and then 6.0 replaced those with the standard set of WordPress colors.
  • The black and white presets still work, as they are in the WordPress standard set.

#5 @karmatosed
4 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

I agree with closing this on reflection. As noted by @sabernhardt this can be closed but considerations do need to be made.

#6 @sabernhardt
4 months ago

  • Resolution changed from invalid to duplicate

Duplicate of #63075.

I'll mark this as a duplicate to connect the tickets.

Note: See TracTickets for help on using tickets.