[wp-trac] [WordPress Trac] #62108: Add direct access check to /wp-includes/blocks/index.php
WordPress Trac
noreply at wordpress.org
Mon Sep 30 01:55:00 UTC 2024
#62108: Add direct access check to /wp-includes/blocks/index.php
---------------------------+----------------------------
Reporter: peterwilsoncc | Owner: peterwilsoncc
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.7
Component: Editor | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
---------------------------+----------------------------
Changes (by peterwilsoncc):
* owner: (none) => peterwilsoncc
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"59117" 59117]:
{{{
#!CommitTicketReference repository="" revision="59117"
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.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62108#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list