Yahnis Elsts

Results 280 comments of Yahnis Elsts

Are you on a Mac by any chance? I haven't used it myself, but I've received multiple reports that the default ZIP utility in macOS makes it look like files...

That is currently not possible with this update checker. It always looks in the root folder. Maybe you could put the theme folder (or a copy of it) in a...

The first file uses three `/.." because that PHP file is three directories deep and it needs to find the PUC root directory so that it can figure out the...

As far as I know, the only viable workaround would be to make a new plugin that just runs the update checker, then activate _that_ plugin either network wide or...

You can just create multiple instances of the update checker and give each instance a different update URL and plugin file name / slug. For example, if you normally initialise...

It seems to me that `$path` should never be `null` during normal operation. What kind of a URL/configuration did you use where the path is `null`?

In general, implementing a workaround without understanding what caused the problem can lead to more bugs in the future. As far as I know, `parse_url()` should only return `null` if...

In that case, it seems that `$path` should never be `null`, no matter what the PHP version is (as long as it's >= 5.2). If you can find a code...

That is all true, and I'll add a string cast for unusual situations like that. _However_, that only applies if you're using a metadata URL that does not have a...

Sure, you can write a PHP script to return a JSON response. As long as the script output is correctly formatted and has the required fields, it should work as...