Ticket #4206: 4206.diff
| File 4206.diff, 883 bytes (added by johnbillion, 5 years ago) |
|---|
-
wp-admin/edit-form-advanced.php
172 172 if ('publish' != $post->post_status || 0 == $post_ID) { 173 173 ?> 174 174 <?php if ( current_user_can('publish_posts') ) : ?> 175 <input name="publish" type="submit" id="publish" tabindex="5" accesskey="p" value="<?php _e('Publish') ?>" />175 <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 } ?>/> 176 176 <?php endif; ?> 177 177 <?php 178 178 }
