Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#20097 closed defect (bug) (fixed)

Theme installer should use version_compare() when checking existing themes

Reported by: nacin Owned by: nacin
Priority: normal Milestone: 3.4
Component: Themes Version:
Severity: normal Keywords:
Cc: Focuses:

Description

The plugin installer uses version_compare(). For some reason, the theme installer simply uses == and >.

Change History (2)

#1 @nacin
15 years ago

Appears to have been added in [10823].

#2 @nacin
15 years ago

  • Owner set to nacin
  • Resolution → fixed
  • Status new → closed

In [19979]:

Use version_compare() when checking installed themes in the theme installer. fixes #20097.

Note: See TracTickets for help on using tickets.