Releases: ministryofjustice/wp-moj-components
Releases · ministryofjustice/wp-moj-components
NPM Updates
3.5.1 Bump v3.5.1
Feature - ability to add meta elements into wp_head
- This allows us on a site by site basis to quickly add in verification meta or testing scripts. Only for devs.
New asset loading mechanism + 2 additional components
Release is published with the following new additions:
- Newly structured classes with an emphasis on namespace reorganisation and meaning (hence version jump to 3.4)
- Custom autoload removed in favour of composer PSR4 loading mechanism
- Amendment to support Popup banner visibility for administrators while editing (Popup banner is hidden from administrators)
- Multisite component created with
DomainTracker
to assist WASM - The Security component has a new class addition;
FilterRestAPI
; disallows access to specified endpoints
Notice warning fix
Fix WP notice warning about API missing permission callback.
Add GTM analytics functionality
This release, adds a section in our plugin that allows for a user to add or remove GTM from a site. This will hopefully provide for a standardized approach going forward to analytics and tracking on our sites.
Sitemap CPT order
3.2.2 CPT Order
Sitemap Warning Fix
If the component plugins settings haven't been set a warning was displayed. This checks if the settings have been set.
Sitemap and User Switch
3.2.0 Fix Settings
Convert bad characters in uploaded file names
Remove bad chars from filename - prevents S3 error Remove bad chars from filename - prevents S3 error
Dashboard style
3.1.1 Version 3.1.1