Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#27689 closed defect (bug) (fixed)

Widget Customizer: jQuery migrate warning thrown due to leading whitespace in template

Reported by: gcorne's profile gcorne Owned by: ocean90's profile ocean90
Milestone: 3.9 Priority: normal
Severity: normal Version: 3.9
Component: Widgets Keywords: has-patch
Focuses: javascript Cc:

Description

The following javascript warning is being thrown by the widget customizer:

JQMIGRATE: $(html) HTML strings must start with '<' character 

Attachments (1)

27689-01.patch (866 bytes) - added by gcorne 11 years ago.

Download all attachments as: .zip

Change History (4)

@gcorne
11 years ago

#1 @gcorne
11 years ago

  • Keywords has-patch added

#2 @gcorne
11 years ago

27689-01.patch removes the leading/trailing whitespace, which gets rid of the jQuery warning.

#3 @ocean90
11 years ago

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

In 27973:

Widget Customizer: Remove leading/trailing whitespace to prevent jQuery migrate warning.

props gcorne.
fixes #27689.

Note: See TracTickets for help on using tickets.