Ticket #35042: 35042.diff
File 35042.diff, 2.3 KB (added by , 8 years ago) |
---|
-
wp-admin/includes/dashboard.php
178 178 wp_dashboard_trigger_widget_control( $meta_box['id'] ); 179 179 wp_nonce_field( 'edit-dashboard-widget_' . $meta_box['id'], 'dashboard-widget-nonce' ); 180 180 echo '<input type="hidden" name="widget_id" value="' . esc_attr($meta_box['id']) . '" />'; 181 submit_button( __(' Submit') );181 submit_button( __('Add') ); 182 182 echo '</form>'; 183 183 } 184 184 -
wp-admin/setup-config.php
216 216 </table> 217 217 <?php if ( isset( $_GET['noapi'] ) ) { ?><input name="noapi" type="hidden" value="1" /><?php } ?> 218 218 <input type="hidden" name="language" value="<?php echo esc_attr( $language ); ?>" /> 219 <p class="step"><input name="submit" type="submit" value="<?php echo htmlspecialchars( __( ' Submit' ), ENT_QUOTES ); ?>" class="button button-large" /></p>219 <p class="step"><input name="submit" type="submit" value="<?php echo htmlspecialchars( __( 'Add details' ), ENT_QUOTES ); ?>" class="button button-large" /></p> 220 220 </form> 221 221 <?php 222 222 break; -
wp-includes/post-template.php
1525 1525 $label = 'pwbox-' . ( empty($post->ID) ? rand() : $post->ID ); 1526 1526 $output = '<form action="' . esc_url( site_url( 'wp-login.php?action=postpass', 'login_post' ) ) . '" class="post-password-form" method="post"> 1527 1527 <p>' . __( 'This content is password protected. To view it please enter your password below:' ) . '</p> 1528 <p><label for="' . $label . '">' . __( 'Password:' ) . ' <input name="post_password" id="' . $label . '" type="password" size="20" /></label> <input type="submit" name="Submit" value="' . esc_attr__( ' Submit' ) . '" /></p></form>1528 <p><label for="' . $label . '">' . __( 'Password:' ) . ' <input name="post_password" id="' . $label . '" type="password" size="20" /></label> <input type="submit" name="Submit" value="' . esc_attr__( 'View Post' ) . '" /></p></form> 1529 1529 '; 1530 1530 1531 1531 /**