Make WordPress Core

Changeset 59117


Ignore:
Timestamp:
09/30/2024 01:54:44 AM (14 months ago)
Author:
peterwilsoncc
Message:

Editor: Prevent direct access to /wp-includes/blocks/index.php.

Adds a check for ABSPATH to the top of the /wp-includes/blocks/index.php file and prevents the file from loading if it is not defined.

This prevents the file from throwing errors when accessed directly.

Props khokansardar, mukesh27.
Fixes #62108.
See #60352.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.