This PR fixes a similar problem as in getnikola/nikola#2550 for the WordPress compiler, adjusts to the changes in PR getnikola/nikola#2547, and also provides a compile() function for newest Nikola. This is done (I think) in a backwards-compatible way, so it should work fine with older versions of Nikola.
This PR fixes a similar problem as in getnikola/nikola#2550 for the WordPress compiler, adjusts to the changes in PR getnikola/nikola#2547, and also provides a
compile()
function for newest Nikola. This is done (I think) in a backwards-compatible way, so it should work fine with older versions of Nikola.