wordpress安装flat主题legacy.php问题解决方案
2021-05-09
wordpress安装flat主题后,legacy.php出现问题,如何解决呢?
发现文章页多出了下面提示。
Warning:
Missing argument 1 for cwppos_show_review(), called in /YourWebSite/wp-content/themes/flat/content-single.php on line 29 and defined in /YourWebSite/wp-content/plugins/wp-product-review/includes/legacy.php on line 18
- 修改为:
- function cwppos_show_review() {
- 保存即可。