Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#27689 closed defect (bug) (fixed)

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

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


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 8 years ago.

Download all attachments as: .zip

Change History (4)

8 years ago

#1 @gcorne
8 years ago

  • Keywords has-patch added

#2 @gcorne
8 years ago

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

#3 @ocean90
8 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.