Legacy WordPress plugin for creating and managing Crowdsignal polls and ratings. WordPress.org slug is polldaddy.
make install # npm install && composer install
make setup # install + start wp-envmake lint # WordPress Coding Standards check
make lint-fix # Auto-fixmake up # Local WordPress at localhost:8888 (admin/password)
make test # Unit + integration tests
make test-unit # Unit tests only (no WordPress bootstrap)
make test-integration # Integration tests (requires wp-env)
# Single test
./vendor/bin/phpunit --filter testMethodName --testsuite=unitmake i18n # Generate languages/polldaddy.potRun make help to see all available targets.
All build tasks use build.sh (no Grunt dependency required):
make clean # Remove tmp/ directory
make build # Clean and copy plugin files to tmp/build/
make package # Build and zip to tmp/polldaddy.zipmake deployThe version is read from the Stable tag field in readme.txt. A GitHub Action automatically creates the git tag when the version is bumped.
The deploy command automates the full release workflow (requires GitHub CLI):
- Reads the version from
readme.txt. - Verifies you are on
develop. - Creates a PR from
develop→mainand merges it viagh. - Checks out
mainand pulls. - Builds and deploys to WordPress.org SVN.
- Returns to
developand cleans up.
develop— default branch for day-to-day work and PR target.main— release branch. HEAD is always a tagged release.