WP Manifestindependent plugin directory
manifest / editor / dfh-wordpress-plugin

Docs for Health WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

Wordpress custom block plugin for Docs for Health

★ 0stars
1.2krelease downloads
≈10active sites
0.1.12latest · 4 years ago

Install

Download dfh-wordpress-plugin-0.1.12.zip From the 0.1.12 release on GitHub, Apr 17, 2022

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/docsforhealth/dfh-wordpress-plugin/releases/download/0.1.12/dfh-wordpress-plugin-0.1.12.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Docs for Health WordPress Plugin

Commands

  • Initial installation
  • During development: yarn start
    • Will also run accompanying tests with name *.test.js as needed on file changes
    • See Jest docs for testing documentation

Key files

File Description
dfh-wordpress-plugin.php Contains plugin header, defines project-wide constants, and calls src/php/class/Setup.php
src/editor.js Definitions for editor components and other aspects of editor functionality, imported by the src/php/setup/setup_plugin_deps.php setup class after being built by Webpack to the build directory
src/editor.scss Styling that is applied to the editor environment, imports frontend styles to apply to the editor via src/scss/_common.scss
src/frontend.js JS functionality that should be available in the public-facing website
src/frontend.scss Styling that is applied to the public-facing website

Tips

  • prettier-plugin-organize-imports enforces consistent imports within JS files and requires the typescript dependency
  • prop-types checking only works for native React components, not WP blocks defined via registerBlockType
    • Note that SCRIPT_DEBUG in wp-config.php needs to be set to true in order for non-production script assets to be loaded.
    • PropType checks only happen in React development builds, not in production builds
  • Use git pull && git submodule foreach git pull origin master to pull remote changes for the current repo and all submodules
    • yarn git:pull available for convenience

Deploying

  1. Update the Version field in the masthead of dfh-wordpress-plugin.php to your desired release version
  2. For completeness, also update the version field in package.json to the same version you entered in the prior step
  3. Commit changes with git commit -am <message here>
  4. Create an annotated tag to mark the release with git tag -a <tag version> -m <release message>. By convention, the tag version is the same as the release version specified earlier. Note that we use annotated tags instead of lightweight tags as these are intended for release.
  5. Push new commit to remote origin with git push
  6. Push new tag to remote origin with git push --tags. Travis CI will detect the new tag and launch into the build and release process as specified in .travis.yml

Tips

Releases

Newest 25 of 37 recorded releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
0.1.12 latest
Apr 17, 2022 4 years ago
dfh-wordpress-plugin-0.1.12.zip
11
Mar 30, 2022 4 years ago
dfh-wordpress-plugin-0.1.11.zip
7
Mar 30, 2022 4 years ago
dfh-wordpress-plugin-0.1.10.zip
5
Mar 12, 2022 4 years ago
dfh-wordpress-plugin-0.1.9.zip
6
Mar 11, 2022 4 years ago
dfh-wordpress-plugin-0.1.8.zip
6
Mar 1, 2022 4 years ago
dfh-wordpress-plugin-0.1.7.zip
8
Mar 1, 2022 4 years ago
dfh-wordpress-plugin-0.1.6.zip
9
Jan 17, 2022 4 years ago
dfh-wordpress-plugin-0.1.5.zip
7
Jan 17, 2022 4 years ago
dfh-wordpress-plugin-0.1.4.zip
12
Jan 16, 2022 4 years ago
dfh-wordpress-plugin-0.1.3.zip
6
Jan 16, 2022 4 years ago
dfh-wordpress-plugin-0.1.2.zip
8
Jan 16, 2022 4 years ago
dfh-wordpress-plugin-0.1.1.zip
10
Jan 16, 2022 4 years ago
dfh-wordpress-plugin-0.1.0.zip
21
Dec 6, 2020 5 years ago
dfh-wordpress-plugin-0.0.24.zip
1,013
Nov 22, 2020 5 years ago
dfh-wordpress-plugin-0.0.23.zip
11
Aug 3, 2020 6 years ago
dfh-wordpress-plugin-0.0.22.zip
10
Aug 3, 2020 6 years ago
dfh-wordpress-plugin-0.0.21.zip
7
Jan 12, 2020 6 years ago
dfh-wordpress-plugin-0.0.20.zip
4
Jan 12, 2020 6 years ago
dfh-wordpress-plugin-0.0.19.zip
2
Jan 11, 2020 6 years ago
dfh-wordpress-plugin-0.0.18.zip
2
Jan 11, 2020 6 years ago
dfh-wordpress-plugin-0.0.17.zip
5
Jan 11, 2020 6 years ago
dfh-wordpress-plugin-0.0.16.zip
3
Jan 11, 2020 6 years ago
dfh-wordpress-plugin-0.0.15.zip
3
Jan 11, 2020 6 years ago
dfh-wordpress-plugin-0.0.14.zip
5
Jan 10, 2020 6 years ago
dfh-wordpress-plugin-0.0.13.zip
6
All releases on GitHub →

Active-site estimate ≈10 comes from the median of recent superseded releases. Method.

A grade

Security

Docs for Health 0.1.12 · audited by WP Registry

No security issues found.

Audited release
0.1.12
Findings
none
Worst severity
—
Content hash
82f94601a0509cb4df8ade10…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.