Admin notice, update core-bug
|Reported by:||robsat91||Owned by:|
WP VERSION CHECK BUG
I am running on WP 3.7.1, but in wp-admin there is an admin-notice and i am being told to update to 3.7.1.
The wp version-check seems to be buggy. I have tracked the error down to "wp-includes/version.php".
The problem appears when i use an english installation of wordpress with norwegian language added afterwards.
In the norwegian installation of "wp-includes/version.php" the variable "$wp_local_package" is set (to "nb_NO"). But the variable is not set at all in the english installation. So when i add norwegian language (add lang-files, change define WPLANG in wp-config.php) to my english version (fetched from svn-tag) the admin notice appear.
When i add my quickfix in my theme (functions.php) it works great and the notice disappears:
$wp_local_package = WPLANG;