Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/developer/hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,3 +280,9 @@ add_filter('mstv_upload_validation', function (array $result, array $files): arr

- These hooks are intended for WordPress customizations and must be used from site code, custom plugins, or mu-plugins.
- Hook payloads reflect the current implementation and may expand in future releases.
- Since 3.3.0, folder permission rules can only be read or changed through the
governance REST endpoints by administrators or users whose `manage` grant
comes from an explicit folder rule (`MSTV_Permissions::has_rule_based_manage()`).
The browser payload exposes this as a `can_manage_rules` flag alongside the
per-folder action map, and the `mstv/v1/search` response now includes
matching folders (filtered by the view scope) in addition to files.
2 changes: 2 additions & 0 deletions docs/maintainer/local-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,14 @@ Use `composer ci` to run lint and PHPUnit together.
Validate JavaScript without introducing a separate package installation:

```powershell
node --check assets/js/admin-app-helpers.js
node --check assets/js/admin-app-core.js
node --check assets/js/admin-app-governance.js
node --check assets/js/admin-app.js
node --check assets/js/admin-notice-dismiss.js
node --check tools/parse-plugin-check-output.mjs
node --test tests/plugin-check-output.test.mjs
node --test tests/pdm-helpers.test.mjs
```

### PHPUnit
Expand Down
Loading