Yahnis Elsts

Results 280 comments of Yahnis Elsts

There are syntax errors in the modified file. In JSON, object keys should be followed by a `:` colon, not `=>`.

It looks like the script that fixes the IDs isn't running for some reason. Are there any JavaScript errors in the console? Is there anything on your site that could...

For what it's worth, I just tested this on my own site with a basic custom theme and also with a plugin, and I couldn't reproduce the issue. I used...

Do you mean language packs? Yes, the update checker supports those: see the [`translations` field](https://docs.google.com/spreadsheets/d/1eOBbW7Go2qEQXReOOCdidMTf_tDYRq4JfegcO1CBPIs/edit?usp=sharing) in the update metadata description.

It sounds like the update information is not filtered correctly when you try to install the update. There are multiple things that could cause that, but there's not enough information...

I'm guessing that you might need to remove that `themes.php` condition. At least some (or maybe most) ways of installing updates will run a different PHP file. On an related...

I guess the answer is "it depends". Does the .json file contain anything that you wouldn't want to be public? For example, if you have a commercial plugin or theme...

There are two main filters that seem relevant: - `puc_request_info_query_args-$slug` can be used to filter metadata URL query arguments. The filter receives one parameter: an associative array of query arguments....

Technically, PUC only supports URLs, but you could probably make it use a file path instead with a few small changes. I think the main thing that you would *have...

That's a good idea, using the filter is probably simpler. It does have the downside that PUC will still try to make an HTTP request to an invalid URL every...