Timeline for REST route from a plugin not working if WordPress is installed in a subdirectory
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 27, 2017 at 11:34 | comment | added | dingo_d | The code needs to be built first ;) That's probably why it won't work. I will fix this when the PR is merged, and I'll release a plugin ready .zip file. Thanks! | |
Dec 27, 2017 at 11:32 | comment | added | mmm |
I try the branch you send with the pull request and I have an error : github.com/dingo-d/theme-sniffer/tree/feature/… the backend page doesn't found assets/build/scripts/application.js and when I load assets/dev/application.js I have the JavaScript error SyntaxError: import declarations may only appear at top level of a module I am not a JavaScript expert then I cannot help you to solve this.
|
|
Dec 27, 2017 at 10:15 | vote | accept | dingo_d | ||
Dec 27, 2017 at 10:09 | comment | added | dingo_d | Ok, I think there is something like that being done in a PR I submitted here. I rewrote everything using ES6 and webpack. Once this is merged I think this should solve the issues of wrong routes. But thanks for the heads up! | |
Dec 26, 2017 at 21:39 | history | answered | mmm | CC BY-SA 3.0 |