<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[22396] trunk: Kill use of colons in class names, props SergeyBiryukov, fixes #21152</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg > ul, #logmsg > ol { margin-left: 0; margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://core.trac.wordpress.org/changeset/22396">22396</a></dd>
<dt>Author</dt> <dd>azaozz</dd>
<dt>Date</dt> <dd>2012-11-06 01:01:52 +0000 (Tue, 06 Nov 2012)</dd>
</dl>

<h3>Log Message</h3>
<pre>Kill use of colons in class names, props SergeyBiryukov, fixes <a href="http://core.trac.wordpress.org/ticket/21152">#21152</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadminincludesclasswpcommentslisttablephp">trunk/wp-admin/includes/class-wp-comments-list-table.php</a></li>
<li><a href="#trunkwpadminincludesclasswplisttablephp">trunk/wp-admin/includes/class-wp-list-table.php</a></li>
<li><a href="#trunkwpadminincludesdashboardphp">trunk/wp-admin/includes/dashboard.php</a></li>
<li><a href="#trunkwpadminincludesmetaboxesphp">trunk/wp-admin/includes/meta-boxes.php</a></li>
<li><a href="#trunkwpadminincludesnavmenuphp">trunk/wp-admin/includes/nav-menu.php</a></li>
<li><a href="#trunkwpadminincludestemplatephp">trunk/wp-admin/includes/template.php</a></li>
<li><a href="#trunkwpadminjscatjs">trunk/wp-admin/js/cat.js</a></li>
<li><a href="#trunkwpadminjseditcommentsjs">trunk/wp-admin/js/edit-comments.js</a></li>
<li><a href="#trunkwpadminjsinlineedittaxjs">trunk/wp-admin/js/inline-edit-tax.js</a></li>
<li><a href="#trunkwpadminpressthisphp">trunk/wp-admin/press-this.php</a></li>
<li><a href="#trunkwpadminusernewphp">trunk/wp-admin/user-new.php</a></li>
<li><a href="#trunkwpincludesjswplistsjs">trunk/wp-includes/js/wp-lists.js</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadminincludesclasswpcommentslisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-comments-list-table.php (22395 => 22396)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-comments-list-table.php        2012-11-06 00:52:49 UTC (rev 22395)
+++ trunk/wp-admin/includes/class-wp-comments-list-table.php        2012-11-06 01:01:52 UTC (rev 22396)
</span><span class="lines">@@ -291,11 +291,11 @@
</span><span class="cx">         &lt;/tr&gt;
</span><span class="cx">         &lt;/tfoot&gt;
</span><span class="cx"> 
</span><del>-        &lt;tbody id=&quot;the-comment-list&quot; class=&quot;list:comment&quot;&gt;
</del><ins>+        &lt;tbody id=&quot;the-comment-list&quot; data-wp-lists=&quot;list:comment&quot;&gt;
</ins><span class="cx">                 &lt;?php $this-&gt;display_rows_or_placeholder(); ?&gt;
</span><span class="cx">         &lt;/tbody&gt;
</span><span class="cx"> 
</span><del>-        &lt;tbody id=&quot;the-extra-comment-list&quot; class=&quot;list:comment&quot; style=&quot;display: none;&quot;&gt;
</del><ins>+        &lt;tbody id=&quot;the-extra-comment-list&quot; data-wp-lists=&quot;list:comment&quot; style=&quot;display: none;&quot;&gt;
</ins><span class="cx">                 &lt;?php $this-&gt;items = $this-&gt;extra_items; $this-&gt;display_rows(); ?&gt;
</span><span class="cx">         &lt;/tbody&gt;
</span><span class="cx"> &lt;/table&gt;
</span><span class="lines">@@ -396,26 +396,26 @@
</span><span class="cx"> 
</span><span class="cx">                         if ( $comment_status &amp;&amp; 'all' != $comment_status ) { // not looking at all comments
</span><span class="cx">                                 if ( 'approved' == $the_comment_status )
</span><del>-                                        $actions['unapprove'] = &quot;&lt;a href='$unapprove_url' class='delete:the-comment-list:comment-$comment-&gt;comment_ID:e7e7d3:action=dim-comment&amp;amp;new=unapproved vim-u vim-destructive' title='&quot; . esc_attr__( 'Unapprove this comment' ) . &quot;'&gt;&quot; . __( 'Unapprove' ) . '&lt;/a&gt;';
</del><ins>+                                        $actions['unapprove'] = &quot;&lt;a href='$unapprove_url' data-wp-lists='delete:the-comment-list:comment-$comment-&gt;comment_ID:e7e7d3:action=dim-comment&amp;amp;new=unapproved' class='vim-u vim-destructive' title='&quot; . esc_attr__( 'Unapprove this comment' ) . &quot;'&gt;&quot; . __( 'Unapprove' ) . '&lt;/a&gt;';
</ins><span class="cx">                                 else if ( 'unapproved' == $the_comment_status )
</span><del>-                                        $actions['approve'] = &quot;&lt;a href='$approve_url' class='delete:the-comment-list:comment-$comment-&gt;comment_ID:e7e7d3:action=dim-comment&amp;amp;new=approved vim-a vim-destructive' title='&quot; . esc_attr__( 'Approve this comment' ) . &quot;'&gt;&quot; . __( 'Approve' ) . '&lt;/a&gt;';
</del><ins>+                                        $actions['approve'] = &quot;&lt;a href='$approve_url' data-wp-lists='delete:the-comment-list:comment-$comment-&gt;comment_ID:e7e7d3:action=dim-comment&amp;amp;new=approved' class='vim-a vim-destructive' title='&quot; . esc_attr__( 'Approve this comment' ) . &quot;'&gt;&quot; . __( 'Approve' ) . '&lt;/a&gt;';
</ins><span class="cx">                         } else {
</span><del>-                                $actions['approve'] = &quot;&lt;a href='$approve_url' class='dim:the-comment-list:comment-$comment-&gt;comment_ID:unapproved:e7e7d3:e7e7d3:new=approved vim-a' title='&quot; . esc_attr__( 'Approve this comment' ) . &quot;'&gt;&quot; . __( 'Approve' ) . '&lt;/a&gt;';
-                                $actions['unapprove'] = &quot;&lt;a href='$unapprove_url' class='dim:the-comment-list:comment-$comment-&gt;comment_ID:unapproved:e7e7d3:e7e7d3:new=unapproved vim-u' title='&quot; . esc_attr__( 'Unapprove this comment' ) . &quot;'&gt;&quot; . __( 'Unapprove' ) . '&lt;/a&gt;';
</del><ins>+                                $actions['approve'] = &quot;&lt;a href='$approve_url' data-wp-lists='dim:the-comment-list:comment-$comment-&gt;comment_ID:unapproved:e7e7d3:e7e7d3:new=approved' class='vim-a' title='&quot; . esc_attr__( 'Approve this comment' ) . &quot;'&gt;&quot; . __( 'Approve' ) . '&lt;/a&gt;';
+                                $actions['unapprove'] = &quot;&lt;a href='$unapprove_url' data-wp-lists='dim:the-comment-list:comment-$comment-&gt;comment_ID:unapproved:e7e7d3:e7e7d3:new=unapproved' class='vim-u' title='&quot; . esc_attr__( 'Unapprove this comment' ) . &quot;'&gt;&quot; . __( 'Unapprove' ) . '&lt;/a&gt;';
</ins><span class="cx">                         }
</span><span class="cx"> 
</span><span class="cx">                         if ( 'spam' != $the_comment_status &amp;&amp; 'trash' != $the_comment_status ) {
</span><del>-                                $actions['spam'] = &quot;&lt;a href='$spam_url' class='delete:the-comment-list:comment-$comment-&gt;comment_ID::spam=1 vim-s vim-destructive' title='&quot; . esc_attr__( 'Mark this comment as spam' ) . &quot;'&gt;&quot; . /* translators: mark as spam link */ _x( 'Spam', 'verb' ) . '&lt;/a&gt;';
</del><ins>+                                $actions['spam'] = &quot;&lt;a href='$spam_url' data-wp-lists='delete:the-comment-list:comment-$comment-&gt;comment_ID::spam=1' class='vim-s vim-destructive' title='&quot; . esc_attr__( 'Mark this comment as spam' ) . &quot;'&gt;&quot; . /* translators: mark as spam link */ _x( 'Spam', 'verb' ) . '&lt;/a&gt;';
</ins><span class="cx">                         } elseif ( 'spam' == $the_comment_status ) {
</span><del>-                                $actions['unspam'] = &quot;&lt;a href='$unspam_url' class='delete:the-comment-list:comment-$comment-&gt;comment_ID:66cc66:unspam=1 vim-z vim-destructive'&gt;&quot; . _x( 'Not Spam', 'comment' ) . '&lt;/a&gt;';
</del><ins>+                                $actions['unspam'] = &quot;&lt;a href='$unspam_url' data-wp-lists='delete:the-comment-list:comment-$comment-&gt;comment_ID:66cc66:unspam=1' class='vim-z vim-destructive'&gt;&quot; . _x( 'Not Spam', 'comment' ) . '&lt;/a&gt;';
</ins><span class="cx">                         } elseif ( 'trash' == $the_comment_status ) {
</span><del>-                                $actions['untrash'] = &quot;&lt;a href='$untrash_url' class='delete:the-comment-list:comment-$comment-&gt;comment_ID:66cc66:untrash=1 vim-z vim-destructive'&gt;&quot; . __( 'Restore' ) . '&lt;/a&gt;';
</del><ins>+                                $actions['untrash'] = &quot;&lt;a href='$untrash_url' data-wp-lists='delete:the-comment-list:comment-$comment-&gt;comment_ID:66cc66:untrash=1' class='vim-z vim-destructive'&gt;&quot; . __( 'Restore' ) . '&lt;/a&gt;';
</ins><span class="cx">                         }
</span><span class="cx"> 
</span><span class="cx">                         if ( 'spam' == $the_comment_status || 'trash' == $the_comment_status || !EMPTY_TRASH_DAYS ) {
</span><del>-                                $actions['delete'] = &quot;&lt;a href='$delete_url' class='delete:the-comment-list:comment-$comment-&gt;comment_ID::delete=1 delete vim-d vim-destructive'&gt;&quot; . __( 'Delete Permanently' ) . '&lt;/a&gt;';
</del><ins>+                                $actions['delete'] = &quot;&lt;a href='$delete_url' data-wp-lists='delete:the-comment-list:comment-$comment-&gt;comment_ID::delete=1' class='delete vim-d vim-destructive'&gt;&quot; . __( 'Delete Permanently' ) . '&lt;/a&gt;';
</ins><span class="cx">                         } else {
</span><del>-                                $actions['trash'] = &quot;&lt;a href='$trash_url' class='delete:the-comment-list:comment-$comment-&gt;comment_ID::trash=1 delete vim-d vim-destructive' title='&quot; . esc_attr__( 'Move this comment to the trash' ) . &quot;'&gt;&quot; . _x( 'Trash', 'verb' ) . '&lt;/a&gt;';
</del><ins>+                                $actions['trash'] = &quot;&lt;a href='$trash_url' data-wp-lists='delete:the-comment-list:comment-$comment-&gt;comment_ID::trash=1' class='delete vim-d vim-destructive' title='&quot; . esc_attr__( 'Move this comment to the trash' ) . &quot;'&gt;&quot; . _x( 'Trash', 'verb' ) . '&lt;/a&gt;';
</ins><span class="cx">                         }
</span><span class="cx"> 
</span><span class="cx">                         if ( 'spam' != $the_comment_status &amp;&amp; 'trash' != $the_comment_status ) {
</span><span class="lines">@@ -552,7 +552,7 @@
</span><span class="cx">                 wp_nonce_field( &quot;fetch-list-&quot; . get_class( $this ), '_ajax_fetch_list_nonce' );
</span><span class="cx"> ?&gt;
</span><span class="cx"> &lt;table class=&quot;&lt;?php echo implode( ' ', $this-&gt;get_table_classes() ); ?&gt;&quot; cellspacing=&quot;0&quot; style=&quot;display:none;&quot;&gt;
</span><del>-        &lt;tbody id=&quot;the-comment-list&quot;&lt;?php if ( $singular ) echo &quot; class='list:$singular'&quot;; ?&gt;&gt;
</del><ins>+        &lt;tbody id=&quot;the-comment-list&quot;&lt;?php if ( $singular ) echo &quot; data-wp-lists='list:$singular'&quot;; ?&gt;&gt;
</ins><span class="cx">                 &lt;?php if ( ! $output_empty ) $this-&gt;display_rows_or_placeholder(); ?&gt;
</span><span class="cx">         &lt;/tbody&gt;
</span><span class="cx"> &lt;/table&gt;
</span></span></pre></div>
<a id="trunkwpadminincludesclasswplisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-list-table.php (22395 => 22396)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-list-table.php        2012-11-06 00:52:49 UTC (rev 22395)
+++ trunk/wp-admin/includes/class-wp-list-table.php        2012-11-06 01:01:52 UTC (rev 22396)
</span><span class="lines">@@ -732,7 +732,7 @@
</span><span class="cx">         &lt;/tr&gt;
</span><span class="cx">         &lt;/tfoot&gt;
</span><span class="cx"> 
</span><del>-        &lt;tbody id=&quot;the-list&quot;&lt;?php if ( $singular ) echo &quot; class='list:$singular'&quot;; ?&gt;&gt;
</del><ins>+        &lt;tbody id=&quot;the-list&quot;&lt;?php if ( $singular ) echo &quot; data-wp-lists='list:$singular'&quot;; ?&gt;&gt;
</ins><span class="cx">                 &lt;?php $this-&gt;display_rows_or_placeholder(); ?&gt;
</span><span class="cx">         &lt;/tbody&gt;
</span><span class="cx"> &lt;/table&gt;
</span></span></pre></div>
<a id="trunkwpadminincludesdashboardphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/dashboard.php (22395 => 22396)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/dashboard.php        2012-11-06 00:52:49 UTC (rev 22395)
+++ trunk/wp-admin/includes/dashboard.php        2012-11-06 01:01:52 UTC (rev 22396)
</span><span class="lines">@@ -617,7 +617,7 @@
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         if ( $comments ) {
</span><del>-                echo '&lt;div id=&quot;the-comment-list&quot; class=&quot;list:comment&quot;&gt;';
</del><ins>+                echo '&lt;div id=&quot;the-comment-list&quot; data-wp-lists=&quot;list:comment&quot;&gt;';
</ins><span class="cx">                 foreach ( $comments as $comment )
</span><span class="cx">                         _wp_dashboard_recent_comments_row( $comment );
</span><span class="cx">                 echo '&lt;/div&gt;';
</span><span class="lines">@@ -660,15 +660,15 @@
</span><span class="cx">                 $trash_url = esc_url( &quot;comment.php?action=trashcomment&amp;p=$comment-&gt;comment_post_ID&amp;c=$comment-&gt;comment_ID&amp;$del_nonce&quot; );
</span><span class="cx">                 $delete_url = esc_url( &quot;comment.php?action=deletecomment&amp;p=$comment-&gt;comment_post_ID&amp;c=$comment-&gt;comment_ID&amp;$del_nonce&quot; );
</span><span class="cx"> 
</span><del>-                $actions['approve'] = &quot;&lt;a href='$approve_url' class='dim:the-comment-list:comment-$comment-&gt;comment_ID:unapproved:e7e7d3:e7e7d3:new=approved vim-a' title='&quot; . esc_attr__( 'Approve this comment' ) . &quot;'&gt;&quot; . __( 'Approve' ) . '&lt;/a&gt;';
-                $actions['unapprove'] = &quot;&lt;a href='$unapprove_url' class='dim:the-comment-list:comment-$comment-&gt;comment_ID:unapproved:e7e7d3:e7e7d3:new=unapproved vim-u' title='&quot; . esc_attr__( 'Unapprove this comment' ) . &quot;'&gt;&quot; . __( 'Unapprove' ) . '&lt;/a&gt;';
</del><ins>+                $actions['approve'] = &quot;&lt;a href='$approve_url' data-wp-lists='dim:the-comment-list:comment-$comment-&gt;comment_ID:unapproved:e7e7d3:e7e7d3:new=approved' class='vim-a' title='&quot; . esc_attr__( 'Approve this comment' ) . &quot;'&gt;&quot; . __( 'Approve' ) . '&lt;/a&gt;';
+                $actions['unapprove'] = &quot;&lt;a href='$unapprove_url' data-wp-lists='dim:the-comment-list:comment-$comment-&gt;comment_ID:unapproved:e7e7d3:e7e7d3:new=unapproved' class='vim-u' title='&quot; . esc_attr__( 'Unapprove this comment' ) . &quot;'&gt;&quot; . __( 'Unapprove' ) . '&lt;/a&gt;';
</ins><span class="cx">                 $actions['edit'] = &quot;&lt;a href='comment.php?action=editcomment&amp;amp;c={$comment-&gt;comment_ID}' title='&quot; . esc_attr__('Edit comment') . &quot;'&gt;&quot;. __('Edit') . '&lt;/a&gt;';
</span><span class="cx">                 $actions['reply'] = '&lt;a onclick=&quot;commentReply.open(\''.$comment-&gt;comment_ID.'\',\''.$comment-&gt;comment_post_ID.'\');return false;&quot; class=&quot;vim-r hide-if-no-js&quot; title=&quot;'.esc_attr__('Reply to this comment').'&quot; href=&quot;#&quot;&gt;' . __('Reply') . '&lt;/a&gt;';
</span><del>-                $actions['spam'] = &quot;&lt;a href='$spam_url' class='delete:the-comment-list:comment-$comment-&gt;comment_ID::spam=1 vim-s vim-destructive' title='&quot; . esc_attr__( 'Mark this comment as spam' ) . &quot;'&gt;&quot; . /* translators: mark as spam link */ _x( 'Spam', 'verb' ) . '&lt;/a&gt;';
</del><ins>+                $actions['spam'] = &quot;&lt;a href='$spam_url' data-wp-lists='delete:the-comment-list:comment-$comment-&gt;comment_ID::spam=1' class='vim-s vim-destructive' title='&quot; . esc_attr__( 'Mark this comment as spam' ) . &quot;'&gt;&quot; . /* translators: mark as spam link */ _x( 'Spam', 'verb' ) . '&lt;/a&gt;';
</ins><span class="cx">                 if ( !EMPTY_TRASH_DAYS )
</span><del>-                        $actions['delete'] = &quot;&lt;a href='$delete_url' class='delete:the-comment-list:comment-$comment-&gt;comment_ID::trash=1 delete vim-d vim-destructive'&gt;&quot; . __('Delete Permanently') . '&lt;/a&gt;';
</del><ins>+                        $actions['delete'] = &quot;&lt;a href='$delete_url' data-wp-lists='delete:the-comment-list:comment-$comment-&gt;comment_ID::trash=1' class='delete vim-d vim-destructive'&gt;&quot; . __('Delete Permanently') . '&lt;/a&gt;';
</ins><span class="cx">                 else
</span><del>-                        $actions['trash'] = &quot;&lt;a href='$trash_url' class='delete:the-comment-list:comment-$comment-&gt;comment_ID::trash=1 delete vim-d vim-destructive' title='&quot; . esc_attr__( 'Move this comment to the trash' ) . &quot;'&gt;&quot; . _x('Trash', 'verb') . '&lt;/a&gt;';
</del><ins>+                        $actions['trash'] = &quot;&lt;a href='$trash_url' data-wp-lists='delete:the-comment-list:comment-$comment-&gt;comment_ID::trash=1' class='delete vim-d vim-destructive' title='&quot; . esc_attr__( 'Move this comment to the trash' ) . &quot;'&gt;&quot; . _x('Trash', 'verb') . '&lt;/a&gt;';
</ins><span class="cx"> 
</span><span class="cx">                 $actions = apply_filters( 'comment_row_actions', array_filter($actions), $comment );
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminincludesmetaboxesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/meta-boxes.php (22395 => 22396)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/meta-boxes.php        2012-11-06 00:52:49 UTC (rev 22395)
+++ trunk/wp-admin/includes/meta-boxes.php        2012-11-06 01:01:52 UTC (rev 22396)
</span><span class="lines">@@ -423,7 +423,7 @@
</span><span class="cx">             $name = ( $taxonomy == 'category' ) ? 'post_category' : 'tax_input[' . $taxonomy . ']';
</span><span class="cx">             echo &quot;&lt;input type='hidden' name='{$name}[]' value='0' /&gt;&quot;; // Allows for an empty term set to be sent. 0 is an invalid Term ID and will be ignored by empty() checks.
</span><span class="cx">             ?&gt;
</span><del>-                        &lt;ul id=&quot;&lt;?php echo $taxonomy; ?&gt;checklist&quot; class=&quot;list:&lt;?php echo $taxonomy?&gt; categorychecklist form-no-clear&quot;&gt;
</del><ins>+                        &lt;ul id=&quot;&lt;?php echo $taxonomy; ?&gt;checklist&quot; data-wp-lists=&quot;list:&lt;?php echo $taxonomy?&gt;&quot; class=&quot;categorychecklist form-no-clear&quot;&gt;
</ins><span class="cx">                                 &lt;?php wp_terms_checklist($post-&gt;ID, array( 'taxonomy' =&gt; $taxonomy, 'popular_cats' =&gt; $popular_ids ) ) ?&gt;
</span><span class="cx">                         &lt;/ul&gt;
</span><span class="cx">                 &lt;/div&gt;
</span><span class="lines">@@ -444,7 +444,7 @@
</span><span class="cx">                                                 &lt;?php echo $tax-&gt;labels-&gt;parent_item_colon; ?&gt;
</span><span class="cx">                                         &lt;/label&gt;
</span><span class="cx">                                         &lt;?php wp_dropdown_categories( array( 'taxonomy' =&gt; $taxonomy, 'hide_empty' =&gt; 0, 'name' =&gt; 'new'.$taxonomy.'_parent', 'orderby' =&gt; 'name', 'hierarchical' =&gt; 1, 'show_option_none' =&gt; '&amp;mdash; ' . $tax-&gt;labels-&gt;parent_item . ' &amp;mdash;' ) ); ?&gt;
</span><del>-                                        &lt;input type=&quot;button&quot; id=&quot;&lt;?php echo $taxonomy; ?&gt;-add-submit&quot; class=&quot;add:&lt;?php echo $taxonomy ?&gt;checklist:&lt;?php echo $taxonomy ?&gt;-add button category-add-submit&quot; value=&quot;&lt;?php echo esc_attr( $tax-&gt;labels-&gt;add_new_item ); ?&gt;&quot; /&gt;
</del><ins>+                                        &lt;input type=&quot;button&quot; id=&quot;&lt;?php echo $taxonomy; ?&gt;-add-submit&quot; data-wp-lists=&quot;add:&lt;?php echo $taxonomy ?&gt;checklist:&lt;?php echo $taxonomy ?&gt;-add&quot; class=&quot;button category-add-submit&quot; value=&quot;&lt;?php echo esc_attr( $tax-&gt;labels-&gt;add_new_item ); ?&gt;&quot; /&gt;
</ins><span class="cx">                                         &lt;?php wp_nonce_field( 'add-'.$taxonomy, '_ajax_nonce-add-'.$taxonomy, false ); ?&gt;
</span><span class="cx">                                         &lt;span id=&quot;&lt;?php echo $taxonomy; ?&gt;-ajax-response&quot;&gt;&lt;/span&gt;
</span><span class="cx">                                 &lt;/p&gt;
</span><span class="lines">@@ -755,7 +755,7 @@
</span><span class="cx">         &lt;/ul&gt;
</span><span class="cx"> 
</span><span class="cx">         &lt;div id=&quot;categories-all&quot; class=&quot;tabs-panel&quot;&gt;
</span><del>-                &lt;ul id=&quot;categorychecklist&quot; class=&quot;list:category categorychecklist form-no-clear&quot;&gt;
</del><ins>+                &lt;ul id=&quot;categorychecklist&quot; data-wp-lists=&quot;list:category&quot; class=&quot;categorychecklist form-no-clear&quot;&gt;
</ins><span class="cx">                         &lt;?php
</span><span class="cx">                         if ( isset($link-&gt;link_id) )
</span><span class="cx">                                 wp_link_category_checklist($link-&gt;link_id);
</span><span class="lines">@@ -776,7 +776,7 @@
</span><span class="cx">                 &lt;p id=&quot;link-category-add&quot; class=&quot;wp-hidden-child&quot;&gt;
</span><span class="cx">                         &lt;label class=&quot;screen-reader-text&quot; for=&quot;newcat&quot;&gt;&lt;?php _e( '+ Add New Category' ); ?&gt;&lt;/label&gt;
</span><span class="cx">                         &lt;input type=&quot;text&quot; name=&quot;newcat&quot; id=&quot;newcat&quot; class=&quot;form-required form-input-tip&quot; value=&quot;&lt;?php esc_attr_e( 'New category name' ); ?&gt;&quot; aria-required=&quot;true&quot; /&gt;
</span><del>-                        &lt;input type=&quot;button&quot; id=&quot;link-category-add-submit&quot; class=&quot;add:categorychecklist:linkcategorydiv button&quot; value=&quot;&lt;?php esc_attr_e( 'Add' ); ?&gt;&quot; /&gt;
</del><ins>+                        &lt;input type=&quot;button&quot; id=&quot;link-category-add-submit&quot; data-wp-lists=&quot;add:categorychecklist:link-category-add&quot; class=&quot;button&quot; value=&quot;&lt;?php esc_attr_e( 'Add' ); ?&gt;&quot; /&gt;
</ins><span class="cx">                         &lt;?php wp_nonce_field( 'add-link-category', '_ajax_nonce', false ); ?&gt;
</span><span class="cx">                         &lt;span id=&quot;category-ajax-response&quot;&gt;&lt;/span&gt;
</span><span class="cx">                 &lt;/p&gt;
</span></span></pre></div>
<a id="trunkwpadminincludesnavmenuphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/nav-menu.php (22395 => 22396)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/nav-menu.php        2012-11-06 00:52:49 UTC (rev 22395)
+++ trunk/wp-admin/includes/nav-menu.php        2012-11-06 01:01:52 UTC (rev 22396)
</span><span class="lines">@@ -697,7 +697,7 @@
</span><span class="cx">                                 &lt;?php submit_button( __( 'Search' ), 'button-small quick-search-submit button-secondary hide-if-js', 'submit', false, array( 'id' =&gt; 'submit-quick-search-posttype-' . $post_type_name ) ); ?&gt;
</span><span class="cx">                         &lt;/p&gt;
</span><span class="cx"> 
</span><del>-                        &lt;ul id=&quot;&lt;?php echo $post_type_name; ?&gt;-search-checklist&quot; class=&quot;list:&lt;?php echo $post_type_name?&gt; categorychecklist form-no-clear&quot;&gt;
</del><ins>+                        &lt;ul id=&quot;&lt;?php echo $post_type_name; ?&gt;-search-checklist&quot; data-wp-lists=&quot;list:&lt;?php echo $post_type_name?&gt;&quot; class=&quot;categorychecklist form-no-clear&quot;&gt;
</ins><span class="cx">                         &lt;?php if ( ! empty( $search_results ) &amp;&amp; ! is_wp_error( $search_results ) ) : ?&gt;
</span><span class="cx">                                 &lt;?php
</span><span class="cx">                                 $args['walker'] = $walker;
</span><span class="lines">@@ -719,7 +719,7 @@
</span><span class="cx">                                         &lt;?php echo $page_links; ?&gt;
</span><span class="cx">                                 &lt;/div&gt;
</span><span class="cx">                         &lt;?php endif; ?&gt;
</span><del>-                        &lt;ul id=&quot;&lt;?php echo $post_type_name; ?&gt;checklist&quot; class=&quot;list:&lt;?php echo $post_type_name?&gt; categorychecklist form-no-clear&quot;&gt;
</del><ins>+                        &lt;ul id=&quot;&lt;?php echo $post_type_name; ?&gt;checklist&quot; data-wp-lists=&quot;list:&lt;?php echo $post_type_name?&gt;&quot; class=&quot;categorychecklist form-no-clear&quot;&gt;
</ins><span class="cx">                                 &lt;?php
</span><span class="cx">                                 $args['walker'] = $walker;
</span><span class="cx"> 
</span><span class="lines">@@ -896,7 +896,7 @@
</span><span class="cx">                                         &lt;?php echo $page_links; ?&gt;
</span><span class="cx">                                 &lt;/div&gt;
</span><span class="cx">                         &lt;?php endif; ?&gt;
</span><del>-                        &lt;ul id=&quot;&lt;?php echo $taxonomy_name; ?&gt;checklist&quot; class=&quot;list:&lt;?php echo $taxonomy_name?&gt; categorychecklist form-no-clear&quot;&gt;
</del><ins>+                        &lt;ul id=&quot;&lt;?php echo $taxonomy_name; ?&gt;checklist&quot; data-wp-lists=&quot;list:&lt;?php echo $taxonomy_name?&gt;&quot; class=&quot;categorychecklist form-no-clear&quot;&gt;
</ins><span class="cx">                                 &lt;?php
</span><span class="cx">                                 $args['walker'] = $walker;
</span><span class="cx">                                 echo walk_nav_menu_tree( array_map('wp_setup_nav_menu_item', $terms), 0, (object) $args );
</span><span class="lines">@@ -927,7 +927,7 @@
</span><span class="cx">                                 &lt;?php submit_button( __( 'Search' ), 'button-small quick-search-submit button-secondary hide-if-js', 'submit', false, array( 'id' =&gt; 'submit-quick-search-taxonomy-' . $taxonomy_name ) ); ?&gt;
</span><span class="cx">                         &lt;/p&gt;
</span><span class="cx"> 
</span><del>-                        &lt;ul id=&quot;&lt;?php echo $taxonomy_name; ?&gt;-search-checklist&quot; class=&quot;list:&lt;?php echo $taxonomy_name?&gt; categorychecklist form-no-clear&quot;&gt;
</del><ins>+                        &lt;ul id=&quot;&lt;?php echo $taxonomy_name; ?&gt;-search-checklist&quot; data-wp-lists=&quot;list:&lt;?php echo $taxonomy_name?&gt;&quot; class=&quot;categorychecklist form-no-clear&quot;&gt;
</ins><span class="cx">                         &lt;?php if ( ! empty( $search_results ) &amp;&amp; ! is_wp_error( $search_results ) ) : ?&gt;
</span><span class="cx">                                 &lt;?php
</span><span class="cx">                                 $args['walker'] = $walker;
</span></span></pre></div>
<a id="trunkwpadminincludestemplatephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/template.php (22395 => 22396)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/template.php        2012-11-06 00:52:49 UTC (rev 22395)
+++ trunk/wp-admin/includes/template.php        2012-11-06 01:01:52 UTC (rev 22396)
</span><span class="lines">@@ -421,7 +421,7 @@
</span><span class="cx">                 &lt;th&gt;' . __( 'Value' ) . '&lt;/th&gt;
</span><span class="cx">         &lt;/tr&gt;
</span><span class="cx">         &lt;/thead&gt;
</span><del>-        &lt;tbody id=&quot;the-list&quot; class=&quot;list:meta&quot;&gt;
</del><ins>+        &lt;tbody id=&quot;the-list&quot; data-wp-lists=&quot;list:meta&quot;&gt;
</ins><span class="cx">         &lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;
</span><span class="cx">         &lt;/tbody&gt;
</span><span class="cx"> &lt;/table&gt;'; //TBODY needed for list-manipulation JS
</span><span class="lines">@@ -436,7 +436,7 @@
</span><span class="cx">                 &lt;th&gt;&lt;?php _e( 'Value' ) ?&gt;&lt;/th&gt;
</span><span class="cx">         &lt;/tr&gt;
</span><span class="cx">         &lt;/thead&gt;
</span><del>-        &lt;tbody id='the-list' class='list:meta'&gt;
</del><ins>+        &lt;tbody id='the-list' data-wp-lists='list:meta'&gt;
</ins><span class="cx"> &lt;?php
</span><span class="cx">         foreach ( $meta as $entry )
</span><span class="cx">                 echo _list_meta_row( $entry, $count );
</span><span class="lines">@@ -492,9 +492,9 @@
</span><span class="cx">         $r .= &quot;\n\t\t&lt;td class='left'&gt;&lt;label class='screen-reader-text' for='meta[{$entry['meta_id']}][key]'&gt;&quot; . __( 'Key' ) . &quot;&lt;/label&gt;&lt;input name='meta[{$entry['meta_id']}][key]' id='meta[{$entry['meta_id']}][key]' type='text' size='20' value='{$entry['meta_key']}' /&gt;&quot;;
</span><span class="cx"> 
</span><span class="cx">         $r .= &quot;\n\t\t&lt;div class='submit'&gt;&quot;;
</span><del>-        $r .= get_submit_button( __( 'Delete' ), &quot;delete:the-list:meta-{$entry['meta_id']}::_ajax_nonce=$delete_nonce deletemeta small&quot;, &quot;deletemeta[{$entry['meta_id']}]&quot;, false );
</del><ins>+        $r .= get_submit_button( __( 'Delete' ), 'deletemeta small', &quot;deletemeta[{$entry['meta_id']}]&quot;, false, array( 'data-wp-lists' =&gt; &quot;delete:the-list:meta-{$entry['meta_id']}::_ajax_nonce=$delete_nonce&quot; ) );
</ins><span class="cx">         $r .= &quot;\n\t\t&quot;;
</span><del>-        $r .= get_submit_button( __( 'Update' ), &quot;add:the-list:meta-{$entry['meta_id']}::_ajax_nonce-add-meta=$update_nonce updatemeta small&quot; , &quot;meta-{$entry['meta_id']}-submit&quot;, false );
</del><ins>+        $r .= get_submit_button( __( 'Update' ), 'updatemeta small', &quot;meta-{$entry['meta_id']}-submit&quot;, false, array( 'data-wp-lists' =&gt; &quot;add:the-list:meta-{$entry['meta_id']}::_ajax_nonce-add-meta=$update_nonce&quot; ) );
</ins><span class="cx">         $r .= &quot;&lt;/div&gt;&quot;;
</span><span class="cx">         $r .= wp_nonce_field( 'change-meta', '_ajax_nonce', false, false );
</span><span class="cx">         $r .= &quot;&lt;/td&gt;&quot;;
</span><span class="lines">@@ -556,7 +556,7 @@
</span><span class="cx"> 
</span><span class="cx"> &lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;
</span><span class="cx"> &lt;div class=&quot;submit&quot;&gt;
</span><del>-&lt;?php submit_button( __( 'Add Custom Field' ), 'add:the-list:newmeta secondary', 'addmeta', false, array( 'id' =&gt; 'newmeta-submit' ) ); ?&gt;
</del><ins>+&lt;?php submit_button( __( 'Add Custom Field' ), 'secondary', 'addmeta', false, array( 'id' =&gt; 'newmeta-submit', 'data-wp-lists' =&gt; 'add:the-list:newmeta' ) ); ?&gt;
</ins><span class="cx"> &lt;/div&gt;
</span><span class="cx"> &lt;?php wp_nonce_field( 'add-meta', '_ajax_nonce-add-meta', false ); ?&gt;
</span><span class="cx"> &lt;/td&gt;&lt;/tr&gt;
</span></span></pre></div>
<a id="trunkwpadminjscatjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/js/cat.js (22395 => 22396)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/cat.js        2012-11-06 00:52:49 UTC (rev 22395)
+++ trunk/wp-admin/js/cat.js        2012-11-06 01:01:52 UTC (rev 22396)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><span class="cx"> jQuery(document).ready( function($) {
</span><span class="cx">         var myConfirm = function() { return '' !== $('#newcat').val(); };
</span><del>-        $('#jaxcat').prepend('&lt;span id=&quot;ajaxcat&quot;&gt;&lt;input type=&quot;text&quot; name=&quot;newcat&quot; id=&quot;newcat&quot; size=&quot;16&quot; autocomplete=&quot;off&quot;/&gt;&lt;input type=&quot;button&quot; name=&quot;Button&quot; class=&quot;add:categorychecklist:jaxcat&quot; id=&quot;catadd&quot; value=&quot;' + catL10n.add + '&quot;/&gt;&lt;input type=&quot;hidden&quot;/&gt;&lt;input type=&quot;hidden&quot;/&gt;&lt;span id=&quot;howto&quot;&gt;' + catL10n.how + '&lt;/span&gt;&lt;/span&gt;&lt;span id=&quot;cat-ajax-response&quot;&gt;&lt;/span&gt;');
</del><ins>+        $('#jaxcat').prepend('&lt;span id=&quot;ajaxcat&quot;&gt;&lt;input type=&quot;text&quot; name=&quot;newcat&quot; id=&quot;newcat&quot; size=&quot;16&quot; autocomplete=&quot;off&quot;/&gt;&lt;input type=&quot;button&quot; name=&quot;Button&quot; data-wp-lists=&quot;add:categorychecklist:jaxcat&quot; id=&quot;catadd&quot; value=&quot;' + catL10n.add + '&quot;/&gt;&lt;input type=&quot;hidden&quot;/&gt;&lt;input type=&quot;hidden&quot;/&gt;&lt;span id=&quot;howto&quot;&gt;' + catL10n.how + '&lt;/span&gt;&lt;/span&gt;&lt;span id=&quot;cat-ajax-response&quot;&gt;&lt;/span&gt;');
</ins><span class="cx">         $('#categorychecklist').wpList( { alt: '', response: 'cat-ajax-response', confirm: myConfirm } );
</span><span class="cx"> } );
</span></span></pre></div>
<a id="trunkwpadminjseditcommentsjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/js/edit-comments.js (22395 => 22396)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/edit-comments.js        2012-11-06 00:52:49 UTC (rev 22395)
+++ trunk/wp-admin/js/edit-comments.js        2012-11-06 01:01:52 UTC (rev 22396)
</span><span class="lines">@@ -35,7 +35,7 @@
</span><span class="cx"> 
</span><span class="cx">         // Send current total, page, per_page and url
</span><span class="cx">         delBefore = function( settings, list ) {
</span><del>-                var cl = $(settings.target).attr('class'), id, el, n, h, a, author, action = false;
</del><ins>+                var wpListsData = $(settings.target).attr('data-wp-lists'), id, el, n, h, a, author, action = false;
</ins><span class="cx"> 
</span><span class="cx">                 settings.data._total = totalInput.val() || 0;
</span><span class="cx">                 settings.data._per_page = perPageInput.val() || 0;
</span><span class="lines">@@ -43,13 +43,13 @@
</span><span class="cx">                 settings.data._url = document.location.href;
</span><span class="cx">                 settings.data.comment_status = $('input[name=&quot;comment_status&quot;]', '#comments-form').val();
</span><span class="cx"> 
</span><del>-                if ( cl.indexOf(':trash=1') != -1 )
</del><ins>+                if ( wpListsData.indexOf(':trash=1') != -1 )
</ins><span class="cx">                         action = 'trash';
</span><del>-                else if ( cl.indexOf(':spam=1') != -1 )
</del><ins>+                else if ( wpListsData.indexOf(':spam=1') != -1 )
</ins><span class="cx">                         action = 'spam';
</span><span class="cx"> 
</span><span class="cx">                 if ( action ) {
</span><del>-                        id = cl.replace(/.*?comment-([0-9]+).*/, '$1');
</del><ins>+                        id = wpListsData.replace(/.*?comment-([0-9]+).*/, '$1');
</ins><span class="cx">                         el = $('#comment-' + id);
</span><span class="cx">                         note = $('#' + action + '-undo-holder').html();
</span><span class="cx"> 
</span><span class="lines">@@ -72,7 +72,8 @@
</span><span class="cx">                         $('strong', '#undo-' + id).text(author);
</span><span class="cx">                         a = $('.undo a', '#undo-' + id);
</span><span class="cx">                         a.attr('href', 'comment.php?action=un' + action + 'comment&amp;c=' + id + '&amp;_wpnonce=' + settings.data._ajax_nonce);
</span><del>-                        a.attr('class', 'delete:the-comment-list:comment-' + id + '::un' + action + '=1 vim-z vim-destructive');
</del><ins>+                        a.attr('data-wp-lists', 'delete:the-comment-list:comment-' + id + '::un' + action + '=1');
+                        a.attr('class', 'vim-z vim-destructive');
</ins><span class="cx">                         $('.avatar', el).clone().prependTo('#undo-' + id + ' .' + action + '-undo-inside');
</span><span class="cx"> 
</span><span class="cx">                         a.click(function(){
</span><span class="lines">@@ -279,9 +280,9 @@
</span><span class="cx">         theExtraList = $('#the-extra-comment-list').wpList( { alt: '', delColor: 'none', addColor: 'none' } );
</span><span class="cx">         theList = $('#the-comment-list').wpList( { alt: '', delBefore: delBefore, dimAfter: dimAfter, delAfter: delAfter, addColor: 'none' } )
</span><span class="cx">                 .bind('wpListDelEnd', function(e, s){
</span><del>-                        var id = s.element.replace(/[^0-9]+/g, '');
</del><ins>+                        var wpListsData = $(s.target).attr('data-wp-lists'), id = s.element.replace(/[^0-9]+/g, '');
</ins><span class="cx"> 
</span><del>-                        if ( s.target.className.indexOf(':trash=1') != -1 || s.target.className.indexOf(':spam=1') != -1 )
</del><ins>+                        if ( wpListsData.indexOf(':trash=1') != -1 || wpListsData.indexOf(':spam=1') != -1 )
</ins><span class="cx">                                 $('#undo-' + id).fadeIn(300, function(){ $(this).show() });
</span><span class="cx">                 });
</span><span class="cx"> };
</span></span></pre></div>
<a id="trunkwpadminjsinlineedittaxjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/js/inline-edit-tax.js (22395 => 22396)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/js/inline-edit-tax.js        2012-11-06 00:52:49 UTC (rev 22395)
+++ trunk/wp-admin/js/inline-edit-tax.js        2012-11-06 01:01:52 UTC (rev 22396)
</span><span class="lines">@@ -5,7 +5,7 @@
</span><span class="cx">         init : function() {
</span><span class="cx">                 var t = this, row = $('#inline-edit');
</span><span class="cx"> 
</span><del>-                t.type = $('#the-list').attr('class').substr(5);
</del><ins>+                t.type = $('#the-list').attr('data-wp-lists').substr(5);
</ins><span class="cx">                 t.what = '#'+t.type+'-';
</span><span class="cx"> 
</span><span class="cx">                 $('.editinline').live('click', function(){
</span></span></pre></div>
<a id="trunkwpadminpressthisphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/press-this.php (22395 => 22396)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/press-this.php        2012-11-06 00:52:49 UTC (rev 22395)
+++ trunk/wp-admin/press-this.php        2012-11-06 01:01:52 UTC (rev 22396)
</span><span class="lines">@@ -506,7 +506,7 @@
</span><span class="cx">                                         &lt;/div&gt;
</span><span class="cx"> 
</span><span class="cx">                                         &lt;div id=&quot;category-all&quot; class=&quot;tabs-panel&quot;&gt;
</span><del>-                                                &lt;ul id=&quot;categorychecklist&quot; class=&quot;list:category categorychecklist form-no-clear&quot;&gt;
</del><ins>+                                                &lt;ul id=&quot;categorychecklist&quot; data-wp-lists=&quot;list:category&quot; class=&quot;categorychecklist form-no-clear&quot;&gt;
</ins><span class="cx">                                                         &lt;?php wp_terms_checklist($post_ID, array( 'taxonomy' =&gt; 'category', 'popular_cats' =&gt; $popular_ids ) ) ?&gt;
</span><span class="cx">                                                 &lt;/ul&gt;
</span><span class="cx">                                         &lt;/div&gt;
</span><span class="lines">@@ -528,7 +528,7 @@
</span><span class="cx">                                                                         &lt;?php echo $tax-&gt;labels-&gt;parent_item_colon; ?&gt;
</span><span class="cx">                                                                 &lt;/label&gt;
</span><span class="cx">                                                                 &lt;?php wp_dropdown_categories( array( 'taxonomy' =&gt; 'category', 'hide_empty' =&gt; 0, 'name' =&gt; 'newcategory_parent', 'orderby' =&gt; 'name', 'hierarchical' =&gt; 1, 'show_option_none' =&gt; '&amp;mdash; ' . $tax-&gt;labels-&gt;parent_item . ' &amp;mdash;' ) ); ?&gt;
</span><del>-                                                                &lt;input type=&quot;button&quot; id=&quot;category-add-submit&quot; class=&quot;add:categorychecklist:category-add button category-add-submit&quot; value=&quot;&lt;?php echo esc_attr( $tax-&gt;labels-&gt;add_new_item ); ?&gt;&quot; /&gt;
</del><ins>+                                                                &lt;input type=&quot;button&quot; id=&quot;category-add-submit&quot; data-wp-lists=&quot;add:categorychecklist:category-add&quot; class=&quot;button category-add-submit&quot; value=&quot;&lt;?php echo esc_attr( $tax-&gt;labels-&gt;add_new_item ); ?&gt;&quot; /&gt;
</ins><span class="cx">                                                                 &lt;?php wp_nonce_field( 'add-category', '_ajax_nonce-add-category', false ); ?&gt;
</span><span class="cx">                                                                 &lt;span id=&quot;category-ajax-response&quot;&gt;&lt;/span&gt;
</span><span class="cx">                                                         &lt;/p&gt;
</span></span></pre></div>
<a id="trunkwpadminusernewphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/user-new.php (22395 => 22396)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/user-new.php        2012-11-06 00:52:49 UTC (rev 22395)
+++ trunk/wp-admin/user-new.php        2012-11-06 01:01:52 UTC (rev 22396)
</span><span class="lines">@@ -267,7 +267,7 @@
</span><span class="cx">                 $label = __('E-mail or Username');
</span><span class="cx">         }
</span><span class="cx"> ?&gt;
</span><del>-&lt;form action=&quot;&quot; method=&quot;post&quot; name=&quot;adduser&quot; id=&quot;adduser&quot; class=&quot;add:users: validate&quot;&lt;?php do_action('user_new_form_tag');?&gt;&gt;
</del><ins>+&lt;form action=&quot;&quot; method=&quot;post&quot; name=&quot;adduser&quot; id=&quot;adduser&quot; class=&quot;validate&quot;&lt;?php do_action('user_new_form_tag');?&gt;&gt;
</ins><span class="cx"> &lt;input name=&quot;action&quot; type=&quot;hidden&quot; value=&quot;adduser&quot; /&gt;
</span><span class="cx"> &lt;?php wp_nonce_field( 'add-user', '_wpnonce_add-user' ) ?&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -300,7 +300,7 @@
</span><span class="cx">                 echo '&lt;h3 id=&quot;create-new-user&quot;&gt;' . __( 'Add New User' ) . '&lt;/h3&gt;';
</span><span class="cx"> ?&gt;
</span><span class="cx"> &lt;p&gt;&lt;?php _e('Create a brand new user and add it to this site.'); ?&gt;&lt;/p&gt;
</span><del>-&lt;form action=&quot;&quot; method=&quot;post&quot; name=&quot;createuser&quot; id=&quot;createuser&quot; class=&quot;add:users: validate&quot;&lt;?php do_action('user_new_form_tag');?&gt;&gt;
</del><ins>+&lt;form action=&quot;&quot; method=&quot;post&quot; name=&quot;createuser&quot; id=&quot;createuser&quot; class=&quot;validate&quot;&lt;?php do_action('user_new_form_tag');?&gt;&gt;
</ins><span class="cx"> &lt;input name=&quot;action&quot; type=&quot;hidden&quot; value=&quot;createuser&quot; /&gt;
</span><span class="cx"> &lt;?php wp_nonce_field( 'create-user', '_wpnonce_create-user' ) ?&gt;
</span><span class="cx"> &lt;?php
</span></span></pre></div>
<a id="trunkwpincludesjswplistsjs"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/js/wp-lists.js (22395 => 22396)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/js/wp-lists.js        2012-11-06 00:52:49 UTC (rev 22395)
+++ trunk/wp-includes/js/wp-lists.js        2012-11-06 01:01:52 UTC (rev 22396)
</span><span class="lines">@@ -21,18 +21,18 @@
</span><span class="cx">                 return s.nonce || url._ajax_nonce || $('#' + s.element + ' input[name=&quot;_ajax_nonce&quot;]').val() || url._wpnonce || $('#' + s.element + ' input[name=&quot;_wpnonce&quot;]').val() || 0;
</span><span class="cx">         },
</span><span class="cx"> 
</span><del>-        parseClass: function(e,t) {
-                var c = [], cl;
</del><ins>+        parseData: function(e,t) {
+                var d = [], wpListsData;
</ins><span class="cx"> 
</span><span class="cx">                 try {
</span><del>-                        cl = $(e).attr('class') || '';
-                        cl = cl.match(new RegExp(t+':[\\S]+'));
</del><ins>+                        wpListsData = $(e).attr('data-wp-lists') || '';
+                        wpListsData = wpListsData.match(new RegExp(t+':[\\S]+'));
</ins><span class="cx"> 
</span><del>-                        if ( cl )
-                                c = cl[0].split(':');
</del><ins>+                        if ( wpListsData )
+                                d = wpListsData[0].split(':');
</ins><span class="cx">                 } catch(r) {}
</span><span class="cx"> 
</span><del>-                return c;
</del><ins>+                return d;
</ins><span class="cx">         },
</span><span class="cx"> 
</span><span class="cx">         pre: function(e,s,a) {
</span><span class="lines">@@ -64,14 +64,14 @@
</span><span class="cx">         ajaxAdd: function( e, s ) {
</span><span class="cx">                 e = $(e);
</span><span class="cx">                 s = s || {};
</span><del>-                var list = this, cls = wpList.parseClass(e,'add'), es, valid, formData, res, rres;
</del><ins>+                var list = this, data = wpList.parseData(e,'add'), es, valid, formData, res, rres;
</ins><span class="cx"> 
</span><span class="cx">                 s = wpList.pre.call( list, e, s, 'add' );
</span><span class="cx"> 
</span><del>-                s.element = cls[2] || e.attr( 'id' ) || s.element || null;
</del><ins>+                s.element = data[2] || e.attr( 'id' ) || s.element || null;
</ins><span class="cx"> 
</span><del>-                if ( cls[3] )
-                        s.addColor = '#' + cls[3];
</del><ins>+                if ( data[3] )
+                        s.addColor = '#' + data[3];
</ins><span class="cx">                 else
</span><span class="cx">                         s.addColor = s.addColor || '#FFFF33';
</span><span class="cx"> 
</span><span class="lines">@@ -94,7 +94,7 @@
</span><span class="cx">                 if ( !valid )
</span><span class="cx">                         return false;
</span><span class="cx"> 
</span><del>-                s.data = $.param( $.extend( { _ajax_nonce: s.nonce, action: s.action }, wpAjax.unserialize( cls[4] || '' ) ) );
</del><ins>+                s.data = $.param( $.extend( { _ajax_nonce: s.nonce, action: s.action }, wpAjax.unserialize( data[4] || '' ) ) );
</ins><span class="cx">                 formData = $.isFunction(es.fieldSerialize) ? es.fieldSerialize() : es.serialize();
</span><span class="cx"> 
</span><span class="cx">                 if ( formData )
</span><span class="lines">@@ -147,14 +147,14 @@
</span><span class="cx">         ajaxDel: function( e, s ) {
</span><span class="cx">                 e = $(e);
</span><span class="cx">                 s = s || {};
</span><del>-                var list = this, cls = wpList.parseClass(e,'delete'), element, res, rres;
</del><ins>+                var list = this, data = wpList.parseData(e,'delete'), element, res, rres;
</ins><span class="cx"> 
</span><span class="cx">                 s = wpList.pre.call( list, e, s, 'delete' );
</span><span class="cx"> 
</span><del>-                s.element = cls[2] || s.element || null;
</del><ins>+                s.element = data[2] || s.element || null;
</ins><span class="cx"> 
</span><del>-                if ( cls[3] )
-                        s.delColor = '#' + cls[3];
</del><ins>+                if ( data[3] )
+                        s.delColor = '#' + data[3];
</ins><span class="cx">                 else
</span><span class="cx">                         s.delColor = s.delColor || '#faa';
</span><span class="cx"> 
</span><span class="lines">@@ -167,7 +167,7 @@
</span><span class="cx"> 
</span><span class="cx">                 s.data = $.extend(
</span><span class="cx">                         { action: s.action, id: s.element.split('-').pop(), _ajax_nonce: s.nonce },
</span><del>-                        wpAjax.unserialize( cls[4] || '' )
</del><ins>+                        wpAjax.unserialize( data[4] || '' )
</ins><span class="cx">                 );
</span><span class="cx"> 
</span><span class="cx">                 if ( $.isFunction(s.delBefore) ) {
</span><span class="lines">@@ -221,20 +221,20 @@
</span><span class="cx">                 e = $(e);
</span><span class="cx">                 s = s || {};
</span><span class="cx"> 
</span><del>-                var list = this, cls = wpList.parseClass(e,'dim'), element, isClass, color, dimColor, res, rres;
</del><ins>+                var list = this, data = wpList.parseData(e,'dim'), element, isClass, color, dimColor, res, rres;
</ins><span class="cx"> 
</span><span class="cx">                 s = wpList.pre.call( list, e, s, 'dim' );
</span><span class="cx"> 
</span><del>-                s.element = cls[2] || s.element || null;
-                s.dimClass =  cls[3] || s.dimClass || null;
</del><ins>+                s.element = data[2] || s.element || null;
+                s.dimClass =  data[3] || s.dimClass || null;
</ins><span class="cx"> 
</span><del>-                if ( cls[4] )
-                        s.dimAddColor = '#' + cls[4];
</del><ins>+                if ( data[4] )
+                        s.dimAddColor = '#' + data[4];
</ins><span class="cx">                 else
</span><span class="cx">                         s.dimAddColor = s.dimAddColor || '#FFFF33';
</span><span class="cx"> 
</span><del>-                if ( cls[5] )
-                        s.dimDelColor = '#' + cls[5];
</del><ins>+                if ( data[5] )
+                        s.dimDelColor = '#' + data[5];
</ins><span class="cx">                 else
</span><span class="cx">                         s.dimDelColor = s.dimDelColor || '#FF3333';
</span><span class="cx"> 
</span><span class="lines">@@ -247,7 +247,7 @@
</span><span class="cx"> 
</span><span class="cx">                 s.data = $.extend(
</span><span class="cx">                         { action: s.action, id: s.element.split('-').pop(), dimClass: s.dimClass, _ajax_nonce : s.nonce },
</span><del>-                        wpAjax.unserialize( cls[6] || '' )
</del><ins>+                        wpAjax.unserialize( data[6] || '' )
</ins><span class="cx">                 );
</span><span class="cx"> 
</span><span class="cx">                 if ( $.isFunction(s.dimBefore) ) {
</span><span class="lines">@@ -393,19 +393,19 @@
</span><span class="cx">                 var list = this,
</span><span class="cx">                         $el = $(el || document);
</span><span class="cx"> 
</span><del>-                $el.delegate( 'form[class^=&quot;add:' + list.id + ':&quot;]', 'submit', function(){
</del><ins>+                $el.delegate( 'form[data-wp-lists^=&quot;add:' + list.id + ':&quot;]', 'submit', function(){
</ins><span class="cx">                         return list.wpList.add(this);
</span><span class="cx">                 });
</span><span class="cx"> 
</span><del>-                $el.delegate( 'a[class^=&quot;add:' + list.id + ':&quot;], input[class^=&quot;add:' + list.id + ':&quot;]', 'click', function(){
</del><ins>+                $el.delegate( 'a[data-wp-lists^=&quot;add:' + list.id + ':&quot;], input[data-wp-lists^=&quot;add:' + list.id + ':&quot;]', 'click', function(){
</ins><span class="cx">                         return list.wpList.add(this);
</span><span class="cx">                 });
</span><span class="cx"> 
</span><del>-                $el.delegate( '[class^=&quot;delete:' + list.id + ':&quot;]', 'click', function(){
</del><ins>+                $el.delegate( '[data-wp-lists^=&quot;delete:' + list.id + ':&quot;]', 'click', function(){
</ins><span class="cx">                         return list.wpList.del(this);
</span><span class="cx">                 });
</span><span class="cx"> 
</span><del>-                $el.delegate( '[class^=&quot;dim:' + list.id + ':&quot;]', 'click', function(){
</del><ins>+                $el.delegate( '[data-wp-lists^=&quot;dim:' + list.id + ':&quot;]', 'click', function(){
</ins><span class="cx">                         return list.wpList.dim(this);
</span><span class="cx">                 });
</span><span class="cx">         },
</span><span class="lines">@@ -450,7 +450,7 @@
</span><span class="cx">         this.each( function() {
</span><span class="cx">                 var _this = this;
</span><span class="cx"> 
</span><del>-                this.wpList = { settings: $.extend( {}, wpList.settings, { what: wpList.parseClass(this,'list')[1] || '' }, settings ) };
</del><ins>+                this.wpList = { settings: $.extend( {}, wpList.settings, { what: wpList.parseData(this,'list')[1] || '' }, settings ) };
</ins><span class="cx">                 $.each( fs, function(i,f) { _this.wpList[i] = function( e, s ) { return wpList[f].call( _this, e, s ); }; } );
</span><span class="cx">         } );
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>