[wp-trac] [WordPress Trac] #61022: Twenty Eleven: "Follow Blog" pattern has black text on black background

WordPress Trac noreply at wordpress.org
Wed Apr 17 10:14:47 UTC 2024


#61022: Twenty Eleven: "Follow Blog" pattern has black text on black background
---------------------------+------------------------------
 Reporter:  poena          |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Bundled Theme  |     Version:  6.4
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:
---------------------------+------------------------------
Changes (by sabernhardt):

 * version:  trunk => 6.4


Comment:

 I experienced the same with 6.5 and 6.4, but not with 6.3 and some earlier
 versions. The block editor had set the block's text color to white when
 the pattern was added in 5.8 ([51103]). This happens on the front end and
 in the editor, whether the theme uses its Light or Dark color scheme.

 In more recent versions, the Cover block in the pattern has an `is-light`
 class, even with the black overlay.

 I was able to assign a white text color to the Cover block in WordPress
 6.5, but if that is used in the registered pattern, older versions would
 give the 'unexpected or invalid content' error.

 Another possibility to consider is converting it to a Group block.

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


More information about the wp-trac mailing list