[wp-trac] [WordPress Trac] #40070: Cannot remove theme with Javascript if folder name contains periods (was: Cannot remove theme if it contains periods)
WordPress Trac
noreply at wordpress.org
Sat Mar 11 15:33:09 UTC 2017
#40070: Cannot remove theme with Javascript if folder name contains periods
----------------------------+------------------------------
Reporter: svanlooy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 4.7.3
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: javascript
----------------------------+------------------------------
Changes (by MattyRob):
* keywords: => needs-patch
* focuses: => javascript
Comment:
@svanlooy
Hello and welcome to the WordPress trac. I've done some testing on your
ticket and I think I've narrowed this to an issue in the JavaScript code.
If you copy the 'delete link' into a new browser window it does indeed
delete the theme from the server, the link looks something like this:
http://localhost/dev/src/wp-
admin/themes.php?action=delete&stylesheet=twentyeleven&_wpnonce=a892cea026
However, in normal operation the click on that link is intercepted and
precessed by JavaScript and it seems it is that bit that's broken.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40070#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list