Changeset 16061 for trunk/wp-includes/post-template.php
- Timestamp:
- 10/28/2010 09:56:43 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post-template.php
r16034 r16061 1026 1026 $output = '<form action="' . get_option('siteurl') . '/wp-pass.php" method="post"> 1027 1027 <p>' . __("This post is password protected. To view it please enter your password below:") . '</p> 1028 <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> 1028 <p> 1029 <label for="' . $label . '">' . __("Password:") . ' 1030 <input name="post_password" id="' . $label . '" type="password" size="20" /> 1031 </label>' . get_submit_button( __( 'Submit' ), '', 'Submit', false ) . ' 1032 </p> 1029 1033 </form> 1030 1034 '; … … 1209 1213 <div class="tablenav"> 1210 1214 <div class="alignleft"> 1211 < input type="submit" class="button-secondary" value="<?php esc_attr_e( 'Compare Revisions' ); ?>" />1215 <?php submit_button( __( 'Compare Revisions' ), 'secondary', '', false ); ?> 1212 1216 <input type="hidden" name="action" value="diff" /> 1213 1217 <input type="hidden" name="post_type" value="<?php echo esc_attr($post->post_type); ?>" />
Note: See TracChangeset
for help on using the changeset viewer.