<!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">         </tr>
</span><span class="cx">         </tfoot>
</span><span class="cx">
</span><del>-        <tbody id="the-comment-list" class="list:comment">
</del><ins>+        <tbody id="the-comment-list" data-wp-lists="list:comment">
</ins><span class="cx">                 <?php $this->display_rows_or_placeholder(); ?>
</span><span class="cx">         </tbody>
</span><span class="cx">
</span><del>-        <tbody id="the-extra-comment-list" class="list:comment" style="display: none;">
</del><ins>+        <tbody id="the-extra-comment-list" data-wp-lists="list:comment" style="display: none;">
</ins><span class="cx">                 <?php $this->items = $this->extra_items; $this->display_rows(); ?>
</span><span class="cx">         </tbody>
</span><span class="cx"> </table>
</span><span class="lines">@@ -396,26 +396,26 @@
</span><span class="cx">
</span><span class="cx">                         if ( $comment_status && 'all' != $comment_status ) { // not looking at all comments
</span><span class="cx">                                 if ( 'approved' == $the_comment_status )
</span><del>-                                        $actions['unapprove'] = "<a href='$unapprove_url' class='delete:the-comment-list:comment-$comment->comment_ID:e7e7d3:action=dim-comment&amp;new=unapproved vim-u vim-destructive' title='" . esc_attr__( 'Unapprove this comment' ) . "'>" . __( 'Unapprove' ) . '</a>';
</del><ins>+                                        $actions['unapprove'] = "<a href='$unapprove_url' data-wp-lists='delete:the-comment-list:comment-$comment->comment_ID:e7e7d3:action=dim-comment&amp;new=unapproved' class='vim-u vim-destructive' title='" . esc_attr__( 'Unapprove this comment' ) . "'>" . __( 'Unapprove' ) . '</a>';
</ins><span class="cx">                                 else if ( 'unapproved' == $the_comment_status )
</span><del>-                                        $actions['approve'] = "<a href='$approve_url' class='delete:the-comment-list:comment-$comment->comment_ID:e7e7d3:action=dim-comment&amp;new=approved vim-a vim-destructive' title='" . esc_attr__( 'Approve this comment' ) . "'>" . __( 'Approve' ) . '</a>';
</del><ins>+                                        $actions['approve'] = "<a href='$approve_url' data-wp-lists='delete:the-comment-list:comment-$comment->comment_ID:e7e7d3:action=dim-comment&amp;new=approved' class='vim-a vim-destructive' title='" . esc_attr__( 'Approve this comment' ) . "'>" . __( 'Approve' ) . '</a>';
</ins><span class="cx">                         } else {
</span><del>-                                $actions['approve'] = "<a href='$approve_url' class='dim:the-comment-list:comment-$comment->comment_ID:unapproved:e7e7d3:e7e7d3:new=approved vim-a' title='" . esc_attr__( 'Approve this comment' ) . "'>" . __( 'Approve' ) . '</a>';
-                                $actions['unapprove'] = "<a href='$unapprove_url' class='dim:the-comment-list:comment-$comment->comment_ID:unapproved:e7e7d3:e7e7d3:new=unapproved vim-u' title='" . esc_attr__( 'Unapprove this comment' ) . "'>" . __( 'Unapprove' ) . '</a>';
</del><ins>+                                $actions['approve'] = "<a href='$approve_url' data-wp-lists='dim:the-comment-list:comment-$comment->comment_ID:unapproved:e7e7d3:e7e7d3:new=approved' class='vim-a' title='" . esc_attr__( 'Approve this comment' ) . "'>" . __( 'Approve' ) . '</a>';
+                                $actions['unapprove'] = "<a href='$unapprove_url' data-wp-lists='dim:the-comment-list:comment-$comment->comment_ID:unapproved:e7e7d3:e7e7d3:new=unapproved' class='vim-u' title='" . esc_attr__( 'Unapprove this comment' ) . "'>" . __( 'Unapprove' ) . '</a>';
</ins><span class="cx">                         }
</span><span class="cx">
</span><span class="cx">                         if ( 'spam' != $the_comment_status && 'trash' != $the_comment_status ) {
</span><del>-                                $actions['spam'] = "<a href='$spam_url' class='delete:the-comment-list:comment-$comment->comment_ID::spam=1 vim-s vim-destructive' title='" . esc_attr__( 'Mark this comment as spam' ) . "'>" . /* translators: mark as spam link */ _x( 'Spam', 'verb' ) . '</a>';
</del><ins>+                                $actions['spam'] = "<a href='$spam_url' data-wp-lists='delete:the-comment-list:comment-$comment->comment_ID::spam=1' class='vim-s vim-destructive' title='" . esc_attr__( 'Mark this comment as spam' ) . "'>" . /* translators: mark as spam link */ _x( 'Spam', 'verb' ) . '</a>';
</ins><span class="cx">                         } elseif ( 'spam' == $the_comment_status ) {
</span><del>-                                $actions['unspam'] = "<a href='$unspam_url' class='delete:the-comment-list:comment-$comment->comment_ID:66cc66:unspam=1 vim-z vim-destructive'>" . _x( 'Not Spam', 'comment' ) . '</a>';
</del><ins>+                                $actions['unspam'] = "<a href='$unspam_url' data-wp-lists='delete:the-comment-list:comment-$comment->comment_ID:66cc66:unspam=1' class='vim-z vim-destructive'>" . _x( 'Not Spam', 'comment' ) . '</a>';
</ins><span class="cx">                         } elseif ( 'trash' == $the_comment_status ) {
</span><del>-                                $actions['untrash'] = "<a href='$untrash_url' class='delete:the-comment-list:comment-$comment->comment_ID:66cc66:untrash=1 vim-z vim-destructive'>" . __( 'Restore' ) . '</a>';
</del><ins>+                                $actions['untrash'] = "<a href='$untrash_url' data-wp-lists='delete:the-comment-list:comment-$comment->comment_ID:66cc66:untrash=1' class='vim-z vim-destructive'>" . __( 'Restore' ) . '</a>';
</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'] = "<a href='$delete_url' class='delete:the-comment-list:comment-$comment->comment_ID::delete=1 delete vim-d vim-destructive'>" . __( 'Delete Permanently' ) . '</a>';
</del><ins>+                                $actions['delete'] = "<a href='$delete_url' data-wp-lists='delete:the-comment-list:comment-$comment->comment_ID::delete=1' class='delete vim-d vim-destructive'>" . __( 'Delete Permanently' ) . '</a>';
</ins><span class="cx">                         } else {
</span><del>-                                $actions['trash'] = "<a href='$trash_url' class='delete:the-comment-list:comment-$comment->comment_ID::trash=1 delete vim-d vim-destructive' title='" . esc_attr__( 'Move this comment to the trash' ) . "'>" . _x( 'Trash', 'verb' ) . '</a>';
</del><ins>+                                $actions['trash'] = "<a href='$trash_url' data-wp-lists='delete:the-comment-list:comment-$comment->comment_ID::trash=1' class='delete vim-d vim-destructive' title='" . esc_attr__( 'Move this comment to the trash' ) . "'>" . _x( 'Trash', 'verb' ) . '</a>';
</ins><span class="cx">                         }
</span><span class="cx">
</span><span class="cx">                         if ( 'spam' != $the_comment_status && 'trash' != $the_comment_status ) {
</span><span class="lines">@@ -552,7 +552,7 @@
</span><span class="cx">                 wp_nonce_field( "fetch-list-" . get_class( $this ), '_ajax_fetch_list_nonce' );
</span><span class="cx"> ?>
</span><span class="cx"> <table class="<?php echo implode( ' ', $this->get_table_classes() ); ?>" cellspacing="0" style="display:none;">
</span><del>-        <tbody id="the-comment-list"<?php if ( $singular ) echo " class='list:$singular'"; ?>>
</del><ins>+        <tbody id="the-comment-list"<?php if ( $singular ) echo " data-wp-lists='list:$singular'"; ?>>
</ins><span class="cx">                 <?php if ( ! $output_empty ) $this->display_rows_or_placeholder(); ?>
</span><span class="cx">         </tbody>
</span><span class="cx"> </table>
</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">         </tr>
</span><span class="cx">         </tfoot>
</span><span class="cx">
</span><del>-        <tbody id="the-list"<?php if ( $singular ) echo " class='list:$singular'"; ?>>
</del><ins>+        <tbody id="the-list"<?php if ( $singular ) echo " data-wp-lists='list:$singular'"; ?>>
</ins><span class="cx">                 <?php $this->display_rows_or_placeholder(); ?>
</span><span class="cx">         </tbody>
</span><span class="cx"> </table>
</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 '<div id="the-comment-list" class="list:comment">';
</del><ins>+                echo '<div id="the-comment-list" data-wp-lists="list:comment">';
</ins><span class="cx">                 foreach ( $comments as $comment )
</span><span class="cx">                         _wp_dashboard_recent_comments_row( $comment );
</span><span class="cx">                 echo '</div>';
</span><span class="lines">@@ -660,15 +660,15 @@
</span><span class="cx">                 $trash_url = esc_url( "comment.php?action=trashcomment&p=$comment->comment_post_ID&c=$comment->comment_ID&$del_nonce" );
</span><span class="cx">                 $delete_url = esc_url( "comment.php?action=deletecomment&p=$comment->comment_post_ID&c=$comment->comment_ID&$del_nonce" );
</span><span class="cx">
</span><del>-                $actions['approve'] = "<a href='$approve_url' class='dim:the-comment-list:comment-$comment->comment_ID:unapproved:e7e7d3:e7e7d3:new=approved vim-a' title='" . esc_attr__( 'Approve this comment' ) . "'>" . __( 'Approve' ) . '</a>';
-                $actions['unapprove'] = "<a href='$unapprove_url' class='dim:the-comment-list:comment-$comment->comment_ID:unapproved:e7e7d3:e7e7d3:new=unapproved vim-u' title='" . esc_attr__( 'Unapprove this comment' ) . "'>" . __( 'Unapprove' ) . '</a>';
</del><ins>+                $actions['approve'] = "<a href='$approve_url' data-wp-lists='dim:the-comment-list:comment-$comment->comment_ID:unapproved:e7e7d3:e7e7d3:new=approved' class='vim-a' title='" . esc_attr__( 'Approve this comment' ) . "'>" . __( 'Approve' ) . '</a>';
+                $actions['unapprove'] = "<a href='$unapprove_url' data-wp-lists='dim:the-comment-list:comment-$comment->comment_ID:unapproved:e7e7d3:e7e7d3:new=unapproved' class='vim-u' title='" . esc_attr__( 'Unapprove this comment' ) . "'>" . __( 'Unapprove' ) . '</a>';
</ins><span class="cx">                 $actions['edit'] = "<a href='comment.php?action=editcomment&amp;c={$comment->comment_ID}' title='" . esc_attr__('Edit comment') . "'>". __('Edit') . '</a>';
</span><span class="cx">                 $actions['reply'] = '<a onclick="commentReply.open(\''.$comment->comment_ID.'\',\''.$comment->comment_post_ID.'\');return false;" class="vim-r hide-if-no-js" title="'.esc_attr__('Reply to this comment').'" href="#">' . __('Reply') . '</a>';
</span><del>-                $actions['spam'] = "<a href='$spam_url' class='delete:the-comment-list:comment-$comment->comment_ID::spam=1 vim-s vim-destructive' title='" . esc_attr__( 'Mark this comment as spam' ) . "'>" . /* translators: mark as spam link */ _x( 'Spam', 'verb' ) . '</a>';
</del><ins>+                $actions['spam'] = "<a href='$spam_url' data-wp-lists='delete:the-comment-list:comment-$comment->comment_ID::spam=1' class='vim-s vim-destructive' title='" . esc_attr__( 'Mark this comment as spam' ) . "'>" . /* translators: mark as spam link */ _x( 'Spam', 'verb' ) . '</a>';
</ins><span class="cx">                 if ( !EMPTY_TRASH_DAYS )
</span><del>-                        $actions['delete'] = "<a href='$delete_url' class='delete:the-comment-list:comment-$comment->comment_ID::trash=1 delete vim-d vim-destructive'>" . __('Delete Permanently') . '</a>';
</del><ins>+                        $actions['delete'] = "<a href='$delete_url' data-wp-lists='delete:the-comment-list:comment-$comment->comment_ID::trash=1' class='delete vim-d vim-destructive'>" . __('Delete Permanently') . '</a>';
</ins><span class="cx">                 else
</span><del>-                        $actions['trash'] = "<a href='$trash_url' class='delete:the-comment-list:comment-$comment->comment_ID::trash=1 delete vim-d vim-destructive' title='" . esc_attr__( 'Move this comment to the trash' ) . "'>" . _x('Trash', 'verb') . '</a>';
</del><ins>+                        $actions['trash'] = "<a href='$trash_url' data-wp-lists='delete:the-comment-list:comment-$comment->comment_ID::trash=1' class='delete vim-d vim-destructive' title='" . esc_attr__( 'Move this comment to the trash' ) . "'>" . _x('Trash', 'verb') . '</a>';
</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 "<input type='hidden' name='{$name}[]' value='0' />"; // 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"> ?>
</span><del>-                        <ul id="<?php echo $taxonomy; ?>checklist" class="list:<?php echo $taxonomy?> categorychecklist form-no-clear">
</del><ins>+                        <ul id="<?php echo $taxonomy; ?>checklist" data-wp-lists="list:<?php echo $taxonomy?>" class="categorychecklist form-no-clear">
</ins><span class="cx">                                 <?php wp_terms_checklist($post->ID, array( 'taxonomy' => $taxonomy, 'popular_cats' => $popular_ids ) ) ?>
</span><span class="cx">                         </ul>
</span><span class="cx">                 </div>
</span><span class="lines">@@ -444,7 +444,7 @@
</span><span class="cx">                                                 <?php echo $tax->labels->parent_item_colon; ?>
</span><span class="cx">                                         </label>
</span><span class="cx">                                         <?php wp_dropdown_categories( array( 'taxonomy' => $taxonomy, 'hide_empty' => 0, 'name' => 'new'.$taxonomy.'_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => '&mdash; ' . $tax->labels->parent_item . ' &mdash;' ) ); ?>
</span><del>-                                        <input type="button" id="<?php echo $taxonomy; ?>-add-submit" class="add:<?php echo $taxonomy ?>checklist:<?php echo $taxonomy ?>-add button category-add-submit" value="<?php echo esc_attr( $tax->labels->add_new_item ); ?>" />
</del><ins>+                                        <input type="button" id="<?php echo $taxonomy; ?>-add-submit" data-wp-lists="add:<?php echo $taxonomy ?>checklist:<?php echo $taxonomy ?>-add" class="button category-add-submit" value="<?php echo esc_attr( $tax->labels->add_new_item ); ?>" />
</ins><span class="cx">                                         <?php wp_nonce_field( 'add-'.$taxonomy, '_ajax_nonce-add-'.$taxonomy, false ); ?>
</span><span class="cx">                                         <span id="<?php echo $taxonomy; ?>-ajax-response"></span>
</span><span class="cx">                                 </p>
</span><span class="lines">@@ -755,7 +755,7 @@
</span><span class="cx">         </ul>
</span><span class="cx">
</span><span class="cx">         <div id="categories-all" class="tabs-panel">
</span><del>-                <ul id="categorychecklist" class="list:category categorychecklist form-no-clear">
</del><ins>+                <ul id="categorychecklist" data-wp-lists="list:category" class="categorychecklist form-no-clear">
</ins><span class="cx">                         <?php
</span><span class="cx">                         if ( isset($link->link_id) )
</span><span class="cx">                                 wp_link_category_checklist($link->link_id);
</span><span class="lines">@@ -776,7 +776,7 @@
</span><span class="cx">                 <p id="link-category-add" class="wp-hidden-child">
</span><span class="cx">                         <label class="screen-reader-text" for="newcat"><?php _e( '+ Add New Category' ); ?></label>
</span><span class="cx">                         <input type="text" name="newcat" id="newcat" class="form-required form-input-tip" value="<?php esc_attr_e( 'New category name' ); ?>" aria-required="true" />
</span><del>-                        <input type="button" id="link-category-add-submit" class="add:categorychecklist:linkcategorydiv button" value="<?php esc_attr_e( 'Add' ); ?>" />
</del><ins>+                        <input type="button" id="link-category-add-submit" data-wp-lists="add:categorychecklist:link-category-add" class="button" value="<?php esc_attr_e( 'Add' ); ?>" />
</ins><span class="cx">                         <?php wp_nonce_field( 'add-link-category', '_ajax_nonce', false ); ?>
</span><span class="cx">                         <span id="category-ajax-response"></span>
</span><span class="cx">                 </p>
</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">                                 <?php submit_button( __( 'Search' ), 'button-small quick-search-submit button-secondary hide-if-js', 'submit', false, array( 'id' => 'submit-quick-search-posttype-' . $post_type_name ) ); ?>
</span><span class="cx">                         </p>
</span><span class="cx">
</span><del>-                        <ul id="<?php echo $post_type_name; ?>-search-checklist" class="list:<?php echo $post_type_name?> categorychecklist form-no-clear">
</del><ins>+                        <ul id="<?php echo $post_type_name; ?>-search-checklist" data-wp-lists="list:<?php echo $post_type_name?>" class="categorychecklist form-no-clear">
</ins><span class="cx">                         <?php if ( ! empty( $search_results ) && ! is_wp_error( $search_results ) ) : ?>
</span><span class="cx">                                 <?php
</span><span class="cx">                                 $args['walker'] = $walker;
</span><span class="lines">@@ -719,7 +719,7 @@
</span><span class="cx">                                         <?php echo $page_links; ?>
</span><span class="cx">                                 </div>
</span><span class="cx">                         <?php endif; ?>
</span><del>-                        <ul id="<?php echo $post_type_name; ?>checklist" class="list:<?php echo $post_type_name?> categorychecklist form-no-clear">
</del><ins>+                        <ul id="<?php echo $post_type_name; ?>checklist" data-wp-lists="list:<?php echo $post_type_name?>" class="categorychecklist form-no-clear">
</ins><span class="cx">                                 <?php
</span><span class="cx">                                 $args['walker'] = $walker;
</span><span class="cx">
</span><span class="lines">@@ -896,7 +896,7 @@
</span><span class="cx">                                         <?php echo $page_links; ?>
</span><span class="cx">                                 </div>
</span><span class="cx">                         <?php endif; ?>
</span><del>-                        <ul id="<?php echo $taxonomy_name; ?>checklist" class="list:<?php echo $taxonomy_name?> categorychecklist form-no-clear">
</del><ins>+                        <ul id="<?php echo $taxonomy_name; ?>checklist" data-wp-lists="list:<?php echo $taxonomy_name?>" class="categorychecklist form-no-clear">
</ins><span class="cx">                                 <?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">                                 <?php submit_button( __( 'Search' ), 'button-small quick-search-submit button-secondary hide-if-js', 'submit', false, array( 'id' => 'submit-quick-search-taxonomy-' . $taxonomy_name ) ); ?>
</span><span class="cx">                         </p>
</span><span class="cx">
</span><del>-                        <ul id="<?php echo $taxonomy_name; ?>-search-checklist" class="list:<?php echo $taxonomy_name?> categorychecklist form-no-clear">
</del><ins>+                        <ul id="<?php echo $taxonomy_name; ?>-search-checklist" data-wp-lists="list:<?php echo $taxonomy_name?>" class="categorychecklist form-no-clear">
</ins><span class="cx">                         <?php if ( ! empty( $search_results ) && ! is_wp_error( $search_results ) ) : ?>
</span><span class="cx">                                 <?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">                 <th>' . __( 'Value' ) . '</th>
</span><span class="cx">         </tr>
</span><span class="cx">         </thead>
</span><del>-        <tbody id="the-list" class="list:meta">
</del><ins>+        <tbody id="the-list" data-wp-lists="list:meta">
</ins><span class="cx">         <tr><td></td></tr>
</span><span class="cx">         </tbody>
</span><span class="cx"> </table>'; //TBODY needed for list-manipulation JS
</span><span class="lines">@@ -436,7 +436,7 @@
</span><span class="cx">                 <th><?php _e( 'Value' ) ?></th>
</span><span class="cx">         </tr>
</span><span class="cx">         </thead>
</span><del>-        <tbody id='the-list' class='list:meta'>
</del><ins>+        <tbody id='the-list' data-wp-lists='list:meta'>
</ins><span class="cx"> <?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 .= "\n\t\t<td class='left'><label class='screen-reader-text' for='meta[{$entry['meta_id']}][key]'>" . __( 'Key' ) . "</label><input name='meta[{$entry['meta_id']}][key]' id='meta[{$entry['meta_id']}][key]' type='text' size='20' value='{$entry['meta_key']}' />";
</span><span class="cx">
</span><span class="cx">         $r .= "\n\t\t<div class='submit'>";
</span><del>-        $r .= get_submit_button( __( 'Delete' ), "delete:the-list:meta-{$entry['meta_id']}::_ajax_nonce=$delete_nonce deletemeta small", "deletemeta[{$entry['meta_id']}]", false );
</del><ins>+        $r .= get_submit_button( __( 'Delete' ), 'deletemeta small', "deletemeta[{$entry['meta_id']}]", false, array( 'data-wp-lists' => "delete:the-list:meta-{$entry['meta_id']}::_ajax_nonce=$delete_nonce" ) );
</ins><span class="cx">         $r .= "\n\t\t";
</span><del>-        $r .= get_submit_button( __( 'Update' ), "add:the-list:meta-{$entry['meta_id']}::_ajax_nonce-add-meta=$update_nonce updatemeta small" , "meta-{$entry['meta_id']}-submit", false );
</del><ins>+        $r .= get_submit_button( __( 'Update' ), 'updatemeta small', "meta-{$entry['meta_id']}-submit", false, array( 'data-wp-lists' => "add:the-list:meta-{$entry['meta_id']}::_ajax_nonce-add-meta=$update_nonce" ) );
</ins><span class="cx">         $r .= "</div>";
</span><span class="cx">         $r .= wp_nonce_field( 'change-meta', '_ajax_nonce', false, false );
</span><span class="cx">         $r .= "</td>";
</span><span class="lines">@@ -556,7 +556,7 @@
</span><span class="cx">
</span><span class="cx"> <tr><td colspan="2">
</span><span class="cx"> <div class="submit">
</span><del>-<?php submit_button( __( 'Add Custom Field' ), 'add:the-list:newmeta secondary', 'addmeta', false, array( 'id' => 'newmeta-submit' ) ); ?>
</del><ins>+<?php submit_button( __( 'Add Custom Field' ), 'secondary', 'addmeta', false, array( 'id' => 'newmeta-submit', 'data-wp-lists' => 'add:the-list:newmeta' ) ); ?>
</ins><span class="cx"> </div>
</span><span class="cx"> <?php wp_nonce_field( 'add-meta', '_ajax_nonce-add-meta', false ); ?>
</span><span class="cx"> </td></tr>
</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('<span id="ajaxcat"><input type="text" name="newcat" id="newcat" size="16" autocomplete="off"/><input type="button" name="Button" class="add:categorychecklist:jaxcat" id="catadd" value="' + catL10n.add + '"/><input type="hidden"/><input type="hidden"/><span id="howto">' + catL10n.how + '</span></span><span id="cat-ajax-response"></span>');
</del><ins>+        $('#jaxcat').prepend('<span id="ajaxcat"><input type="text" name="newcat" id="newcat" size="16" autocomplete="off"/><input type="button" name="Button" data-wp-lists="add:categorychecklist:jaxcat" id="catadd" value="' + catL10n.add + '"/><input type="hidden"/><input type="hidden"/><span id="howto">' + catL10n.how + '</span></span><span id="cat-ajax-response"></span>');
</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="comment_status"]', '#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&c=' + id + '&_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">                                         </div>
</span><span class="cx">
</span><span class="cx">                                         <div id="category-all" class="tabs-panel">
</span><del>-                                                <ul id="categorychecklist" class="list:category categorychecklist form-no-clear">
</del><ins>+                                                <ul id="categorychecklist" data-wp-lists="list:category" class="categorychecklist form-no-clear">
</ins><span class="cx">                                                         <?php wp_terms_checklist($post_ID, array( 'taxonomy' => 'category', 'popular_cats' => $popular_ids ) ) ?>
</span><span class="cx">                                                 </ul>
</span><span class="cx">                                         </div>
</span><span class="lines">@@ -528,7 +528,7 @@
</span><span class="cx">                                                                         <?php echo $tax->labels->parent_item_colon; ?>
</span><span class="cx">                                                                 </label>
</span><span class="cx">                                                                 <?php wp_dropdown_categories( array( 'taxonomy' => 'category', 'hide_empty' => 0, 'name' => 'newcategory_parent', 'orderby' => 'name', 'hierarchical' => 1, 'show_option_none' => '&mdash; ' . $tax->labels->parent_item . ' &mdash;' ) ); ?>
</span><del>-                                                                <input type="button" id="category-add-submit" class="add:categorychecklist:category-add button category-add-submit" value="<?php echo esc_attr( $tax->labels->add_new_item ); ?>" />
</del><ins>+                                                                <input type="button" id="category-add-submit" data-wp-lists="add:categorychecklist:category-add" class="button category-add-submit" value="<?php echo esc_attr( $tax->labels->add_new_item ); ?>" />
</ins><span class="cx">                                                                 <?php wp_nonce_field( 'add-category', '_ajax_nonce-add-category', false ); ?>
</span><span class="cx">                                                                 <span id="category-ajax-response"></span>
</span><span class="cx">                                                         </p>
</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"> ?>
</span><del>-<form action="" method="post" name="adduser" id="adduser" class="add:users: validate"<?php do_action('user_new_form_tag');?>>
</del><ins>+<form action="" method="post" name="adduser" id="adduser" class="validate"<?php do_action('user_new_form_tag');?>>
</ins><span class="cx"> <input name="action" type="hidden" value="adduser" />
</span><span class="cx"> <?php wp_nonce_field( 'add-user', '_wpnonce_add-user' ) ?>
</span><span class="cx">
</span><span class="lines">@@ -300,7 +300,7 @@
</span><span class="cx">                 echo '<h3 id="create-new-user">' . __( 'Add New User' ) . '</h3>';
</span><span class="cx"> ?>
</span><span class="cx"> <p><?php _e('Create a brand new user and add it to this site.'); ?></p>
</span><del>-<form action="" method="post" name="createuser" id="createuser" class="add:users: validate"<?php do_action('user_new_form_tag');?>>
</del><ins>+<form action="" method="post" name="createuser" id="createuser" class="validate"<?php do_action('user_new_form_tag');?>>
</ins><span class="cx"> <input name="action" type="hidden" value="createuser" />
</span><span class="cx"> <?php wp_nonce_field( 'create-user', '_wpnonce_create-user' ) ?>
</span><span class="cx"> <?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="_ajax_nonce"]').val() || url._wpnonce || $('#' + s.element + ' input[name="_wpnonce"]').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^="add:' + list.id + ':"]', 'submit', function(){
</del><ins>+                $el.delegate( 'form[data-wp-lists^="add:' + list.id + ':"]', '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^="add:' + list.id + ':"], input[class^="add:' + list.id + ':"]', 'click', function(){
</del><ins>+                $el.delegate( 'a[data-wp-lists^="add:' + list.id + ':"], input[data-wp-lists^="add:' + list.id + ':"]', 'click', function(){
</ins><span class="cx">                         return list.wpList.add(this);
</span><span class="cx">                 });
</span><span class="cx">
</span><del>-                $el.delegate( '[class^="delete:' + list.id + ':"]', 'click', function(){
</del><ins>+                $el.delegate( '[data-wp-lists^="delete:' + list.id + ':"]', 'click', function(){
</ins><span class="cx">                         return list.wpList.del(this);
</span><span class="cx">                 });
</span><span class="cx">
</span><del>-                $el.delegate( '[class^="dim:' + list.id + ':"]', 'click', function(){
</del><ins>+                $el.delegate( '[data-wp-lists^="dim:' + list.id + ':"]', '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>