Make WordPress Core

Opened 3 years ago

Closed 12 months ago

Last modified 12 months ago

#60195 closed defect (bug) (duplicate)

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

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

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 3 years ago.

Download all attachments as: .zip

Change History (7)

#1 @adamwood
3 years ago

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

#2 @karmatosed
2 years ago

  • Keywords has-patch added

#3 @mayur8991
2 years 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
13 months ago

  • Keywords close 2nd-opinion added; has-patch removed
  • Summary Twenty Twenty One - Pullquote block having issue in border with default color pallate.Twenty Twenty-One: Pullquote block border does not support all colors in theme palette
  • Version 6.4.26.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
12 months ago

  • Milestone Awaiting Review
  • Resolutioninvalid
  • Status newclosed

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

#6 @sabernhardt
12 months ago

  • Resolution invalidduplicate

Duplicate of #63075.

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

Note: See TracTickets for help on using tickets.