Changeset 7480
- Timestamp:
- 03/22/2008 10:19:25 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r7472 r7480 75 75 <div id="previewview"> 76 76 <?php if ( 'publish' == $post->post_status ) { ?> 77 <a href="<?php echo clean_url(get_permalink($post->ID)); ?>" target="_blank" ><?php _e('View this Post'); ?></a>77 <a href="<?php echo clean_url(get_permalink($post->ID)); ?>" target="_blank" tabindex="4"><?php _e('View this Post'); ?></a> 78 78 <?php } elseif ( 'edit' == $action ) { ?> 79 <a href="<?php echo clean_url(apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID)))); ?>" target="_blank" ><?php _e('Preview this Post'); ?></a>79 <a href="<?php echo clean_url(apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID)))); ?>" target="_blank" tabindex="4"><?php _e('Preview this Post'); ?></a> 80 80 <?php } ?> 81 81 </div> -
trunk/wp-admin/edit-page-form.php
r7473 r7480 59 59 <div id="previewview"> 60 60 <?php if ( 'publish' == $post->post_status ) { ?> 61 <a href="<?php echo clean_url(get_permalink($post->ID)); ?>" target="_blank" ><?php _e('View this Page'); ?></a>61 <a href="<?php echo clean_url(get_permalink($post->ID)); ?>" target="_blank" tabindex="4"><?php _e('View this Page'); ?></a> 62 62 <?php } elseif ( 'edit' == $action ) { ?> 63 <a href="<?php echo clean_url(apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID)))); ?>" target="_blank" ><?php _e('Preview this Page'); ?></a>63 <a href="<?php echo clean_url(apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID)))); ?>" target="_blank" tabindex="4"><?php _e('Preview this Page'); ?></a> 64 64 <?php } ?> 65 65 </div> -
trunk/wp-includes/js/autosave.js
r7468 r7480 84 84 getpermalinknonce: jQuery('#getpermalinknonce').val() 85 85 }, function(permalink) { 86 jQuery('#previewview').html('<a target="_blank" href="'+permalink+'" >'+previewText+'</a>');86 jQuery('#previewview').html('<a target="_blank" href="'+permalink+'" tabindex="4">'+previewText+'</a>'); 87 87 }); 88 88 }
Note: See TracChangeset
for help on using the changeset viewer.