Kill the slow-loading iframe in favor of a popup link

git-svn-id: http://svn.automattic.com/wordpress/trunk@5159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt
2007-03-31 22:02:19 +00:00
parent eaac63e0d0
commit 01961fba45
4 changed files with 16 additions and 14 deletions

View File

@@ -61,12 +61,6 @@ case 'edit':
die ( __('You are not allowed to edit this page.') );
include('edit-page-form.php');
?>
<div id='preview' class='wrap'>
<h2 id="preview-post"><?php _e('Page Preview (updated when page is saved)'); ?></h2>
<iframe src="<?php echo clean_url(apply_filters('preview_page_link', add_query_arg('preview', 'true', get_permalink($post->ID)))); ?>" width="100%" height="600" ></iframe>
</div>
<?php
break;
case 'editattachment':