- Contributors: WPWhiteSecurity
- Plugin URI: https://www.wpwhitesecurity.com/
- License: GPLv2
- License URI: http://www.gnu.org/licenses/gpl.html
Tired of ever-present notices in the WordPress administration?
- Node >= 8.11 & NPM - Build packages and 3rd party dependencies are managed through NPM, so you will need that installed globally.
- Clone the repository
cd
into the plugin folder- run
composer install --no-dev
to install necessary composer dependencies (for production build only) - run
npm install
to install necessary npm dependencies
npm run translate
(regenerate the POT translation file)npm run zip
(build ZIP file for release)
All code changes in the plugin should be done in branches that are branched out of the develop
branch. Whenever the code is ready and we are releasing a version update of both the premium and free edition of this plugin, follow the below procedure:
- In case there are any, merge all open branches to the
develop
branch. - Check if any pull requests / changes need to be retrofitted from the
master
branch to thedevelop
branch. These are not common, but sometimes we do branch out from themaster
branch to release hotfixes. Important: Merge any hotfixes from themaster
branch to thedevelop
branch before the final testing. - Change the version number in the following:
readme.txt
fileadmin-notices-manager.php
file: in the header and also constantADMIN_NOTICES_MANAGER_VERSION
package.json
filecomposer.json
file
- Run the following command:
npm install
- Build the necessary files with this command:
gulp build
- Update the plugin translation files with this command:
gulp i18n
- Update change log.
- If need be, commit any pending changes and push to the
develop
repo.
At this stage the code of the Admin Notices Manager plugin is ready for release. Run the command npm run zip
to generate the zip file for testing.