From 20813bcbe2afceb878da650b1bc439b1472a7a5e Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Wed, 4 Jul 2012 05:58:28 +0000 Subject: [PATCH] Change a jQuery selector to work around a change in jQuery 1.7.2 related to some class names containing colons. props SergeyBiryukov. fixes #21106 for trunk. see #21152 git-svn-id: https://develop.svn.wordpress.org/trunk@21205 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/js/wp-lists.dev.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/js/wp-lists.dev.js b/wp-includes/js/wp-lists.dev.js index 970a1f805b..71158106f4 100644 --- a/wp-includes/js/wp-lists.dev.js +++ b/wp-includes/js/wp-lists.dev.js @@ -78,7 +78,7 @@ wpList = { if ( !s ) return false; - if ( !e.is('[class^="add:' + list.id + ':"]') ) + if ( !e.is('[id="' + s.what + '-add-submit"]') ) return !wpList.add.call( list, e, s ); if ( !s.element )