wordpress安装flat主题legacy.php问题解决方案
wordpress安装flat主题后,发现文章页多出了下面提示,那么如何解决呢?
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

            修复方法如下:
            首先我们打开后台,找到legacy.php文件,目录会在报错中给出。例如:
            /wp-content/plugins/wp-product-review/includes/legacy.php
            找到
            function cwppos_show_review( $post_id ) {
wordpress安装flat主题legacy.php问题解决方案
            修改为:
            function cwppos_show_review() {
            保存即可。