2011-06-03 10 views

答えて

1

私は画像のURLを見つけたときに同じ問題を抱え、firefoxによると「エラーが含まれています。エラーは空白に関連しているように見えますが、どこから来たのか分かりませんが、画像を出力する前にob_clean();を追加するという提案が出てきました。

ファイル/wp-admin/includes/image-edit.phpを編集し、機能wp_stream_image()に「 ob_clean();」を追加してください。ステートメント。この後、画像がロードされ、エディタが動作するように見えます。

0

解決しました。私はob_clean()を置く。この場所の:

function wp_stream_image($image, $mime_type, $post_id) { 
     if ($image instanceof WP_Image_Editor) { 

      ob_clean(); 

      /** 
      * Filters the WP_Image_Editor instance for the image to be streamed to the browser. 
      * 
      * @since 3.5.0 
関連する問題