Tumblr share not working
-
Hello i’ve been alerted from one of my clients that the tumblr share button isn’t working anymore.
The reason seems to be the lack of protocol – the ‘https://’ or ‘https://’ – in the url passed from the button to the Tumblr API…
Had a look at the code: it’s being removed intentionally by the author.. maybe for older specs but now this seems to break the whole process.Temporary FIX:
in /services/class-SH_Tumblr.php comment line #22 to #26// Tumblr insists there is no protocol on the url if (preg_match('[https://]', $url)) { $url = str_replace('https://', '', $url); } else if (preg_match('[https://]', $url)) { // check if https:// is included $url = str_replace('https://', '', $url); }
hope the author will take note on the next release
thanks ??
Meuro
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Tumblr share not working’ is closed to new replies.