Skip to content

Commit

Permalink
Merge branch 'release' into alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
laurelfulford committed Oct 7, 2024
2 parents 2d3cf87 + aa97733 commit b187a7b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [5.4.1](https://github.com/Automattic/newspack-plugin/compare/v5.4.0...v5.4.1) (2024-10-07)


### Bug Fixes

* remove Newspack Elections requirement from patterns ([049c9b6](https://github.com/Automattic/newspack-plugin/commit/049c9b6a3a23f92f9f34a1b15a3037adb29eb26f))

# [5.4.0](https://github.com/Automattic/newspack-plugin/compare/v5.3.14...v5.4.0) (2024-10-03)


Expand Down
5 changes: 0 additions & 5 deletions includes/plugins/class-newspack-elections.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ public static function get_block_patterns() {
* Register block patterns.
*/
public static function register_block_patterns() {
// Bail if Newspack Elections is not active.
if ( ! class_exists( '\Govpack\Core\Govpack' ) ) {
return false;
}

\register_block_pattern_category( 'newspack-plugin', [ 'label' => __( 'Newspack Elections', 'newspack-plugin' ) ] );
$patterns = self::get_block_patterns();
foreach ( $patterns as $slug => $title ) {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "newspack",
"version": "5.4.0",
"version": "5.4.1",
"description": "The Newspack plugin. https://newspack.com",
"bugs": {
"url": "https://github.com/Automattic/newspack-plugin/issues"
Expand Down

0 comments on commit b187a7b

Please sign in to comment.