WordPress plugin that integrates a WordPress site with the HostGator control panel, including performance, security, and update features.
Find the wp-plugin-hostgator.zip
asset for your preferred version at: https://github.com/newfold-labs/wp-plugin-hostgator/releases/.
Alternatively, check the updater endpoint for the latest version at: https://hiive.cloud/workers/release-api/plugins/newfold-labs/wp-plugin-hostgator, this also includes a download link to the latest zip file or use this link to access the latest download: https://hiive.cloud/workers/release-api/plugins/newfold-labs/wp-plugin-hostgator/download/.
To prepare a release, run the Newfold Prepare Release
workflow. Select the release level (patch, minor or major) and the target branch (where the release PR should target, nearly always main
), and the source branch (typically develop
, but could be another branch for hotfix releases). The workflow will create a release branch with updated versions, build files and language files and then create a PR for review.
This plugin has version number set in 3 distinct places in 2 files:
- the plugin header info (
wp-plugin-hostgator.php
line 14) - this is used in the plugin php code. - the constant HOSTGATOR_PLUGIN_VERSION (
wp-plugin-hostgator.php
line 34) - this is used by WordPress. - in the package.json version value (
package.json
line 5) this is used by the build step to place the release files within a matching version directory for convenient cache busting.
All 3 instances need to be incremented in conjuction with new releases via github tagging.
There are some parts to the hostgator plugin that adapt depending on the region and/or language which is chosen. This not only relies on the language setting (which is set automatically on installs in HostGator Latam Brazil for example), but also on the mm_brand
value being set to hostgator-latam
and an additional option hg_region
being set to BR
in the case of Brazil. Features should all function in both US and BR setups. See the region.cy.js
and region-help.cy.js
cypress integration tests for example.
For color pallet and typography usage: https://www.figma.com/file/0lEpSwlDnJt6nFNTgv4VqD/WP-Plugin-HostGator?t=LXnkBwfedfM4FvHX-1