开发者 | frogerme |
---|---|
更新时间 | 2025年6月7日 13:44 |
捐献地址: | 去捐款 |
PHP版本: | 8.0 及以上 |
WordPress版本: | 6.7 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
/wp-content/plugins/updatepulse-server
directory, or install the plugin through the WordPress plugins screen directlyUpdatePulse Server is a plugin for developers, not end-users. It allows developers to provide updates for their software packages, including WordPress plugins and themes. For more information on how to use it, please refer to the documentation.
To connect your plugin or theme to UpdatePulse Server, you can either use one of the integration examples provided in the UpdatePulse Server Integration Examples, or develop your own on top of Plugin Update Checker. If you decide to develop your own, the key is to call the UpdatePulse Server Update API to check for updates, with the necessary information in the request. The API will return a JSON response with the update information, which you can then use to display the update notification, check for a license for your plugin or theme, and download the update package.
The license system allows developers to manage licenses for their software packages. Licenses prevent packages from being updated without a valid license. License Keys are generated automatically by default and the values are unguessable (it is recommended to keep the default). When checking the validity of licenses, an extra license signature is also checked to prevent the use of a license on more than the configured allowed domains.
You can manage packages through the UpdatePulse Server interface, through the API, or by letting the plugin download them automatically from a Version Control System (preferred). The interface allows you to view a listing of packages, view details, delete, download, and upload new packages manually (discouraged).
If you have a problem with the plugin, please check the FAQ and the documentation first. Then, make sure to flush your WordPress permalinks (Settings > Permalinks > Save Changes), clear your browser cache, and clear any caching plugins you may have installed. If you are using a CDN, make sure to clear the cache there as well. Make sure you are not trying to update a package installed alongside UpdatePulse Server - the package must be installed on a different WordPress installation. If you still have a problem, please open an issue on GitHub with a detailed description of the problem, including any error messages you are receiving, and most importantly, the steps to reproduce the issue, in details. Only issues occurring with WordPress core, WooCommerce, and default WordPress themes (incl. WooCommerce Storefront) will be considered: integration with 3rd-party plugins or themes will only be addressed if you can provide a patch in a pull request, and if this makes sense for the author. If not, please either contact the author of the plugin/theme you are having issues with, or provide your own integration with a custom plugin.
UpdatePulse Server does not provide a built-in way to sell licenses. To sell licenses, your chosen e-commerce solution must be integrated with UpdatePulse Server License API. This can be done by creating a custom plugin that connects your e-commerce solution with UpdatePulse Server License API, or by using an existing integration if available. At this time, there is no official e-commerce integration plugin for UpdatePulse Server.
UpdatePulse Server by itself does not provide any frontend functionality to your users.
As a general rule, the more isolated UpdatePulse Server is from the rest of your ecosystem, the better, as it allows the server to perform without interference: it is not meant to be used alongside other plugins or themes, but more as a standalone server.
UpdatePulse Server is not meant to be used in a multisite environment either: it is a server delivering packages and licenses to clients, and has no place in a multisite environment.
If you still decide to use UpdatePulse Server on a website not solely dedicated to it, it is still possible ; to avoid interference, you may want to add the MU Plugin upserv-plugins-optimizer.php
provided in the UpdatePulse Server Integration repository to bypass plugins and themes when calling the UpdatePulse Server APIs.
PUC_FORCE_BRANCH
to bypass tags & releases in VCS detection strategiesWP_Filesystem
calljson
files from wp-content/uploads/updatepulse-server/metadata
folder ; use the "Force Clear & Reschedule" button in the VCS settingsfile_last_modified
("File Modified", the time the file was changed on the file system) and last_updated
(package version update time)Require License
headerJSON_NUMERIC_CHECK
when encoding output as it creates issues with values like version numbers.get_class()
@package
to main plugin file