Make WordPress Core

Opened 6 weeks ago

Closed 5 weeks ago

#64802 closed defect (bug) (wontfix)

Block Visibility: change visibility class

Reported by: wildworks's profile wildworks Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Editor Keywords: gutenberg-merge has-patch has-unit-tests
Focuses: Cc:

Description

Gutenberg PR: https://github.com/WordPress/gutenberg/pull/76166

The viewport-dependent block visibility feature is based on a CSS class. To improve consistency with other CSS classes, let's change the class name from wp-block-hidden-{viewport} to is-block-hidden-on-{viewport}.

Change History (3)

This ticket was mentioned in PR #11169 on WordPress/wordpress-develop by @wildworks.


6 weeks ago
#1

  • Keywords has-patch has-unit-tests added

Trac ticket: https://core.trac.wordpress.org/ticket/64802

## Use of AI Tools
None

#2 @divyeshpatel01
6 weeks ago

Tested the patch on trunk.

Verified that the block visibility class has been updated from
wp-block-hidden-{viewport} to is-block-hidden-on-{viewport}.

No issues observed.

#3 @wildworks
5 weeks ago

  • Milestone 7.0 deleted
  • Resolution set to wontfix
  • Status changed from new to closed

I thought about it again and began to think that the current CSS class is the least likely to conflict with other themes or plugins, and there's no need to change it now.

For now, I'm going to close this pull request.

Note: See TracTickets for help on using tickets.