Make WordPress Core

Opened 3 weeks ago

Last modified 8 days ago

#61562 new defect (bug)

Twenty Twenty-One Theme: Latest post block does not appear selected text color on editor & front end sides.

Reported by: viralsampat's profile viralsampat Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 6.5.5
Component: Bundled Theme Keywords: has-patch needs-testing changes-requested
Focuses: ui, css Cc:

Description

Hello,

I have reviewed "Latest Post" block and found thats its selected text color is not appearing when we trying to change its text color from block settings.

I think that it should be appear when we change text color from block settings.

Also, I have already posted similar issue fro twenty-twenty theme. #61524

Here, I have attached its screenshots:

Thanks,

Attachments (5)

twenty-twenty-one-latest-post-block-editor-side.png (254.0 KB) - added by viralsampat 3 weeks ago.
Back-end
twenty-twenty-one-latest-post-block-front-end-side.png (166.6 KB) - added by viralsampat 3 weeks ago.
Front-end
61562.patch (1.6 KB) - added by viralsampat 3 weeks ago.
I have checked above mentioned issue and I have resolved it and added patch. Also, I have attached screenshot after resolved this issue.
after-resolved-twenty-twenty-one-latest-post-block-editor-side.png (238.4 KB) - added by viralsampat 3 weeks ago.
After resolved issue Back-end:
after-resolved-twenty-twenty-one-latest-post-block-front-end-side.png (195.2 KB) - added by viralsampat 3 weeks ago.
After resolved issue front-end:

Download all attachments as: .zip

Change History (7)

@viralsampat
3 weeks ago

I have checked above mentioned issue and I have resolved it and added patch. Also, I have attached screenshot after resolved this issue.

#1 @karmatosed
2 weeks ago

  • Keywords needs-testing added; dev-feedback removed
  • Milestone changed from Awaiting Review to Future Release

Thank you for this patch. Let's get some testing on this with the look for a future release.

#2 @karmatosed
8 days ago

  • Keywords changes-requested added

I think this will have the same issue that @sabernhardt identified in the other ticket #61524

WordPress 6.4 adds the chosen text color to the link (only), but the rest of the text remains the theme's color selections. When adding support for color controls, the theme's colors still need to apply for users do not select a color. (Replacing a specific color with inherit would change how existing blocks appear.)

Ideally we resolve this here to not also have the problem.

Note: See TracTickets for help on using tickets.