All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
-
Allow for empty string in "About us" widget title
-
Allow for blogs being attached to organisations that no longer exist
- PHP Warning about unrecognized character in Instagram regex
- Support for PHP 8.2 and above
- BREAKING CHANGE: Support for PHP versions below 8.2
- Removes check preventing coauthors being displaying if there is no post owner
- Integrates into theme a former Roots function -
gdsCaption
- which wraps captioned images in class
- Adds check to prevent CoAuthorsPlus function firing when there are no authors
- Integrated some former Roots functions into the theme
- Removed last references to Roots
- Apply GOV.UK font family to
<body>
so that content without surrounding markup is styled accordingly, rather than receiving browser defaults.
- Ensure accessible colour contrast when the cookie banner buttons are in :focus state, combined with :hover and/or :active states.
- Use
theme.json
to configure theme and Block Editor options. - Constrain Block Editor options to GOV.UK Design System.
- Ensure theme stylesheet is loaded in Block Editor
- Add custom block for GOV.UK Inset text component.
- Add custom block for GOV.UK Accordion component.
- Add custom block for GOV.UK Details component.
- Style List block, as per [GOV.UK Design System][https://design-system.service.gov.uk/styles/lists/].
- Style Quote block, as per Inset text component.
- Style Table block, as per GOV.UK Table component.
- Ensure visual parity between front-end and Block Editor.
- Apply theme styles to content within Classic block.
- Constrain WordPress core blocks available to the editor for selection.
- Update theme name and version, to differentiate from (Classic Editor) version 4 of the theme.
- Restructure stylesheets, to align with GOV.UK Frontend Framework.
- Update header and page templates to ensure only one h1 tag outputted
- Update footnote style.
- Style site pagination, as per GOV.UK Pagination component.
- Apply GOV.UK styles to the cookie banner.
- Extend GOV.UK styling to sidebar, principally adjustments to borders and font sizes.
- Style search form button, to align with GOV.UK.
- Apply GOV.UK heading styles to all heading levels.
- Function enforcing https url on uploaded media.
- Call to deprecated constructor method for
WP_Widget
.
- Video embed blocks maintain consistent aspect ratio across all screen sizes.
- Category dropdown no longer overflows sidebar.
- Remove
pubdate
attribute from<time>
element. - Pass
x_directed_by
argument towp_redirect()
, to aid debugging.
- Video embed blocks maintain consistent aspect ratio across all screen sizes.
- Updated CSS of cookie popup button following Civic update
- Redirect from
/feed/rss2
and/feed/rss
to/feed/atom
- Replaced Roots with Iguana-theme for handling templates
- Created new main template file and removed Mustache variables
- Migrate unit tests from Peridot to Kahlan
- Introduce fingerprinting for JS and CSS
- Fix filepath error preventing govuk-frontend.js from loading
- Update govuk-frontend to 5.0 (https://github.com/alphagov/govuk-frontend/blob/main/CHANGELOG.md#500-breaking-release)
- Remove IE polyfills
- Update favicons
- Update site logo
- Update markup in line with 5.0
- Update build file paths
- Set jquery as dependency for main.js
- Update primary
favicon.ico
to feature Tudor Crown design.
- Adjust spacing to meet Crown logo standards.
- Modify favicon.ico to be bigger (32x32px)
- Modify Crown logo in header and in favicons
- Removed obselete jQuery version used in theme
- Modify editor permissions (Appearance: Theme options access)
- Updated various dependencies via Dependabot
- Replaced node-sass with dart-sass
- Removed Storify handling
- permission to allow Editors access to menus and widgets
- Support for PHP versions below 7.4
- Mustache bumped to v2.14.1 to patch security issue
- Fix contrast for cookie consent button
- Escape author and co-author names in atom feeds
- Customised override styles to improve accessibility of cookie consent overlay, including better focus states and layout for smaller screen sizes
- The network-wide banner has an extra configuration options: additional text field, background colour, and ability to make non-dismissable
- The "Archives with dropdown" widget wraps its list of archive links in a
<ul>
- Fixed jQuery plugin (assets/js/comments.js) to restore display of error information when a user tries to submit a form with empty required fields
- Accessible "Archives with dropdown" widget
- Styles on "Categories with dropdown" widget made more consistent with govuk-frontend default styles
- Remove CSS height constraint on homepage featured images
- Force HTTPS filter for YouTube videos (the oEmbed endpoint now returns HTTPS URLs)
- Add title attribue filter for YouTube videos (the oEmbed endpoint now includes a title attribute)
- New filter for YouTube videos to add -nocookie to URL
- Featured blog post images on homepage are tabbable and highlighted on focus
- "Read more" links include hidden text specifying the post name for screenreader users
- License switched to MIT
- Do not mark up blog count number as an h2
- og:image in HEAD links to the featured image
- Native browser styles used for text highlighting
- Visited link colour is only applied to visited links, rather than all links
grunt-contrib-sass
replaced bygrunt-sass
. This means we can use Node Sass, rather than the deprecated Ruby Sass gem.- Borders at top of article listings darkened
- Govuk Template support. Govuk Frontend is now out of compatibility mode, and all Govuk Template assets removed
- IE6 styles
- Correct formatting of post author/date restored
- Govuk Frontend added in compatibility mode (see https://frontend.design-system.service.gov.uk/migrating-from-legacy-products/)
- All markup migrated to comply with Govuk Frontend v3
- Some minor colour scheme changes as per new Frontend template
- Presentational markup for history mode plugin included in theme rather than plugin
- Upgrade Yarn dependencies to resolve vulnerabilities reported by yarn audit
- Only attempt to log external link clicks with Google Analytics if GA is loaded
- Cookie banner is always hidden by default.
- A new constant
LOGO_OPTIONS_SUPERADMIN_ONLY
which restricts the logo options page to super admin users
- Clearer focus style for form inputs and linked images.
- A method to remove the function that Roots hooks onto the 'styler_loader_tag' filter, as this was breaking admin styles in WordPress 5.3 and up.
### Added
- Autocomplete attributes for comment form name & email fields
- Link focus style updated to reflect Gov.uk design system
- Pagination link HTML is now rendered in the same order as it is displayed, to ensure tab order is easy to follow
- Change all ".visually-hidden" class to ".visuallyhidden" for consistency reason
- The current page number in pagination has no link attached to it
- Hidden "Sharing and Comments" heading moved below pagination elements
- Colour contrast increased for search placeholder text and "Blog" title
- The "No quotes" option in the "Formats" dropdown in the editor is replaced by a "Highlight" option. This produces the same styles, but using a div to wrap the content rather than a blockquote, as the blockquote use was semantically incorrect.
Releases up to and including 2.4.0 predate this changelog.