Make WordPress Core

Opened 13 years ago

Closed 13 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
Priority: normal Milestone: 3.9
Component: Widgets Version: 3.9
Severity: normal Keywords: has-patch
Cc: Focuses: javascript

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

Download all attachments as: .zip

Change History (4)

@gcorne
13 years ago

#1 @gcorne
13 years ago

  • Keywords has-patch added

#2 @gcorne
13 years ago

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

#3 @ocean90
13 years ago

  • Owner set to ocean90
  • Resolution → fixed
  • Status new → 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.