我正在尝试刷新一些已编辑到 contact-form-7 / includes / js / script.js 文件中的已编辑js代码。但是,似乎没有刷新浏览器中新添加的代码?我有很多链接,但似乎都无法解决我的问题。
http://wpengineer.com/2292/force-reload-of-scripts-and-stylesheets-in-your-plugin-or-theme/
http://sabrinazeidan.com/force-css-js-refresh-wordpress-development/
WordPress not updating the js file
我也尝试过在url之后添加版本,但是在浏览器中什么都没有显示。
http://www.xxxxx.com/wp-content/plugins/contact-form-7/includes/js/scripts.js?version=1234