Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#20097 closed defect (bug) (fixed)

Theme installer should use version_compare() when checking existing themes

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


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

Change History (2)

#1 @nacin
11 years ago

Appears to have been added in [10823].

#2 @nacin
11 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In [19979]:

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

Note: See TracTickets for help on using tickets.