[wp-trac] [WordPress Trac] #61562: Twenty Twenty-One Theme: Latest post block does not appear selected text color on editor & front end sides.

WordPress Trac noreply at wordpress.org
Sun Apr 27 23:46:50 UTC 2025


#61562: Twenty Twenty-One Theme: Latest post block does not appear selected text
color on editor & front end sides.
-------------------------------------------------+-------------------------
 Reporter:  viralsampat                          |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Bundled Theme                        |     Version:  6.5.5
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing has-         |     Focuses:  ui, css
  testing-info dev-feedback                      |
-------------------------------------------------+-------------------------
Changes (by SirLouen):

 * keywords:  has-patch needs-testing changes-requested => has-patch needs-
     testing has-testing-info dev-feedback


Comment:

 == Reproduction Report
 === Description
 🟠 This report can't fully validate that the patch is completely adequate.

 Patch tested:
 https://core.trac.wordpress.org/attachment/ticket/61562/61562.3.patch

 === Environment
 - WordPress: 6.9-alpha-60093-src
 - PHP: 8.2.28
 - Server: nginx/1.27.5
 - Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.2.28)
 - Browser: Chrome 135.0.0.0
 - OS: Windows 10/11
 - Theme: Twenty Twenty-One 2.5
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.0

 === Bug Reproduction
 1. Add 2 or 3 posts with a good quantity of dummy content first.
 2. Creating a new post with 2021 theme
 3. Adding the widget Latest Post
 4. Enable all Post Meta (Author Name, Post Date)
 5. Changing Text and Background colors
 6. 🐞 Background and Text changes, but not for Post Meta

 === Expected Results

 - All content within the block should change color, unless there is
 another way to do it.

 === Actual Results
 - ✅ Issue resolved with patch.
 - 🟠 Some elements in the code could be improved

 === Additional Notes

 - 2021 was the last non-block theme, so it doesn't have global colors, but
 both are Author and Post are assigned to such.
 - Simply by removing these CSS assignments to such meta elements, the
 issue is solved
 - Recommendation to @viralsampat: If you use Git and do a PR instead of
 patches, people could provide you code reviews, instead of having to
 upload a brand-new patch.

 === Supplemental Artifacts

 - I'm attaching the new patch that sorts this issue, ready for review

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61562#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list