- 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
cdinto the plugin folder- run
composer install --no-devto install necessary composer dependencies (for production build only) - run
npm installto 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
developbranch. - Check if any pull requests / changes need to be retrofitted from the
masterbranch to thedevelopbranch. These are not common, but sometimes we do branch out from themasterbranch to release hotfixes. Important: Merge any hotfixes from themasterbranch to thedevelopbranch before the final testing. - Change the version number in the following:
readme.txtfileadmin-notices-manager.phpfile: in the header and also constantADMIN_NOTICES_MANAGER_VERSIONpackage.jsonfilecomposer.jsonfile
- 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
developrepo.
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.