Menghapus menu di wp-admin dari user tertentu bisa dengan melakukan pembuatan code sederhana.

WordPress update comment type cache expected to be a reference
WordPress update comment type cache expected to be a reference: WordPress and PHP 5.3.x: Parameter 1 to wordpress update_comment_type_cache() expected to be a reference, value given in wp-includes/plugin.php on line 166 , pesan error ini keluar setelah server hosting upgrade php ke versi 5. Dimana website kita akan keluar pesan error:
[code type=codetype]Parameter 1 to update_comment_type_cache() expected to be a reference,
value given in wp-includes/plugin.php on line 166
Untuk memperbaiknya, kita tinggal mengedit kode yang ada di file function.php
Cari baris sebagai berikut:
function update_comment_type_cache(&$queried_posts) {
[/code]Setelah itu hilangkan tanda “&“, menjadi:
[code type=codetype]function update_comment_type_cache($queried_posts) {
[/code]Selesai… refresh halaman index dan admin Anda. Pesan error Parameter 1 to update_comment_type_cache() expected to be a reference, value given in wp-includes/plugin.php on line 166. Tutorial Wordpress update comment type cache expected to be a reference selesai.