[wp-trac] [WordPress Trac] #35835: _deprecated_file undefined in rss-functions.php
WordPress Trac
noreply at wordpress.org
Mon Nov 16 23:04:59 UTC 2020
#35835: _deprecated_file undefined in rss-functions.php
-----------------------------------+------------------------
Reporter: thib3113 | Owner: whyisjake
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 5.6
Component: General | Version: 5.5
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+------------------------
Changes (by SergeyBiryukov):
* status: closed => reopened
* resolution: fixed =>
Comment:
There are ~30 files in core with `_deprecated_file()`, why only this one
is being patched? Is there anything specific calling this file directly,
but not the others?
Not arguing for or against the change, just for a consistent policy.
This is also not limited to `_deprecated_file()`, as noted in comment:3
and comment:1:
> You'll get a similar error if you access `wp-includes/default-
filters.php` or any number of others too potentially.
Should we try to address other instances too and edit the
[https://make.wordpress.org/core/handbook/testing/reporting-security-
vulnerabilities/#why-are-there-path-disclosures-when-directly-loading-
certain-files security handbook] accordingly?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35835#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list