[wp-trac] [WordPress Trac] #23681: jQuery 1.9 doesn't like leading whitespace from wp_ajax_add_menu_item

WordPress Trac noreply at wordpress.org
Sat Sep 21 10:50:10 UTC 2013


#23681: jQuery 1.9 doesn't like leading whitespace from wp_ajax_add_menu_item
---------------------------------+----------------------
 Reporter:  csixty4              |       Owner:  ocean90
     Type:  defect (bug)         |      Status:  closed
 Priority:  normal               |   Milestone:  3.7
Component:  Menus                |     Version:  3.6
 Severity:  normal               |  Resolution:  fixed
 Keywords:  has-patch 3.7-early  |
---------------------------------+----------------------
Changes (by ocean90):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"25546"]:
 {{{
 #!CommitTicketReference repository="" revision="25546"
 Trim leading whitespace from AJAX responses.

 This fixes the warning "$(html) HTML strings must start with '<'
 character" by jQuery Migrate when adding nav menu items, post custom
 fields or comment replies.

 fixes #23681.
 }}}

--
Ticket URL: <http://core.trac.wordpress.org/ticket/23681#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list