Skip to content

WordPress plugin that integrates your WordPress site with the HostGator control panel, including performance, security, and update features.

License

Notifications You must be signed in to change notification settings

newfold-labs/wp-plugin-hostgator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
HostGator Logo

Version Number Lint PHP Lint YML WP Internationalization Cypress Tests Build Plugin

Hostgator WordPress Plugin

WordPress plugin that integrates a WordPress site with the HostGator control panel, including performance, security, and update features.

Installation

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/.

Releasing Updates

This plugin has version number set in 3 distinct places in 2 files:

  • the plugin header info (wp-plugin-hostgator/wp-plugin-hostgator.php line 14) - this is used in the plugin php code.
  • the constant HOSTGATOR_PLUGIN_VERSION (wp-plugin-hostgator/wp-plugin-hostgator.php line 34) - this is used by WordPress.
  • in the package.json version value (wp-plugin-hostgator/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. (In a perfect world, we have a runner increment and/or validate this)

Languages & Regions

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.

Style Guide

For color pallet and typography usage: https://www.figma.com/file/0lEpSwlDnJt6nFNTgv4VqD/WP-Plugin-HostGator?t=LXnkBwfedfM4FvHX-1