Opened 4 months ago
Last modified 4 months ago
#61277 assigned defect (bug)
PHP message: PHP Fatal error: Uncaught Error: Undefined constant "ABSPATH direct access to wp-includes/rss.php on line 19
Reported by: | deepakrohilla | Owned by: | deepakrohilla |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | major | Version: | |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
error.message PHP message: PHP Fatal error: Uncaught Error: Undefined constant "ABSPATH direct access to wp-includes/rss.php on line 19.
request_uri': '/wp-content/rss.php'
Attachments (1)
Change History (4)
This ticket was mentioned in PR #6610 on WordPress/wordpress-develop by @deepakrohilla.
4 months ago
#1
- Keywords has-patch added
#3
@
4 months ago
@SergeyBiryukov I have cover maximum number of files of wp-includes directory and raised in https://core.trac.wordpress.org/ticket/61314#ticket with patch
Note: See
TracTickets for help on using
tickets.
Hi there, thanks for the ticket!
A similar issue was addressed in [49619] / #35835 for
wp-includes/rss-functions.php
.Unless I'm missing something, calling directly pretty much any other file in
wp-includes
orwp-admin/includes
would lead to the same issue, so if we want to add an early exit, it might be a good idea to do that in a consistent way.Related: #47154, #51806, #55944, #61214, #61286.