Skip to content

Commit

Permalink
Load new feature and update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mslinnea committed May 10, 2024
1 parent 0c639c0 commit 5be3775
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ This library adheres to [Semantic Versioning](https://semver.org/) and [Keep a C
* `disable_pantheon_constant_overrides`: Added a feature to disable forcing use of `WP_SITEURL` and `WP_HOME` on Pantheon environments.
* `force_two_factor_authentication`: Added a feature to force Two Factor Authentication for users with `edit_posts` permissions.
* `disable_deep_pagination`: Added a feature to restrict pagination to at most 100 pages, by default. This includes a filter `alleyvate_deep_pagination_max_pages` to override this limit, as well as a new `WP_Query` argument to override the limit: `__dangerously_set_max_pages`.
* `disable_block_editor_rest_api_preload_paths` Added a feature to disable preloading Synced Patterns (Reusable
Blocks) on the block edit screen to improve performance on sites with many patterns.

## 3.0.1

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ WordPress core ["doesn't consider usernames or user IDs to be private or secure

Our clients tend to not want information about the registered users on their sites to be discoverable; such lists can even disclose Alley's relationship with a client.

### `disable_block_editor_rest_api_preload_paths`

This feature disables preloading Synced Patterns (Reusable Blocks) on the block edit screen to improve performance on sites with many patterns.

## About

### License
Expand Down
4 changes: 4 additions & 0 deletions src/alley/wp/alleyvate/load.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ function load(): void {
'disable_deep_pagination',
new Features\Disable_Deep_Pagination(),
),
new Feature(
'disable_block_editor_rest_api_preload_paths',
new Features\Disable_Block_Editor_Rest_Api_Preload_Paths(),
),
);

$plugin->boot();
Expand Down

0 comments on commit 5be3775

Please sign in to comment.