[wp-trac] [WordPress Trac] #26283: Admin notice, update core-bug

WordPress Trac noreply at wordpress.org
Wed Nov 27 10:44:19 UTC 2013


#26283: Admin notice, update core-bug
--------------------------+-----------------------------
 Reporter:  robsat91      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.7.1
 Severity:  normal        |   Keywords:  needs-patch
--------------------------+-----------------------------
 '''''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;'''

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26283>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list