Wordpress 3.5.2
[autoinstalls/wordpress.git] / wp-admin / includes / media.php
index a8751f12313879ed6e57e251ef99422d3c38b91c..3938943a1e75a1d7adf83a7e561f828869bb5fbd 100644 (file)
@@ -2270,9 +2270,7 @@ function multisite_over_quota_message() {
  *
  * @since 3.5.0
  */
-function edit_form_image_editor() {
-       $post = get_post();
-
+function edit_form_image_editor( $post ) {
        $open = isset( $_GET['image-editor'] );
        if ( $open )
                require_once ABSPATH . 'wp-admin/includes/image-edit.php';