diff options
Diffstat (limited to 'wp-admin/edit-page-form.php')
-rw-r--r-- | wp-admin/edit-page-form.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-admin/edit-page-form.php b/wp-admin/edit-page-form.php index d7216a3..2e4c19b 100644 --- a/wp-admin/edit-page-form.php +++ b/wp-admin/edit-page-form.php @@ -156,7 +156,7 @@ if ('publish' != $post->post_status || 0 == $post_ID): <?php if (current_user_can('upload_files')) { $uploading_iframe_ID = (0 == $post_ID ? $temp_ID : $post_ID); - $uploading_iframe_src = wp_nonce_url("inline-uploading.php?action=view&post=$uploading_iframe_ID", 'inlineuploading'); + $uploading_iframe_src = wp_nonce_url("upload.php?style=inline&tab=upload&post_id=$uploading_iframe_ID", 'inlineuploading'); $uploading_iframe_src = apply_filters('uploading_iframe_src', $uploading_iframe_src); if ( false != $uploading_iframe_src ) echo '<iframe id="uploading" frameborder="0" src="' . $uploading_iframe_src . '">' . __('This feature requires iframe support.') . '</iframe>'; |