Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

Robert.Vidrine on "Theme update no longer works: "A valid URL was not provided""

$
0
0

I have hooked into the normal WP theme update process for enabling one-click updates to my theme which is not hosted at wordpress.org, but a recent update (3.7 I believe) has broken my update process, apparently because the URL from which I'm hosting the update does not pass some sort of check. (The URL is indeed valid, and the code which works in WP 3.5 no longer works in the recent two versions.) I have not yet installed a fresh version of 3.6 and 3.6.1 to see if the update works there, but based on the release notes, it looks like the additional security checks to the update process were probably added in 3.7.
I have searched and searched and cannot find where this new check is happening, so I'm hoping that someone can point me in the right direction.

When I attempt to update my theme:

  • WP reports that it is downloading my theme from a URL that resolves correctly if I copy/paste into a browser.
  • It displays the message "Download Failed. A valid URL was not provided."
  • The update process exits without downloading anything or modifying any files.

Any assistance finding where this error is thrown, what URL check my theme "repository" URL is failing, or any other help tracking this down would be greatly appreciated!


Viewing all articles
Browse latest Browse all 8245

Trending Articles