Index: wp-admin/edit-form-advanced.php
===================================================================
--- wp-admin/edit-form-advanced.php	(revision 5312)
+++ wp-admin/edit-form-advanced.php	(working copy)
@@ -172,7 +172,7 @@
 if ('publish' != $post->post_status || 0 == $post_ID) {
 ?>
 <?php if ( current_user_can('publish_posts') ) : ?>
-	<input name="publish" type="submit" id="publish" tabindex="5" accesskey="p" value="<?php _e('Publish') ?>" /> 
+	<input name="publish" type="submit" id="publish" tabindex="5" accesskey="p" value="<?php _e('Publish') ?>" <?php if ('private' == $post->post_status) { ?>onclick="return confirm('<?php echo js_escape(__("This post is set to Private. Are you sure you want to publish this post for the world to see? (If not, try the Save button.)\n\n'OK' to continue, 'Cancel' to stop.")); ?>')" <?php } ?>/> 
 <?php endif; ?>
 <?php
 }

