Changeset 16061 for trunk/wp-admin/includes/meta-boxes.php
- Timestamp:
- 10/28/2010 09:56:43 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/meta-boxes.php
r15955 r16061 23 23 <?php // Hidden submit button early on so that the browser chooses the right button when form is submitted with Return key ?> 24 24 <div style="display:none;"> 25 < input type="submit" name="save" value="<?php esc_attr_e('Save'); ?>" />25 <?php submit_button( __( 'Save' ), 'button', 'save' ); ?> 26 26 </div> 27 27 … … 212 212 if ( !empty($post->post_date_gmt) && time() < strtotime( $post->post_date_gmt . ' +0000' ) ) : ?> 213 213 <input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr_e('Schedule') ?>" /> 214 < input name="publish" type="submit" class="button-primary" id="publish" tabindex="5" accesskey="p" value="<?php esc_attr_e('Schedule') ?>" />214 <?php submit_button( __( 'Schedule' ), 'primary', 'publish', false, array( 'tabindex' => '5', 'accesskey' => 'p' ) ); ?> 215 215 <?php else : ?> 216 216 <input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr_e('Publish') ?>" /> 217 < input name="publish" type="submit" class="button-primary" id="publish" tabindex="5" accesskey="p" value="<?php esc_attr_e('Publish') ?>" />217 <?php submit_button( __( 'Publish' ), 'primary', 'publish', false, array( 'tabindex' => '5', 'accesskey' => 'p' ) ); ?> 218 218 <?php endif; 219 219 else : ?> 220 220 <input name="original_publish" type="hidden" id="original_publish" value="<?php esc_attr_e('Submit for Review') ?>" /> 221 < input name="publish" type="submit" class="button-primary" id="publish" tabindex="5" accesskey="p" value="<?php esc_attr_e('Submit for Review') ?>" />221 <?php submit_button( __( 'Submit for Review' ), 'primary', 'publish', false, array( 'tabindex' => '5', 'accesskey' => 'p' ) ); ?> 222 222 <?php 223 223 endif; … … 583 583 <?php // Hidden submit button early on so that the browser chooses the right button when form is submitted with Return key ?> 584 584 <div style="display:none;"> 585 < input type="submit" name="save" value="<?php esc_attr_e('Save'); ?>" />585 <?php submit_button( __( 'Save' ), 'button', 'save', false ); ?> 586 586 </div> 587 587
Note: See TracChangeset
for help on using the changeset viewer.