Skip to content

Commit

Permalink
(chore): release v3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike van den Hoek committed Oct 23, 2024
1 parent 48f6f1a commit 46aed20
Show file tree
Hide file tree
Showing 3 changed files with 187 additions and 183 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v3.5.0

- Feat: add filter for altering the post types config

## v3.4.8

- Fix: Fix composer.lock on PHP 7.4 rather than PHP 8.1
Expand Down
10 changes: 5 additions & 5 deletions openpub-base.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin Name: Yard | OpenPub Base
* Plugin URI: https://www.openwebconcept.nl/
* Description: Acts as foundation for other OpenPub related content plugins. This plugin implements actions to allow for other plugins to add and/or change Custom Posttypes, Metaboxes, Taxonomies, en Posts 2 posts relations.
* Version: 3.4.8
* Version: 3.5.0
* Author: Yard | Digital Agency
* Author URI: https://www.yard.nl/
* License: GPL-3.0
Expand All @@ -17,7 +17,7 @@
* If this file is called directly, abort.
*/
if (! defined('WPINC')) {
die;
die;
}

/**
Expand All @@ -34,7 +34,7 @@
$composerAutoload = __DIR__ . '/vendor/autoload.php';

if (file_exists($composerAutoload)) {
require_once $composerAutoload;
require_once $composerAutoload;
}

/**
Expand All @@ -45,6 +45,6 @@
* and wp_loaded action hooks.
*/
\add_action('plugins_loaded', function () {
$plugin = (new OWC\OpenPub\Base\Foundation\Plugin(__DIR__))->boot();
do_action('owc/openpub-base/plugin', $plugin);
$plugin = (new OWC\OpenPub\Base\Foundation\Plugin(__DIR__))->boot();
do_action('owc/openpub-base/plugin', $plugin);
}, 10);
Loading

0 comments on commit 46aed20

Please sign in to comment.