PHP Fatal error: Call to undefined function get_bloginfo() in /home/name/public_html/wp-includes/class-wp-locale.php on line 233
line 233
if ( 'rtl' === $this->text_direction && strpos( get_bloginfo( 'version' ), '-src' ) ) {
$this->text_direction = 'ltr';
add_action( 'all_admin_notices', array( $this, 'rtl_src_admin_notice' ) );
}
I found out the answer. simply remove get_bloginfo from line 233 in wp-includes/class-wp-locale.php and no more PHP fatal error......thanks to myself :)
It seems that some files are missed during the upload.
You must never change core files because as a new wordpress update comes up, you'll get in trouble again.
Best thing to do is to temporarily comment (or delete) that line:
// if ( 'rtl' === $this->text_direction && strpos( get_bloginfo( 'version' ), '-src' ) ) {
// $this->text_direction = 'ltr';
// add_action( 'all_admin_notices', array( $this, 'rtl_src_admin_notice' ) );
// }
And after that you can access wp-admin page. then go to Dashboard -> Updates -> Re-install Now
This is the safest solution for this problem. hope it helps.