<!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" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { 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 #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#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>
<title>[15830] trunk: Use submit_button() in more places.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/15830">15830</a></dd>
<dt>Author</dt> <dd>scribu</dd>
<dt>Date</dt> <dd>2010-10-17 18:24:34 +0000 (Sun, 17 Oct 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Use submit_button() in more places. See <a href="http://trac.wordpress.org/ticket/15064">#15064</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpactivatephp">trunk/wp-activate.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="#trunkwpadminedittagformphp">trunk/wp-admin/edit-tag-form.php</a></li>
<li><a href="#trunkwpadminexportphp">trunk/wp-admin/export.php</a></li>
<li><a href="#trunkwpadminincludesdashboardphp">trunk/wp-admin/includes/dashboard.php</a></li>
<li><a href="#trunkwpadminincludestemplatephp">trunk/wp-admin/includes/template.php</a></li>
<li><a href="#trunkwpadminmediaphp">trunk/wp-admin/media.php</a></li>
<li><a href="#trunkwpadminnetworkeditphp">trunk/wp-admin/network/edit.php</a></li>
<li><a href="#trunkwpadminnetworksettingsphp">trunk/wp-admin/network/settings.php</a></li>
<li><a href="#trunkwpadminoptionsphp">trunk/wp-admin/options.php</a></li>
<li><a href="#trunkwpadminusereditphp">trunk/wp-admin/user-edit.php</a></li>
<li><a href="#trunkwpadminusernewphp">trunk/wp-admin/user-new.php</a></li>
<li><a href="#trunkwpadminusersphp">trunk/wp-admin/users.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpactivatephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-activate.php (15829 => 15830)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-activate.php        2010-10-17 13:47:40 UTC (rev 15829)
+++ trunk/wp-activate.php        2010-10-17 18:24:34 UTC (rev 15830)
</span><span class="lines">@@ -48,9 +48,7 @@
</span><span class="cx">                             &lt;label for=&quot;key&quot;&gt;&lt;?php _e('Activation Key:') ?&gt;&lt;/label&gt;
</span><span class="cx">                             &lt;br /&gt;&lt;input type=&quot;text&quot; name=&quot;key&quot; id=&quot;key&quot; value=&quot;&quot; size=&quot;50&quot; /&gt;
</span><span class="cx">                         &lt;/p&gt;
</span><del>-                        &lt;p class=&quot;submit&quot;&gt;
-                            &lt;input id=&quot;submit&quot; type=&quot;submit&quot; name=&quot;Submit&quot; class=&quot;submit&quot; value=&quot;&lt;?php esc_attr_e('Activate') ?&gt;&quot; /&gt;
-                        &lt;/p&gt;
</del><ins>+                        &lt;?php submit_button( __('Activate'), 'submit' ); ?&gt;
</ins><span class="cx">                 &lt;/form&gt;
</span><span class="cx"> 
</span><span class="cx">         &lt;?php } else {
</span></span></pre></div>
<a id="trunkwpadmincustombackgroundphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/custom-background.php (15829 => 15830)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/custom-background.php        2010-10-17 13:47:40 UTC (rev 15829)
+++ trunk/wp-admin/custom-background.php        2010-10-17 18:24:34 UTC (rev 15830)
</span><span class="lines">@@ -303,7 +303,7 @@
</span><span class="cx"> &lt;/table&gt;
</span><span class="cx"> 
</span><span class="cx"> &lt;?php wp_nonce_field('custom-background'); ?&gt;
</span><del>-&lt;p class=&quot;submit&quot;&gt;&lt;input type=&quot;submit&quot; class=&quot;button-primary&quot; name=&quot;save-background-options&quot; value=&quot;&lt;?php esc_attr_e('Save Changes'); ?&gt;&quot; /&gt;&lt;/p&gt;
</del><ins>+&lt;?php submit_button( null, 'primary', 'save-background-options' ); ?&gt;
</ins><span class="cx"> &lt;/form&gt;
</span><span class="cx"> 
</span><span class="cx"> &lt;/div&gt;
</span></span></pre></div>
<a id="trunkwpadmincustomheaderphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/custom-header.php (15829 => 15830)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/custom-header.php        2010-10-17 13:47:40 UTC (rev 15829)
+++ trunk/wp-admin/custom-header.php        2010-10-17 18:24:34 UTC (rev 15830)
</span><span class="lines">@@ -562,7 +562,8 @@
</span><span class="cx"> do_action( 'custom_header_options' ); 
</span><span class="cx"> 
</span><span class="cx"> wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?&gt;
</span><del>-&lt;p class=&quot;submit&quot;&gt;&lt;input type=&quot;submit&quot; class=&quot;button-primary&quot; name=&quot;save-header-options&quot; value=&quot;&lt;?php esc_attr_e( 'Save Changes' ); ?&gt;&quot; /&gt;&lt;/p&gt;
</del><ins>+
+&lt;?php submit_button(); ?&gt;
</ins><span class="cx"> &lt;/form&gt;
</span><span class="cx"> &lt;/div&gt;
</span><span class="cx"> 
</span><span class="lines">@@ -636,7 +637,6 @@
</span><span class="cx">                 &lt;img src=&quot;&lt;?php echo esc_url( $url ); ?&gt;&quot; id=&quot;upload&quot; width=&quot;&lt;?php echo $width; ?&gt;&quot; height=&quot;&lt;?php echo $height; ?&gt;&quot; /&gt;
</span><span class="cx">         &lt;/div&gt;
</span><span class="cx"> 
</span><del>-        &lt;p class=&quot;submit&quot;&gt;
</del><span class="cx">         &lt;input type=&quot;hidden&quot; name=&quot;x1&quot; id=&quot;x1&quot; value=&quot;0&quot;/&gt;
</span><span class="cx">         &lt;input type=&quot;hidden&quot; name=&quot;y1&quot; id=&quot;y1&quot; value=&quot;0&quot;/&gt;
</span><span class="cx">         &lt;input type=&quot;hidden&quot; name=&quot;width&quot; id=&quot;width&quot; value=&quot;&lt;?php echo esc_attr( $width ); ?&gt;&quot;/&gt;
</span><span class="lines">@@ -644,7 +644,8 @@
</span><span class="cx">         &lt;input type=&quot;hidden&quot; name=&quot;attachment_id&quot; id=&quot;attachment_id&quot; value=&quot;&lt;?php echo esc_attr( $id ); ?&gt;&quot; /&gt;
</span><span class="cx">         &lt;input type=&quot;hidden&quot; name=&quot;oitar&quot; id=&quot;oitar&quot; value=&quot;&lt;?php echo esc_attr( $oitar ); ?&gt;&quot; /&gt;
</span><span class="cx">         &lt;?php wp_nonce_field( 'custom-header-crop-image' ) ?&gt;
</span><del>-        &lt;input type=&quot;submit&quot; class=&quot;button-primary&quot; value=&quot;&lt;?php esc_attr_e( 'Crop and Publish' ); ?&gt;&quot; /&gt;
</del><ins>+        
+        &lt;?php submit_button( __( 'Crop and Publish' ) ); ?&gt;
</ins><span class="cx">         &lt;/p&gt;
</span><span class="cx"> &lt;/form&gt;
</span><span class="cx"> &lt;/div&gt;
</span></span></pre></div>
<a id="trunkwpadminedittagformphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/edit-tag-form.php (15829 => 15830)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/edit-tag-form.php        2010-10-17 13:47:40 UTC (rev 15829)
+++ trunk/wp-admin/edit-tag-form.php        2010-10-17 18:24:34 UTC (rev 15830)
</span><span class="lines">@@ -86,7 +86,8 @@
</span><span class="cx">         do_action('edit_tag_form', $tag);
</span><span class="cx"> 
</span><span class="cx"> do_action($taxonomy . '_edit_form', $tag, $taxonomy);
</span><ins>+
+submit_button( __('Update') );
</ins><span class="cx"> ?&gt;
</span><del>-&lt;p class=&quot;submit&quot;&gt;&lt;input type=&quot;submit&quot; class=&quot;button-primary&quot; name=&quot;submit&quot; value=&quot;&lt;?php echo esc_attr( __( 'Update' ) ); ?&gt;&quot; /&gt;&lt;/p&gt;
</del><span class="cx"> &lt;/form&gt;
</span><span class="cx"> &lt;/div&gt;
</span></span></pre></div>
<a id="trunkwpadminexportphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/export.php (15829 => 15830)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/export.php        2010-10-17 13:47:40 UTC (rev 15829)
+++ trunk/wp-admin/export.php        2010-10-17 18:24:34 UTC (rev 15830)
</span><span class="lines">@@ -136,7 +136,7 @@
</span><span class="cx"> &lt;/td&gt;
</span><span class="cx"> &lt;/tr&gt;
</span><span class="cx"> &lt;/table&gt;
</span><del>-&lt;p class=&quot;submit&quot;&gt;&lt;input type=&quot;submit&quot; name=&quot;submit&quot; class=&quot;button&quot; value=&quot;&lt;?php esc_attr_e('Download Export File'); ?&gt;&quot; /&gt;
</del><ins>+&lt;?php submit_button( __('Download Export File'), 'secondary' ); ?&gt;
</ins><span class="cx"> &lt;input type=&quot;hidden&quot; name=&quot;download&quot; value=&quot;true&quot; /&gt;
</span><span class="cx"> &lt;/p&gt;
</span><span class="cx"> &lt;/form&gt;
</span></span></pre></div>
<a id="trunkwpadminincludesdashboardphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/dashboard.php (15829 => 15830)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/dashboard.php        2010-10-17 13:47:40 UTC (rev 15829)
+++ trunk/wp-admin/includes/dashboard.php        2010-10-17 18:24:34 UTC (rev 15830)
</span><span class="lines">@@ -152,8 +152,8 @@
</span><span class="cx"> function _wp_dashboard_control_callback( $dashboard, $meta_box ) {
</span><span class="cx">         echo '&lt;form action=&quot;&quot; method=&quot;post&quot; class=&quot;dashboard-widget-control-form&quot;&gt;';
</span><span class="cx">         wp_dashboard_trigger_widget_control( $meta_box['id'] );
</span><del>-        echo '&lt;p class=&quot;submit&quot;&gt;&lt;input type=&quot;hidden&quot; name=&quot;widget_id&quot; value=&quot;' . esc_attr($meta_box['id']) . '&quot; /&gt;&lt;input type=&quot;submit&quot; value=&quot;' . esc_attr__( 'Submit' ) . '&quot; /&gt;&lt;/p&gt;';
-
</del><ins>+        echo '&lt;input type=&quot;hidden&quot; name=&quot;widget_id&quot; value=&quot;' . esc_attr($meta_box['id']) . '&quot; /&gt;';
+        submit_button( __('Submit') );
</ins><span class="cx">         echo '&lt;/form&gt;';
</span><span class="cx"> }
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminincludestemplatephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/template.php (15829 => 15830)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/template.php        2010-10-17 13:47:40 UTC (rev 15829)
+++ trunk/wp-admin/includes/template.php        2010-10-17 18:24:34 UTC (rev 15830)
</span><span class="lines">@@ -843,9 +843,7 @@
</span><span class="cx"> &lt;input type=&quot;hidden&quot; name=&quot;action&quot; value=&quot;save&quot; /&gt;
</span><span class="cx"> &lt;input type=&quot;hidden&quot; name=&quot;max_file_size&quot; value=&quot;&lt;?php echo $bytes; ?&gt;&quot; /&gt;
</span><span class="cx"> &lt;/p&gt;
</span><del>-&lt;p class=&quot;submit&quot;&gt;
-&lt;input type=&quot;submit&quot; class=&quot;button&quot; value=&quot;&lt;?php esc_attr_e( 'Upload file and import' ); ?&gt;&quot; /&gt;
-&lt;/p&gt;
</del><ins>+&lt;?php submit_button( __('Upload file and import'), 'secondary' ); ?&gt;
</ins><span class="cx"> &lt;/form&gt;
</span><span class="cx"> &lt;?php
</span><span class="cx">         endif;
</span></span></pre></div>
<a id="trunkwpadminmediaphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/media.php (15829 => 15830)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/media.php        2010-10-17 13:47:40 UTC (rev 15829)
+++ trunk/wp-admin/media.php        2010-10-17 18:24:34 UTC (rev 15830)
</span><span class="lines">@@ -100,14 +100,13 @@
</span><span class="cx"> &lt;/div&gt;
</span><span class="cx"> &lt;/div&gt;
</span><span class="cx"> 
</span><del>-&lt;p class=&quot;submit&quot;&gt;
-&lt;input type=&quot;submit&quot; class=&quot;button-primary&quot; name=&quot;save&quot; value=&quot;&lt;?php esc_attr_e('Update Media'); ?&gt;&quot; /&gt;
</del><ins>+&lt;?php submit_button( __('Update Media') ); ?&gt;
</ins><span class="cx"> &lt;input type=&quot;hidden&quot; name=&quot;post_id&quot; id=&quot;post_id&quot; value=&quot;&lt;?php echo isset($post_id) ? esc_attr($post_id) : ''; ?&gt;&quot; /&gt;
</span><span class="cx"> &lt;input type=&quot;hidden&quot; name=&quot;attachment_id&quot; id=&quot;attachment_id&quot; value=&quot;&lt;?php echo esc_attr($att_id); ?&gt;&quot; /&gt;
</span><span class="cx"> &lt;input type=&quot;hidden&quot; name=&quot;action&quot; value=&quot;editattachment&quot; /&gt;
</span><span class="cx"> &lt;?php wp_original_referer_field(true, 'previous'); ?&gt;
</span><span class="cx"> &lt;?php wp_nonce_field('media-form'); ?&gt;
</span><del>-&lt;/p&gt;
</del><ins>+
</ins><span class="cx"> &lt;/form&gt;
</span><span class="cx"> 
</span><span class="cx"> &lt;/div&gt;
</span></span></pre></div>
<a id="trunkwpadminnetworkeditphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/network/edit.php (15829 => 15830)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/network/edit.php        2010-10-17 13:47:40 UTC (rev 15829)
+++ trunk/wp-admin/network/edit.php        2010-10-17 18:24:34 UTC (rev 15830)
</span><span class="lines">@@ -74,8 +74,9 @@
</span><span class="cx">                         }
</span><span class="cx">                 }
</span><span class="cx">         }
</span><ins>+        
+        submit_button( __('Confirm Deletion'), 'delete' );
</ins><span class="cx">         ?&gt;
</span><del>-        &lt;p class=&quot;submit&quot;&gt;&lt;input type=&quot;submit&quot; class=&quot;button-secondary delete&quot; value=&quot;&lt;?php esc_attr_e( 'Confirm Deletion' ); ?&gt;&quot; /&gt;&lt;/p&gt;
</del><span class="cx">         &lt;/form&gt;
</span><span class="cx">     &lt;?php
</span><span class="cx">         return true;
</span><span class="lines">@@ -502,7 +503,7 @@
</span><span class="cx">                                         &lt;input type=&quot;hidden&quot; name=&quot;_wp_http_referer&quot; value=&quot;&lt;?php echo esc_attr( wp_get_referer() ); ?&gt;&quot; /&gt;
</span><span class="cx">                                         &lt;?php wp_nonce_field( $_GET['action2'], '_wpnonce', false ); ?&gt;
</span><span class="cx">                                         &lt;p&gt;&lt;?php echo esc_html( stripslashes( $_GET['msg'] ) ); ?&gt;&lt;/p&gt;
</span><del>-                                        &lt;p class=&quot;submit&quot;&gt;&lt;input class=&quot;button&quot; type=&quot;submit&quot; value=&quot;&lt;?php _e( 'Confirm' ); ?&gt;&quot; /&gt;&lt;/p&gt;
</del><ins>+                                        &lt;?php submit_button( __('Confirm'), 'secondary' ); ?&gt;
</ins><span class="cx">                                 &lt;/form&gt;
</span><span class="cx">                         &lt;/body&gt;
</span><span class="cx">                 &lt;/html&gt;
</span></span></pre></div>
<a id="trunkwpadminnetworksettingsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/network/settings.php (15829 => 15830)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/network/settings.php        2010-10-17 13:47:40 UTC (rev 15829)
+++ trunk/wp-admin/network/settings.php        2010-10-17 18:24:34 UTC (rev 15830)
</span><span class="lines">@@ -273,7 +273,7 @@
</span><span class="cx"> 
</span><span class="cx">                 &lt;?php do_action( 'wpmu_options' ); // Add more options here ?&gt;
</span><span class="cx"> 
</span><del>-                &lt;p class=&quot;submit&quot;&gt;&lt;input type=&quot;submit&quot; class=&quot;button-primary&quot; name=&quot;Submit&quot; value=&quot;&lt;?php esc_attr_e( 'Save Changes' ) ?&gt;&quot; /&gt;&lt;/p&gt;
</del><ins>+                &lt;?php submit_button(); ?&gt;
</ins><span class="cx">         &lt;/form&gt;
</span><span class="cx"> &lt;/div&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminoptionsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/options.php (15829 => 15830)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/options.php        2010-10-17 13:47:40 UTC (rev 15829)
+++ trunk/wp-admin/options.php        2010-10-17 18:24:34 UTC (rev 15830)
</span><span class="lines">@@ -209,7 +209,11 @@
</span><span class="cx"> endforeach;
</span><span class="cx"> ?&gt;
</span><span class="cx">   &lt;/table&gt;
</span><del>-&lt;p class=&quot;submit&quot;&gt;&lt;input type=&quot;hidden&quot; name=&quot;page_options&quot; value=&quot;&lt;?php echo esc_attr( implode( ',', $options_to_update ) ); ?&gt;&quot; /&gt;&lt;input type=&quot;submit&quot; name=&quot;Update&quot; value=&quot;&lt;?php esc_attr_e( 'Save Changes' ); ?&gt;&quot; class=&quot;button-primary&quot; /&gt;&lt;/p&gt;
</del><ins>+
+&lt;input type=&quot;hidden&quot; name=&quot;page_options&quot; value=&quot;&lt;?php echo esc_attr( implode( ',', $options_to_update ) ); ?&gt;&quot; /&gt;
+
+&lt;?php submit_button( __('Save Changes') ); ?&gt;
+
</ins><span class="cx">   &lt;/form&gt;
</span><span class="cx"> &lt;/div&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminusereditphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/user-edit.php (15829 => 15830)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/user-edit.php        2010-10-17 13:47:40 UTC (rev 15829)
+++ trunk/wp-admin/user-edit.php        2010-10-17 18:24:34 UTC (rev 15830)
</span><span class="lines">@@ -384,11 +384,11 @@
</span><span class="cx">         &lt;/table&gt;
</span><span class="cx"> &lt;?php } ?&gt;
</span><span class="cx"> 
</span><del>-&lt;p class=&quot;submit&quot;&gt;
-        &lt;input type=&quot;hidden&quot; name=&quot;action&quot; value=&quot;update&quot; /&gt;
-        &lt;input type=&quot;hidden&quot; name=&quot;user_id&quot; id=&quot;user_id&quot; value=&quot;&lt;?php echo esc_attr($user_id); ?&gt;&quot; /&gt;
-        &lt;input type=&quot;submit&quot; class=&quot;button-primary&quot; value=&quot;&lt;?php IS_PROFILE_PAGE ? esc_attr_e('Update Profile') : esc_attr_e('Update User') ?&gt;&quot; name=&quot;submit&quot; /&gt;
-&lt;/p&gt;
</del><ins>+&lt;input type=&quot;hidden&quot; name=&quot;action&quot; value=&quot;update&quot; /&gt;
+&lt;input type=&quot;hidden&quot; name=&quot;user_id&quot; id=&quot;user_id&quot; value=&quot;&lt;?php echo esc_attr($user_id); ?&gt;&quot; /&gt;
+
+&lt;?php submit_button( IS_PROFILE_PAGE ? __('Update Profile') : __('Update User') ); ?&gt;
+
</ins><span class="cx"> &lt;/form&gt;
</span><span class="cx"> &lt;/div&gt;
</span><span class="cx"> &lt;?php
</span></span></pre></div>
<a id="trunkwpadminusernewphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/user-new.php (15829 => 15830)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/user-new.php        2010-10-17 13:47:40 UTC (rev 15829)
+++ trunk/wp-admin/user-new.php        2010-10-17 18:24:34 UTC (rev 15830)
</span><span class="lines">@@ -265,9 +265,8 @@
</span><span class="cx">         &lt;/tr&gt;
</span><span class="cx">         &lt;?php } ?&gt;
</span><span class="cx"> &lt;/table&gt;
</span><del>-&lt;p class=&quot;submit&quot;&gt;
-        &lt;input name=&quot;adduser&quot; type=&quot;submit&quot; id=&quot;addusersub&quot; class=&quot;button-primary&quot; value=&quot;&lt;?php esc_attr_e('Add User') ?&gt;&quot; /&gt;
-&lt;/p&gt;
</del><ins>+
+&lt;?php submit_button( __('Add User'), 'primary', 'adduser' ); ?&gt;
</ins><span class="cx"> &lt;/form&gt;
</span><span class="cx"> 
</span><span class="cx"> &lt;/div&gt;
</span></span></pre></div>
<a id="trunkwpadminusersphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/users.php (15829 => 15830)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/users.php        2010-10-17 13:47:40 UTC (rev 15829)
+++ trunk/wp-admin/users.php        2010-10-17 18:24:34 UTC (rev 15830)
</span><span class="lines">@@ -190,7 +190,7 @@
</span><span class="cx">                 &lt;?php echo '&lt;label for=&quot;delete_option1&quot;&gt;'.__('Attribute all posts and links to:').&quot;&lt;/label&gt; $user_dropdown&quot;; ?&gt;&lt;/li&gt;
</span><span class="cx">         &lt;/ul&gt;&lt;/fieldset&gt;
</span><span class="cx">         &lt;input type=&quot;hidden&quot; name=&quot;action&quot; value=&quot;dodelete&quot; /&gt;
</span><del>-        &lt;p class=&quot;submit&quot;&gt;&lt;input type=&quot;submit&quot; name=&quot;submit&quot; value=&quot;&lt;?php esc_attr_e('Confirm Deletion'); ?&gt;&quot; class=&quot;button-secondary&quot; /&gt;&lt;/p&gt;
</del><ins>+        &lt;?php submit_button( __('Confirm Deletion'), 'secondary' ); ?&gt;
</ins><span class="cx"> &lt;?php else : ?&gt;
</span><span class="cx">         &lt;p&gt;&lt;?php _e('There are no valid users selected for deletion.'); ?&gt;&lt;/p&gt;
</span><span class="cx"> &lt;?php endif; ?&gt;
</span><span class="lines">@@ -278,7 +278,7 @@
</span><span class="cx">          ?&gt;
</span><span class="cx"> &lt;?php if ( $go_remove ) : ?&gt;
</span><span class="cx">                 &lt;input type=&quot;hidden&quot; name=&quot;action&quot; value=&quot;doremove&quot; /&gt;
</span><del>-                &lt;p class=&quot;submit&quot;&gt;&lt;input type=&quot;submit&quot; name=&quot;submit&quot; value=&quot;&lt;?php esc_attr_e('Confirm Removal'); ?&gt;&quot; class=&quot;button-secondary&quot; /&gt;&lt;/p&gt;
</del><ins>+                &lt;?php submit_button( __('Confirm Removal'), 'secondary' ); ?&gt;
</ins><span class="cx"> &lt;?php else : ?&gt;
</span><span class="cx">         &lt;p&gt;&lt;?php _e('There are no valid users selected for removal.'); ?&gt;&lt;/p&gt;
</span><span class="cx"> &lt;?php endif; ?&gt;
</span></span></pre>
</div>
</div>

</body>
</html>