#42705 closed defect (bug) (fixed)
Theme editor nonce should be based on the relative file path
| Reported by: | dd32 | Owned by: | dd32 |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.1 |
| Component: | Editor | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 42246: