#42705 closed defect (bug) (fixed)
Theme editor nonce should be based on the relative file path
Reported by: | dd32 | Owned by: | dd32 |
---|---|---|---|
Milestone: | 5.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Editor | Keywords: | |
Focuses: | Cc: |
Description
Currently the theme editor nonce is based on the full file path of the files, for example:
edit-theme_/www/wordpress/src/wp-content/themes/twentyseventeen/style.csstwentyseventeen
It'll make much more sense when debugging code if it's based on the relative path, which is how we validate it in the rest of the code:
edit-theme_twentyseventeen_style.css edit-theme_twentyseventeen_inc/back-compat.php
Noticed from #42609
Change History (2)
Note: See
TracTickets for help on using
tickets.
In 42246: