diff options
Diffstat (limited to 'wp-admin/post.php')
-rw-r--r-- | wp-admin/post.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-admin/post.php b/wp-admin/post.php index 7b1c71c..3c514c7 100644 --- a/wp-admin/post.php +++ b/wp-admin/post.php @@ -63,7 +63,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 ↑'); ?></a></small></h2> - <iframe src="<?php echo add_query_arg('preview', 'true', get_permalink($post->ID)); ?>" width="100%" height="600" ></iframe> + <iframe src="<?php echo wp_specialchars(apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID)))); ?>" width="100%" height="600" ></iframe> </div> <?php break; |