summaryrefslogtreecommitdiffstats
path: root/wp-inst/wp-admin/post.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-01-24 14:02:03 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-01-24 14:02:03 +0000
commitdbd5b2e2e7e46eda5233d61f01793e41a8d8e6fd (patch)
tree36cc2bc24306895ce5b20353d87156d4eeb6963c /wp-inst/wp-admin/post.php
parent6c1930bf126a5059115dfe7895ac448b86518c8b (diff)
WP Merge
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@514 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-admin/post.php')
-rw-r--r--wp-inst/wp-admin/post.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-inst/wp-admin/post.php b/wp-inst/wp-admin/post.php
index a5b18f0..026a453 100644
--- a/wp-inst/wp-admin/post.php
+++ b/wp-inst/wp-admin/post.php
@@ -80,7 +80,7 @@ case 'edit':
?>
<div id='preview' class='wrap'>
<h2 id="preview-post"><?php _e('Post Preview (updated when post is saved)'); ?> <small class="quickjump"><a href="#write-post"><?php _e('edit &uarr;'); ?></a></small></h2>
- <iframe src="<?php the_permalink(); ?>" width="100%" height="600" ></iframe>
+ <iframe src="<?php echo add_query_arg('preview', 'true', get_permalink($post->ID)); ?>" width="100%" height="600" ></iframe>
</div>
<?php
break;