Opened 2 years ago
Last modified 2 years 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 |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | General | Version: | |
| Severity: | major | Keywords: | has-patch |
| Cc: | Focuses: |
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.
2 years ago
#1
- Keywords has-patch added
#3
@
2 years 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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-includesorwp-admin/includeswould 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.