automattic/crowdsignal-plugin
最新稳定版本:3.1.4
Composer 安装命令:
composer require automattic/crowdsignal-plugin
包简介
Create and manage Crowdsignal polls and ratings in WordPress
README 文档
README
Legacy WordPress plugin for creating and managing Crowdsignal polls and ratings. WordPress.org slug is polldaddy.
Development
make install # npm install && composer install make setup # install + start wp-env
Linting
make lint # WordPress Coding Standards check make lint-fix # Auto-fix
Testing
make 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=unit
i18n
make i18n # Generate languages/polldaddy.pot
Run make help to see all available targets.
Building and Releasing
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.zip
Deploying to WordPress.org
make deploy
The 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.
Branching
develop— default branch for day-to-day work and PR target.main— release branch. HEAD is always a tagged release.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 15
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2025-10-20