Tired of ever-present notices in the WordPress administration?
cd
into the plugin foldercomposer install --no-dev
to install necessary composer dependencies (for production build only)npm install
to install necessary npm dependenciesnpm 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:
develop
branch.master
branch to the develop
branch. These are not common, but sometimes we do branch out from the master
branch to release hotfixes. Important: Merge any hotfixes from the master
branch to the develop
branch before the final testing.readme.txt
fileadmin-notices-manager.php
file: in the header and also constant ADMIN_NOTICES_MANAGER_VERSION
package.json
filecomposer.json
filenpm install
gulp build
gulp i18n
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.