Make WordPress Core

Changeset 61014


Ignore:
Timestamp:
10/21/2025 10:47:08 AM (8 weeks ago)
Author:
cbravobernal
Message:

Block visibility: Add block visibility support.

Adds block support to control block visibility. This support will prevent blocks from being rendered on the frontend, i.e., server-side.

Props wildworks, mukesh27, rollybueno.

Fixes #64061.

Location:
trunk
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-settings.php

    r60946 r61014  
    394394require ABSPATH . WPINC . '/block-supports/block-style-variations.php';
    395395require ABSPATH . WPINC . '/block-supports/aria-label.php';
     396require ABSPATH . WPINC . '/block-supports/block-visibility.php';
    396397require ABSPATH . WPINC . '/style-engine.php';
    397398require ABSPATH . WPINC . '/style-engine/class-wp-style-engine.php';
Note: See TracChangeset for help on using the changeset viewer.