Hej,
Patch of trunk version, now only wp_remote url
### Eclipse Workspace Patch 1.0
#P instagram-slider-widget
Index: instaram_slider.php
===================================================================
— instaram_slider.php (revision 1420166)
+++ instaram_slider.php (working copy)
@@ -882,9 +882,9 @@
$user_opt[‘attachment’] = $attachment;
if ( ‘user’ == $search ) {
– $response = wp_remote_get( ‘https://instagram.com/’ . trim( $search_string ), array( ‘sslverify’ => false, ‘timeout’ => 60 ) );
+ $response = wp_remote_get( ‘https://www.instagram.com/’ . trim( $search_string ), array( ‘sslverify’ => false, ‘timeout’ => 60 ) );
} else {
– $response = wp_remote_get( ‘https://instagram.com/explore/tags/’ . trim( $search_string ), array( ‘sslverify’ => false, ‘timeout’ => 60 ) );
+ $response = wp_remote_get( ‘https://www.instagram.com/explore/tags/’ . trim( $search_string ), array( ‘sslverify’ => false, ‘timeout’ => 60 ) );
}
if ( is_wp_error( $response ) ) {