[wp-trac] [WordPress Trac] #61488: 6.5.5 Makes Theme Files Inaccessible
WordPress Trac
noreply at wordpress.org
Thu Jul 25 16:34:06 UTC 2024
#61488: 6.5.5 Makes Theme Files Inaccessible
-------------------------------------------------+-------------------------
Reporter: script2see | Owner: jorbin
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.5.6
Component: Filesystem API | Version: 6.5.5
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests dev- | Focuses:
reviewed commit |
-------------------------------------------------+-------------------------
Changes (by jorbin):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"58808" 58808]:
{{{
#!CommitTicketReference repository="" revision="58808"
Filesystem: Normalize allowed_files so comparison is apples to apples.
In [58470] a change was made to normalize the filename in validate_file,
however this leads to instances where the list of files that are allowed
aren't normalized such as in the theme editor. By normalizing the array,
the comparison is apples to apples.
Reviewed by hellofromTonya.
Merges 58570 to the 6.5 branch.
Fixes #61488.
Props jorbin, hellofromtonya, swissspidy, misulicus, script2see,
Presskopp, audrasjb, peterwilsoncc, siliconforks, littler.chicken,
paulkevan,
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61488#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list