WordPress.org

Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#9121 closed defect (bug) (invalid)

Wordpress does not recognize its version

Reported by: neoen Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.7
Component: General Keywords:
Focuses: Cc:

Description

Hello,
I have Wordpress 2.7 (upgraded gradually from 2.3) and from the beginning Wordpress does not recognize its version. I upgraded to 2.7.1 but update notice is always displayed.

On dashboard there is message "You are using Wordpress Array" (instead of Array it should be 2.7.1). I tried to deactivate all plugins, but it is still here and I am not sure, how to repair it (something wrong in database?). Many plugins does not work due to error: "Warning: version_compare() expects parameter 1 to be string, array given in..."

Change History (3)

#1 @FFEMTcJ
13 years ago

Similar to #8729.

#2 @DD32
13 years ago

  • Milestone 2.7.2 deleted
  • Resolution set to invalid
  • Status changed from new to closed

The "Array" part is because -something- has modified the $wp_version value, That value is set in the file wp-includes/version.php, it should look like this: http://core.trac.wordpress.org/browser/tags/2.7.1/wp-includes/version.php

WordPress Core doesnt not modify the value, However, Plugins or themes may, Due to no other reports of it, It seems to suggest its something to do with either your install, or perhaps other plugins/themes you have active.

Closing as invalid unless any information comes to light that makes it a WordPress issue.

#3 @pavelevap
13 years ago

Sorry for bothering you. I tried to deactivate plugins, but problem was in theme (function.php).

Note: See TracTickets for help on using tickets.