[wp-trac] [WordPress Trac] #17311: Update to jQuery 1.6

WordPress Trac wp-trac at lists.automattic.com
Wed May 11 15:48:39 UTC 2011


#17311: Update to jQuery 1.6
--------------------------------+------------------
 Reporter:  scribu              |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  3.2
Component:  External Libraries  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  needs-patch         |
--------------------------------+------------------

Comment (by aaroncampbell):

 I was in the jquery-dev channel this morning and their plan was to release
 1.6.1 tomorrow.  I'm not sure that's still on track because they found a
 regression that affects Drupal.  I looked through and it doesn't look like
 it would affect us, but just in case here it is:
 I happens most often when using ajax to update parts of the document, but
 the root cause is really when injecting a script snippet into the page.
 It only happens if there is a CDATA section that is commented like this:
 {{{
 <!--//--><![CDATA[//><!--
 ...
 //--><!]]>
 }}}
 The issue is the html comment around a js comment immediately before the
 CDATA.

 John Resig said that doing it the proper way still works.  This was what
 he said was 'proper':
 {{{
 // <![CDATA[
 ...
 // ]]>
 }}}

 I asked specifically about using block comments (which we do in several
 places) and they said that would still work as well:
 {{{
 /* <![CDATA[ */
 ...
 /* ]]> */
 }}}

 Most of their comments aren't on the ticket yet, but here it is:
 http://bugs.jquery.com/ticket/9221

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


More information about the wp-trac mailing list