WordPress

WP文章页面警告解决方法

在文章页内容最下方会有如下警告
Warning: Missing argument 1 for cwppos_show_review(), called in /www/wwwroot/xbao.org/wp-content/themes/flat/content-single.php on line 29 and defined in /www/wwwroot/xbao.org/wp-content/plugins/wp-product-review/includes/legacy.php on line 18

找到cwppos_show_review();函数调用的地方,将其改为cwppos_show_review(void);