Support » Plugin: Flickr - Pick a Picture » Broken in WP 4.4 beta

  • Using this version specifically 4.4-beta4-35697, but has been broken for a few days.

    On a lark I thought it would be good to test this with WP 4.4, and it failed. After you select an image, it fails to copy the image to your Media library, with a message that suggests you have a problem with the max file size of uploads.

    File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini or by post_max_size being defined as smaller than upload_max_filesize in php.ini.

    This is erroneous; there is no problem with the max filesize.

    Look around line 506 or so of the pick-a-pic.php file.
    Add this:
    $photo_url = str_replace('https','http', $photo_url);
    What this will do is change the request for the picture from Flickr to be non-https.

    At the moment I am not sure why this works; it must be that WP4.4 is noticing the secure SSL and won’t copy the file.

    This patch also may break at some point if Flickr refuses to serve a non-https image.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Broken in WP 4.4 beta’ is closed to new replies.