after update wordpress show wp_get_current_user() wp-includes/user.php

after update wordpress show wp_get_current_user() wp-includes/user.php

i resolve this problem using:

Add this line to the top of your wp-includes/CAPABILITIES.PHP file

require_once (‘pluggable.php’);

so it looks like this –

<?php

require_once ('pluggable.php');
/**
 * WordPress Roles and Capabilities.

Reference: http://wordpress.org/support/topic/broken-in-wordpress-37

Deixe um comentário