WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#20097 closed defect (bug) (fixed)

Theme installer should use version_compare() when checking existing themes

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

Description

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

Change History (2)

comment:1 nacin2 years ago

Appears to have been added in [10823].

comment:2 nacin2 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.