`wp_get_installed_translations()` was introduced in WP 3.7. This change returns an empty result for the translations list if the function does not exist. (Encountered in the wild, fatal error).
Fix a false-positive PHP 7 compatibility issue
Several users have reported a PHP 7 compatibility issue in ParsedownLegacy.php. This file is never used on sites running PHP 7 (it's a back-compat thing for PHP 5.2 and below), but it seems like a good idea to merge the fix anyway as it will prevent any more time being wasted on this issue.
The code that builds API URLs is probably complicated enough to warrant a separate method: it performs placeholder substitution, does authentication-related stuff (access_token), and builds the query string.
Behaviour change: An empty path now returns the collection itself, not the default value. This doesn't really matter for the current version because it only uses constant, non-empty paths.
Make wp_remote_get result filterable in requestMetadata
New filter name: puc_request_metadata_http_result-$slug OR puc_request_metadata_http_result_theme-$slug
I want to filter the wp_remote_get result. In my use-case, if https fails, I switch back to http (in case the user had a bad curl setup/obsolete SSL certificates) and try again.
Until now I've been patching the code, but that is, of course, silly!
Some hosts disable set_time_limit() and a few other functions. Calling the disabled function triggers a warning. In our case, using set_time_limit() is optional - PUC will usually work fine even if it can't increase the time limit - so lets just ignore the warning and carry on.
Reported in #111.
Cause: Debug Bar 0.9 now includes an admin bar menu that lists the available panels. This means that the special element that PUC uses to identify its panel titles (<span id="puc-debug-menu-link-$uid">) is no longer unique. This breaks the JS that's supposed to work around the fact that Debug Bar incorrectly assumes that every panel will have a unique PHP class name.
This may look like a lot of changes, but it's essentially a simple search & replace from "v4" to "v4p1". Note that the factory class name stays the same: Puc_v4_Factory. It will only change on a major release.