Ajax Update theme error with slug contain slash
-
Hello,
With ajax update theme the theme slug in post request is sanitized with wp_unslash and then the slash contain in the slug is removed.
With the global WordPress Updates page the request update-core.php?action=do-theme-upgrade work fine.
The theme roots sage (https://github.com/roots/sage) chane the default directory of the style.css so the stylesheet and theme option is saved in db like so ‘sage/resources’.
Why the slash is removed with the update theme ajax?
file: wp-admin/includes/ajax-actions.php, line: 4114
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Ajax Update theme error with slug contain slash’ is closed to new replies.