Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#26139 closed defect (bug) (fixed)

"Add new theme" link broken in 3.8 beta

Reported by: wet's profile wet Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 3.8 Priority: normal
Severity: normal Version: 3.8
Component: Customize Keywords: has-patch commit
Focuses: Cc:

Description

Steps to reproduce:

  1. Navigate to Dashboard > Appearance > Theme.
  2. Hover over the "Add new theme" box at the last position in the screenshot gallery.
  3. Notice the link going to ../wp-admin/undefined which obviously will not help in adding a new theme.

theme.js grabs the install URI from an undefined variable named themes.data.settings.install_uri while the actual setting's name is themes.data.settings.installURI.

Attached patch fixes this issue.

Attachments (1)

theme-js-add-theme.patch (852 bytes) - added by wet 11 years ago.

Download all attachments as: .zip

Change History (4)

#1 @markoheijnen
11 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 3.8

caused by a cleanup in [26291]

#2 @SergeyBiryukov
11 years ago

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

In 26303:

Use correct variable. props wet. fixes #26139.

#3 @lancewillett
11 years ago

  • Component changed from Themes to Appearance
Note: See TracTickets for help on using tickets.