[wp-trac] [WordPress Trac] #25351: Updating the 'jquery-masonry' to a latest version

WordPress Trac noreply at wordpress.org
Sun Nov 24 23:47:06 UTC 2013


#25351: Updating the 'jquery-masonry' to a latest version
-------------------------------------+------------------------------
 Reporter:  rohitink                 |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  External Libraries       |     Version:  3.6.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------------------

Comment (by shelob9):

 This new patch 25351.3.diff​ updates to Masonry 3. I modified wp-includes
 /script-loader.php using a strategy suggested by Otto in the theme review
 team discussion list. The handle 'jquery-masonry' now enqueues the shim
 and has a dependency of 'jquery-masonry3' which is the file with the
 actual Masonry v3 code.

 This patch does not modify js/functions.js in TwentyThirteen or
 TwentyFourteen. But, thanks to the backwards compatibility shim they're
 footer widgets work just fine:) If this patch is accepted then someone who
 has better Javascript skills should update the relevant code to Masonry 3
 syntax, though that is not urgent, since they will work as-is with this
 patch.

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


More information about the wp-trac mailing list