<!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>[18010] trunk: Validation fixes.</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://trac.wordpress.org/changeset/18010">18010</a></dd>
<dt>Author</dt> <dd>ryan</dd>
<dt>Date</dt> <dd>2011-05-23 23:33:30 +0000 (Mon, 23 May 2011)</dd>
</dl>
<h3>Log Message</h3>
<pre>Validation fixes. Props ocean90, peaceablewhale. see <a href="http://trac.wordpress.org/ticket/17364">#17364</a></pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadminadminajaxphp">trunk/wp-admin/admin-ajax.php</a></li>
<li><a href="#trunkwpadmincustombackgroundphp">trunk/wp-admin/custom-background.php</a></li>
<li><a href="#trunkwpadmincustomheaderphp">trunk/wp-admin/custom-header.php</a></li>
<li><a href="#trunkwpadminedittagsphp">trunk/wp-admin/edit-tags.php</a></li>
<li><a href="#trunkwpadminexportphp">trunk/wp-admin/export.php</a></li>
<li><a href="#trunkwpadminincludesclasswppostslisttablephp">trunk/wp-admin/includes/class-wp-posts-list-table.php</a></li>
<li><a href="#trunkwpadminincludesclasswptermslisttablephp">trunk/wp-admin/includes/class-wp-terms-list-table.php</a></li>
<li><a href="#trunkwpadminincludesclasswpuserslisttablephp">trunk/wp-admin/includes/class-wp-users-list-table.php</a></li>
<li><a href="#trunkwpadminincludesdashboardphp">trunk/wp-admin/includes/dashboard.php</a></li>
<li><a href="#trunkwpadminincludesnavmenuphp">trunk/wp-admin/includes/nav-menu.php</a></li>
<li><a href="#trunkwpadminincludeswidgetsphp">trunk/wp-admin/includes/widgets.php</a></li>
<li><a href="#trunkwpadminnavmenusphp">trunk/wp-admin/nav-menus.php</a></li>
<li><a href="#trunkwpadminnetworksiteusersphp">trunk/wp-admin/network/site-users.php</a></li>
<li><a href="#trunkwpadminoptionswritingphp">trunk/wp-admin/options-writing.php</a></li>
<li><a href="#trunkwpadminthemesphp">trunk/wp-admin/themes.php</a></li>
<li><a href="#trunkwpcontentthemestwentyelevenincthemeoptionsphp">trunk/wp-content/themes/twentyeleven/inc/theme-options.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadminadminajaxphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/admin-ajax.php (18009 => 18010)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/admin-ajax.php        2011-05-23 23:11:03 UTC (rev 18009)
+++ trunk/wp-admin/admin-ajax.php        2011-05-23 23:33:30 UTC (rev 18010)
</span><span class="lines">@@ -508,7 +508,7 @@
</span><span class="cx">         $x->send();
</span><span class="cx">         break;
</span><span class="cx"> case 'add-tag' :
</span><del>-        check_ajax_referer( 'add-tag' );
</del><ins>+        check_ajax_referer( 'add-tag', '_wpnonce_add-tag' );
</ins><span class="cx">         $post_type = !empty($_POST['post_type']) ? $_POST['post_type'] : 'post';
</span><span class="cx">         $taxonomy = !empty($_POST['taxonomy']) ? $_POST['taxonomy'] : 'post_tag';
</span><span class="cx">         $tax = get_taxonomy($taxonomy);
</span></span></pre></div>
<a id="trunkwpadmincustombackgroundphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/custom-background.php (18009 => 18010)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/custom-background.php        2011-05-23 23:11:03 UTC (rev 18009)
+++ trunk/wp-admin/custom-background.php        2011-05-23 23:33:30 UTC (rev 18010)
</span><span class="lines">@@ -237,7 +237,6 @@
</span><span class="cx"> <input type="hidden" name="action" value="save" />
</span><span class="cx"> <?php wp_nonce_field('custom-background-upload', '_wpnonce-custom-background-upload') ?>
</span><span class="cx"> <?php submit_button( __( 'Upload' ), 'button', 'submit', false ); ?>
</span><del>-</p>
</del><span class="cx"> </form>
</span><span class="cx"> </td>
</span><span class="cx"> </tr>
</span><span class="lines">@@ -270,10 +269,10 @@
</span><span class="cx"> <tr valign="top">
</span><span class="cx"> <th scope="row"><?php _e( 'Repeat' ); ?></th>
</span><span class="cx"> <td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Repeat' ); ?></span></legend>
</span><del>-<label><input type="radio" name="background-repeat" value="no-repeat"<?php checked('no-repeat', get_theme_mod('background_repeat', 'repeat')); ?>> <?php _e('No Repeat'); ?></option></label>
-        <label><input type="radio" name="background-repeat" value="repeat"<?php checked('repeat', get_theme_mod('background_repeat', 'repeat')); ?>> <?php _e('Tile'); ?></option></label>
-        <label><input type="radio" name="background-repeat" value="repeat-x"<?php checked('repeat-x', get_theme_mod('background_repeat', 'repeat')); ?>> <?php _e('Tile Horizontally'); ?></option></label>
-        <label><input type="radio" name="background-repeat" value="repeat-y"<?php checked('repeat-y', get_theme_mod('background_repeat', 'repeat')); ?>> <?php _e('Tile Vertically'); ?></option></label>
</del><ins>+<label><input type="radio" name="background-repeat" value="no-repeat"<?php checked('no-repeat', get_theme_mod('background_repeat', 'repeat')); ?> /> <?php _e('No Repeat'); ?></label>
+        <label><input type="radio" name="background-repeat" value="repeat"<?php checked('repeat', get_theme_mod('background_repeat', 'repeat')); ?> /> <?php _e('Tile'); ?></label>
+        <label><input type="radio" name="background-repeat" value="repeat-x"<?php checked('repeat-x', get_theme_mod('background_repeat', 'repeat')); ?> /> <?php _e('Tile Horizontally'); ?></label>
+        <label><input type="radio" name="background-repeat" value="repeat-y"<?php checked('repeat-y', get_theme_mod('background_repeat', 'repeat')); ?> /> <?php _e('Tile Vertically'); ?></label>
</ins><span class="cx"> </fieldset></td>
</span><span class="cx"> </tr>
</span><span class="cx">
</span></span></pre></div>
<a id="trunkwpadmincustomheaderphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/custom-header.php (18009 => 18010)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/custom-header.php        2011-05-23 23:11:03 UTC (rev 18009)
+++ trunk/wp-admin/custom-header.php        2011-05-23 23:33:30 UTC (rev 18010)
</span><span class="lines">@@ -388,7 +388,8 @@
</span><span class="cx">                 <?php if ( 'blank' == get_theme_mod( 'header_textcolor', HEADER_TEXTCOLOR ) || '' == get_theme_mod('header_textcolor', HEADER_TEXTCOLOR) || ! $this->header_text() ) { ?>
</span><span class="cx">                 toggle_text();
</span><span class="cx">                 <?php } ?>
</span><del>-                });
</del><ins>+        });
+/* ]]> */
</ins><span class="cx"> </script>
</span><span class="cx"> <?php
</span><span class="cx">         }
</span></span></pre></div>
<a id="trunkwpadminedittagsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/edit-tags.php (18009 => 18010)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/edit-tags.php        2011-05-23 23:11:03 UTC (rev 18009)
+++ trunk/wp-admin/edit-tags.php        2011-05-23 23:33:30 UTC (rev 18010)
</span><span class="lines">@@ -34,7 +34,7 @@
</span><span class="cx">
</span><span class="cx"> case 'add-tag':
</span><span class="cx">
</span><del>-        check_admin_referer( 'add-tag' );
</del><ins>+        check_admin_referer( 'add-tag', '_wpnonce_add-tag' );
</ins><span class="cx">
</span><span class="cx">         if ( !current_user_can( $tax->cap->edit_terms ) )
</span><span class="cx">                 wp_die( __( 'Cheatin&#8217; uh?' ) );
</span><span class="lines">@@ -328,7 +328,7 @@
</span><span class="cx"> <input type="hidden" name="screen" value="<?php echo esc_attr($current_screen->id); ?>" />
</span><span class="cx"> <input type="hidden" name="taxonomy" value="<?php echo esc_attr($taxonomy); ?>" />
</span><span class="cx"> <input type="hidden" name="post_type" value="<?php echo esc_attr($post_type); ?>" />
</span><del>-<?php wp_nonce_field('add-tag'); ?>
</del><ins>+<?php wp_nonce_field('add-tag', '_wpnonce_add-tag'); ?>
</ins><span class="cx">
</span><span class="cx"> <div class="form-field form-required">
</span><span class="cx">         <label for="tag-name"><?php _ex('Name', 'Taxonomy Name'); ?></label>
</span></span></pre></div>
<a id="trunkwpadminexportphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/export.php (18009 => 18010)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/export.php        2011-05-23 23:11:03 UTC (rev 18009)
+++ trunk/wp-admin/export.php        2011-05-23 23:33:30 UTC (rev 18010)
</span><span class="lines">@@ -109,7 +109,7 @@
</span><span class="cx">                         continue;
</span><span class="cx">
</span><span class="cx">                 $month = zeroise( $date->month, 2 );
</span><del>-                echo '<option value="' . $date->year . '-' . $month . '" />' . $wp_locale->get_month( $month ) . ' ' . $date->year . '</option>';
</del><ins>+                echo '<option value="' . $date->year . '-' . $month . '">' . $wp_locale->get_month( $month ) . ' ' . $date->year . '</option>';
</ins><span class="cx">         }
</span><span class="cx"> }
</span><span class="cx"> ?>
</span></span></pre></div>
<a id="trunkwpadminincludesclasswppostslisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-posts-list-table.php (18009 => 18010)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-posts-list-table.php        2011-05-23 23:11:03 UTC (rev 18009)
+++ trunk/wp-admin/includes/class-wp-posts-list-table.php        2011-05-23 23:33:30 UTC (rev 18010)
</span><span class="lines">@@ -281,7 +281,7 @@
</span><span class="cx">
</span><span class="cx">                 $post_status = !empty( $_REQUEST['post_status'] ) ? $_REQUEST['post_status'] : 'all';
</span><span class="cx">                 if ( post_type_supports( $post_type, 'comments' ) && !in_array( $post_status, array( 'pending', 'draft', 'future' ) ) )
</span><del>-                        $posts_columns['comments'] = '<div class="vers"><img alt="' . esc_attr__( 'Comments' ) . '" src="' . esc_url( admin_url( 'images/comment-grey-bubble.png' ) ) . '" /></div>';
</del><ins>+                        $posts_columns['comments'] = '<span class="vers"><img alt="' . esc_attr__( 'Comments' ) . '" src="' . esc_url( admin_url( 'images/comment-grey-bubble.png' ) ) . '" /></span>';
</ins><span class="cx">
</span><span class="cx">                 $posts_columns['date'] = __( 'Date' );
</span><span class="cx">
</span></span></pre></div>
<a id="trunkwpadminincludesclasswptermslisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-terms-list-table.php (18009 => 18010)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-terms-list-table.php        2011-05-23 23:11:03 UTC (rev 18009)
+++ trunk/wp-admin/includes/class-wp-terms-list-table.php        2011-05-23 23:33:30 UTC (rev 18010)
</span><span class="lines">@@ -250,7 +250,7 @@
</span><span class="cx">                 $pad = str_repeat( '&#8212; ', max( 0, $this->level ) );
</span><span class="cx">                 $name = apply_filters( 'term_name', $pad . ' ' . $tag->name, $tag );
</span><span class="cx">                 $qe_data = get_term( $tag->term_id, $taxonomy, OBJECT, 'edit' );
</span><del>-                $edit_link = get_edit_term_link( $tag->term_id, $taxonomy, $post_type );
</del><ins>+                $edit_link = esc_url( get_edit_term_link( $tag->term_id, $taxonomy, $post_type ) );
</ins><span class="cx">
</span><span class="cx">                 $out = '<strong><a class="row-title" href="' . $edit_link . '" title="' . esc_attr( sprintf( __( 'Edit &#8220;%s&#8221;' ), $name ) ) . '">' . $name . '</a></strong><br />';
</span><span class="cx">
</span><span class="lines">@@ -269,7 +269,7 @@
</span><span class="cx">                 $out .= '<div class="hidden" id="inline_' . $qe_data->term_id . '">';
</span><span class="cx">                 $out .= '<div class="name">' . $qe_data->name . '</div>';
</span><span class="cx">                 $out .= '<div class="slug">' . apply_filters( 'editable_slug', $qe_data->slug ) . '</div>';
</span><del>-                $out .= '<div class="parent">' . $qe_data->parent . '</div></div></td>';
</del><ins>+                $out .= '<div class="parent">' . $qe_data->parent . '</div></div>';
</ins><span class="cx">
</span><span class="cx">                 return $out;
</span><span class="cx">         }
</span><span class="lines">@@ -300,7 +300,7 @@
</span><span class="cx">
</span><span class="cx">                 $args['post_type'] = $post_type;
</span><span class="cx">
</span><del>-                return "<a href='" . add_query_arg( $args, 'edit.php' ) . "'>$count</a>";
</del><ins>+                return "<a href='" . esc_url ( add_query_arg( $args, 'edit.php' ) ) . "'>$count</a>";
</ins><span class="cx">         }
</span><span class="cx">
</span><span class="cx">         function column_links( $tag ) {
</span></span></pre></div>
<a id="trunkwpadminincludesclasswpuserslisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-users-list-table.php (18009 => 18010)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-users-list-table.php        2011-05-23 23:11:03 UTC (rev 18009)
+++ trunk/wp-admin/includes/class-wp-users-list-table.php        2011-05-23 23:33:30 UTC (rev 18010)
</span><span class="lines">@@ -112,7 +112,7 @@
</span><span class="cx">                         $name = translate_user_role( $name );
</span><span class="cx">                         /* translators: User role name with count */
</span><span class="cx">                         $name = sprintf( __('%1$s <span class="count">(%2$s)</span>'), $name, $avail_roles[$this_role] );
</span><del>-                        $role_links[$this_role] = "<a href='" . add_query_arg( 'role', $this_role, $url ) . "'$class>$name</a>";
</del><ins>+                        $role_links[$this_role] = "<a href='" . esc_html( add_query_arg( 'role', $this_role, $url ) ) . "'$class>$name</a>";
</ins><span class="cx">                 }
</span><span class="cx">
</span><span class="cx">                 return $role_links;
</span></span></pre></div>
<a id="trunkwpadminincludesdashboardphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/dashboard.php (18009 => 18010)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/dashboard.php        2011-05-23 23:11:03 UTC (rev 18009)
+++ trunk/wp-admin/includes/dashboard.php        2011-05-23 23:33:30 UTC (rev 18010)
</span><span class="lines">@@ -552,7 +552,7 @@
</span><span class="cx">                         <input type="reset" value="<?php esc_attr_e( 'Reset' ); ?>" class="button" />
</span><span class="cx">                         <span id="publishing-action">
</span><span class="cx">                                 <input type="submit" name="publish" id="publish" accesskey="p" tabindex="5" class="button-primary" value="<?php current_user_can('publish_posts') ? esc_attr_e('Publish') : esc_attr_e('Submit for Review'); ?>" />
</span><del>-                                <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" />
</del><ins>+                                <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
</ins><span class="cx">                         </span>
</span><span class="cx">                         <br class="clear" />
</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 (18009 => 18010)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/nav-menu.php        2011-05-23 23:11:03 UTC (rev 18009)
+++ trunk/wp-admin/includes/nav-menu.php        2011-05-23 23:33:30 UTC (rev 18010)
</span><span class="lines">@@ -182,7 +182,7 @@
</span><span class="cx">                                                         remove_query_arg($removed_args, admin_url( 'nav-menus.php' ) )
</span><span class="cx">                                                 ),
</span><span class="cx">                                                 'delete-menu_item_' . $item_id
</span><del>-                                        ); ?>"><?php _e('Remove'); ?></a> <span class="meta-sep"> | </span> <a class="item-cancel submitcancel" id="cancel-<?php echo $item_id; ?>" href="<?php        echo add_query_arg( array('edit-menu-item' => $item_id, 'cancel' => time()), remove_query_arg( $removed_args, admin_url( 'nav-menus.php' ) ) );
</del><ins>+                                        ); ?>"><?php _e('Remove'); ?></a> <span class="meta-sep"> | </span> <a class="item-cancel submitcancel" id="cancel-<?php echo $item_id; ?>" href="<?php        echo esc_url( add_query_arg( array('edit-menu-item' => $item_id, 'cancel' => time()), remove_query_arg( $removed_args, admin_url( 'nav-menus.php' ) ) ) );
</ins><span class="cx">                                                 ?>#menu-item-settings-<?php echo $item_id; ?>"><?php _e('Cancel'); ?></a>
</span><span class="cx">                                 </div>
</span><span class="cx">
</span><span class="lines">@@ -690,7 +690,7 @@
</span><span class="cx">                         <p class="quick-search-wrap">
</span><span class="cx">                                 <input type="text" class="quick-search input-with-default-title" title="<?php esc_attr_e('Search'); ?>" value="<?php echo $searched; ?>" name="quick-search-posttype-<?php echo $post_type_name; ?>" />
</span><span class="cx">                                 <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
</span><del>-                                <?php submit_button( __( 'Search' ), 'quick-search-submit button-secondary hide-if-js', 'submit', false ); ?>
</del><ins>+                                <?php submit_button( __( 'Search' ), 'quick-search-submit button-secondary hide-if-js', 'submit', false, array( 'id' => 'submit-quick-search-posttype-' . $post_type_name ) ); ?>
</ins><span class="cx">                         </p>
</span><span class="cx">
</span><span class="cx">                         <ul id="<?php echo $post_type_name; ?>-search-checklist" class="list:<?php echo $post_type_name?> categorychecklist form-no-clear">
</span><span class="lines">@@ -924,7 +924,7 @@
</span><span class="cx">                         <p class="quick-search-wrap">
</span><span class="cx">                                 <input type="text" class="quick-search input-with-default-title" title="<?php esc_attr_e('Search'); ?>" value="<?php echo $searched; ?>" name="quick-search-taxonomy-<?php echo $taxonomy_name; ?>" />
</span><span class="cx">                                 <img class="waiting" src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" alt="" />
</span><del>-                                <?php submit_button( __( 'Search' ), 'quick-search-submit button-secondary hide-if-js', 'submit', false ); ?>
</del><ins>+                                <?php submit_button( __( 'Search' ), 'quick-search-submit button-secondary hide-if-js', 'submit', false, array( 'id' => 'submit-quick-search-taxonomy-' . $taxonomy_name ) ); ?>
</ins><span class="cx">                         </p>
</span><span class="cx">
</span><span class="cx">                         <ul id="<?php echo $taxonomy_name; ?>-search-checklist" class="list:<?php echo $taxonomy_name?> categorychecklist form-no-clear">
</span></span></pre></div>
<a id="trunkwpadminincludeswidgetsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/widgets.php (18009 => 18010)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/widgets.php        2011-05-23 23:11:03 UTC (rev 18009)
+++ trunk/wp-admin/includes/widgets.php        2011-05-23 23:33:30 UTC (rev 18010)
</span><span class="lines">@@ -207,8 +207,8 @@
</span><span class="cx">                 <a class="widget-control-close" href="#close"><?php _e('Close'); ?></a>
</span><span class="cx">                 </div>
</span><span class="cx">                 <div class="alignright<?php if ( 'noform' === $has_form ) echo ' widget-control-noform'; ?>">
</span><del>-                <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-feedback " title="" alt="" />
-                <?php submit_button( __( 'Save' ), 'button-primary widget-control-save', 'savewidget', false ); ?>
</del><ins>+                <img src="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" class="ajax-feedback" title="" alt="" />
+                <?php submit_button( __( 'Save' ), 'button-primary widget-control-save', 'savewidget', false, array( 'id' => 'widget-' . esc_attr( $id_format ) . '-savewidget' ) ); ?>
</ins><span class="cx">                 </div>
</span><span class="cx">                 <br class="clear" />
</span><span class="cx">         </div>
</span></span></pre></div>
<a id="trunkwpadminnavmenusphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/nav-menus.php (18009 => 18010)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/nav-menus.php        2011-05-23 23:11:03 UTC (rev 18009)
+++ trunk/wp-admin/nav-menus.php        2011-05-23 23:33:30 UTC (rev 18010)
</span><span class="lines">@@ -556,7 +556,7 @@
</span><span class="cx">                                                                 <?php endif; ?>
</span><span class="cx">                                                                 <br class="clear" />
</span><span class="cx">                                                                 <div class="publishing-action">
</span><del>-                                                                        <?php submit_button( empty( $nav_menu_selected_id ) ? __( 'Create Menu' ) : __( 'Save Menu' ), 'button-primary menu-save', 'save_menu', false ); ?>
</del><ins>+                                                                        <?php submit_button( empty( $nav_menu_selected_id ) ? __( 'Create Menu' ) : __( 'Save Menu' ), 'button-primary menu-save', 'save_menu', false, array( 'id' => 'save_menu_header' ) ); ?>
</ins><span class="cx">                                                                 </div><!-- END .publishing-action -->
</span><span class="cx">
</span><span class="cx">                                                                 <?php if ( ! empty( $nav_menu_selected_id ) ) : ?>
</span><span class="lines">@@ -595,7 +595,7 @@
</span><span class="cx">                                                 <div class="publishing-action">
</span><span class="cx">                                                         <?php
</span><span class="cx">                                                         if ( ! empty( $nav_menu_selected_id ) )
</span><del>-                                                                submit_button( __( 'Save Menu' ), 'button-primary menu-save', 'save_menu', false );
</del><ins>+                                                                submit_button( __( 'Save Menu' ), 'button-primary menu-save', 'save_menu', false, array( 'id' => 'save_menu_footer' ) );
</ins><span class="cx">                                                         ?>
</span><span class="cx">                                                 </div>
</span><span class="cx">                                                 </div>
</span></span></pre></div>
<a id="trunkwpadminnetworksiteusersphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/network/site-users.php (18009 => 18010)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/network/site-users.php        2011-05-23 23:11:03 UTC (rev 18009)
+++ trunk/wp-admin/network/site-users.php        2011-05-23 23:33:30 UTC (rev 18010)
</span><span class="lines">@@ -264,7 +264,7 @@
</span><span class="cx">                 </tr>
</span><span class="cx">         </table>
</span><span class="cx">         <?php wp_nonce_field( 'add-user', '_wpnonce_add-user' ) ?>
</span><del>-        <?php submit_button( __('Add User'), 'primary', 'add-user' ); ?>
</del><ins>+        <?php submit_button( __('Add User'), 'primary', 'add-user', false, array( 'id' => 'submit-add-existing-user' ) ); ?>
</ins><span class="cx"> </form>
</span><span class="cx"> <?php endif; ?>
</span><span class="cx">
</span><span class="lines">@@ -300,7 +300,7 @@
</span><span class="cx">                 </tr>
</span><span class="cx">         </table>
</span><span class="cx">         <?php wp_nonce_field( 'add-user', '_wpnonce_add-new-user' ) ?>
</span><del>-        <?php submit_button( __('Add New User'), 'primary', 'add-user' ); ?>
</del><ins>+        <?php submit_button( __('Add New User'), 'primary', 'add-user', false, array( 'id' => 'submit-add-user' ) ); ?>
</ins><span class="cx"> </form>
</span><span class="cx"> <?php endif; ?>
</span><span class="cx"> </div>
</span></span></pre></div>
<a id="trunkwpadminoptionswritingphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/options-writing.php (18009 => 18010)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/options-writing.php        2011-05-23 23:11:03 UTC (rev 18009)
+++ trunk/wp-admin/options-writing.php        2011-05-23 23:33:30 UTC (rev 18010)
</span><span class="lines">@@ -69,7 +69,7 @@
</span><span class="cx"> <?php foreach ( $post_formats[0] as $format ): ?>
</span><span class="cx">                 <option<?php selected( get_option('default_post_format'), $format ); ?> value="<?php echo esc_attr( $format ); ?>"><?php echo esc_html( get_post_format_string( $format ) ); ?></option>
</span><span class="cx"> <?php endforeach; ?>
</span><del>-        </select></label>
</del><ins>+        </select>
</ins><span class="cx"> </td>
</span><span class="cx"> </tr>
</span><span class="cx"> <?php endif; endif; ?>
</span></span></pre></div>
<a id="trunkwpadminthemesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/themes.php (18009 => 18010)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/themes.php        2011-05-23 23:11:03 UTC (rev 18009)
+++ trunk/wp-admin/themes.php        2011-05-23 23:33:30 UTC (rev 18010)
</span><span class="lines">@@ -149,7 +149,7 @@
</span><span class="cx"> <p class="search-box">
</span><span class="cx">         <label class="screen-reader-text" for="theme-search-input"><?php _e('Search Installed Themes'); ?>:</label>
</span><span class="cx">         <input type="text" id="theme-search-input" name="s" value="<?php _admin_search_query(); ?>" />
</span><del>-        <?php submit_button( __( 'Search Installed Themes' ), 'button', 'submit', false ); ?>
</del><ins>+        <?php submit_button( __( 'Search Installed Themes' ), 'button', false, false, array( 'id' => 'search-submit' ) ); ?>
</ins><span class="cx">         <a id="filter-click" href="?filter=1"><?php _e( 'Feature Filter' ); ?></a>
</span><span class="cx"> </p>
</span><span class="cx">
</span><span class="lines">@@ -184,7 +184,7 @@
</span><span class="cx">         <?php endforeach; ?>
</span><span class="cx">
</span><span class="cx">         <div class="feature-container">
</span><del>-                <?php submit_button( __( 'Apply Filters' ), 'button-secondary submitter', 'submit', false, array( 'style' => 'margin-left: 120px' ) ); ?>
</del><ins>+                <?php submit_button( __( 'Apply Filters' ), 'button-secondary submitter', false, false, array( 'style' => 'margin-left: 120px', 'id' => 'filter-submit' ) ); ?>
</ins><span class="cx">                 &nbsp;
</span><span class="cx">                 <small><a id="mini-filter-click" href="<?php echo esc_url( remove_query_arg( array('filter', 'features', 'submit') ) ); ?>"><?php _e( 'Close filters' )?></a></small>
</span><span class="cx">         </div>
</span></span></pre></div>
<a id="trunkwpcontentthemestwentyelevenincthemeoptionsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-content/themes/twentyeleven/inc/theme-options.php (18009 => 18010)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-content/themes/twentyeleven/inc/theme-options.php        2011-05-23 23:11:03 UTC (rev 18009)
+++ trunk/wp-content/themes/twentyeleven/inc/theme-options.php        2011-05-23 23:33:30 UTC (rev 18010)
</span><span class="lines">@@ -195,7 +195,7 @@
</span><span class="cx">                                                                 <label class="description">
</span><span class="cx">                                                                         <input type="radio" name="twentyeleven_theme_options[color_scheme]" value="<?php echo esc_attr( $color['value'] ); ?>" <?php checked( $options['color_scheme'], $color['value'] ); ?> />
</span><span class="cx">                                                                         <span>
</span><del>-                                                                                <img src="<?php echo esc_url( $color['thumbnail'] ); ?>"/>
</del><ins>+                                                                                <img src="<?php echo esc_url( $color['thumbnail'] ); ?>" alt=""/>
</ins><span class="cx">                                                                                 <?php echo $color['label']; ?>
</span><span class="cx">                                                                         </span>
</span><span class="cx">                                                                 </label>
</span><span class="lines">@@ -212,7 +212,7 @@
</span><span class="cx">                                                 <fieldset><legend class="screen-reader-text"><span><?php _e( 'Link Color', 'twentyeleven' ); ?></span></legend>
</span><span class="cx">                                                         <input type="text" name="twentyeleven_theme_options[link_color]" id="link-color" value="<?php echo esc_attr( $options['link_color'] ); ?>" />
</span><span class="cx">                                                         <a href="#" class="pickcolor hide-if-no-js" id="link-color-example"></a>
</span><del>-                                                        <input type="button" class="pickcolor button hide-if-no-js" value="<?php esc_attr_e( 'Select a Color', 'twentyeleven' ); ?>">
</del><ins>+                                                        <input type="button" class="pickcolor button hide-if-no-js" value="<?php esc_attr_e( 'Select a Color', 'twentyeleven' ); ?>" />
</ins><span class="cx">                                                         <div id="colorPickerDiv" style="z-index: 100; background:#eee; border:1px solid #ccc; position:absolute; display:none;"></div>
</span><span class="cx">                                                         <br />
</span><span class="cx">                                                         <small class="description"><?php printf( __( 'Default color: %s', 'twentyeleven' ), $default_options['link_color'] ); ?></small>
</span><span class="lines">@@ -230,7 +230,7 @@
</span><span class="cx">                                                                 <label class="description">
</span><span class="cx">                                                                         <input type="radio" name="twentyeleven_theme_options[theme_layout]" value="<?php echo esc_attr( $layout['value'] ); ?>" <?php checked( $options['theme_layout'], $layout['value'] ); ?> />
</span><span class="cx">                                                                         <span>
</span><del>-                                                                                <img src="<?php echo esc_url( $layout['thumbnail'] ); ?>"/>
</del><ins>+                                                                                <img src="<?php echo esc_url( $layout['thumbnail'] ); ?>" alt=""/>
</ins><span class="cx">                                                                                 <?php echo $layout['label']; ?>
</span><span class="cx">                                                                         </span>
</span><span class="cx">                                                                 </label>
</span></span></pre>
</div>
</div>
</body>
</html>