Warning: Parameter 1 to wp_default_scripts() expected to be a reference, value given in /homepages/17/d294589954/htdocs/gzlname_c/wp-includes/plugin.php on line 546

Warning: Parameter 1 to wp_default_styles() expected to be a reference, value given in /homepages/17/d294589954/htdocs/gzlname_c/wp-includes/plugin.php on line 546

简单增加WordPress的安全性

处于安全考虑, 应该在Wordpress的模板中移除以下语句:

  <?php remove_action('wp_head', 'wp_generator'); ?>

这条语句生成正在使用的WP版本

Leave a Reply