Skip to content

Commit 142a45f

Browse files
author
Mike van den Hoek
committed
(release): v3.14.2
1 parent 0047d49 commit 142a45f

3 files changed

Lines changed: 208 additions & 202 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# CHANGELOG
22

3+
## Version [3.14.2] (2025-03-14)
4+
5+
### Fix
6+
7+
- Ensure config defaults to empty array when null @rmpel (#44)
8+
39
## Version [3.14.1] (2025-03-12)
410

511
### Fix

pdc-base.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
<?php
1+
<?php declare(strict_types=1);
22

33
/**
44
* Plugin Name: Yard | PDC Base
55
* Plugin URI: https://www.openwebconcept.nl/
66
* Description: Acts as foundation for other PDC 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.
7-
* Version: 3.14.1
7+
* Version: 3.14.2
88
* Author: Yard | Digital Agency
99
* Author URI: https://www.yard.nl/
1010
* License: GPL-3.0
@@ -20,7 +20,7 @@
2020
* If this file is called directly, abort.
2121
*/
2222
if (! defined('WPINC')) {
23-
die;
23+
die;
2424
}
2525

2626
/**
@@ -37,7 +37,7 @@
3737
$composerAutoload = __DIR__ . '/vendor/autoload.php';
3838

3939
if (file_exists($composerAutoload)) {
40-
require_once $composerAutoload;
40+
require_once $composerAutoload;
4141
}
4242

4343
/**
@@ -48,11 +48,11 @@
4848
* and wp_loaded action hooks.
4949
*/
5050
\add_action('plugins_loaded', function () {
51-
$plugin = (new Plugin(__DIR__));
51+
$plugin = (new Plugin(__DIR__));
5252

53-
add_action('after_setup_theme', function () use ($plugin) {
54-
$plugin->boot();
53+
add_action('after_setup_theme', function () use ($plugin) {
54+
$plugin->boot();
5555

56-
do_action('owc/pdc-base/plugin', $plugin);
57-
});
56+
do_action('owc/pdc-base/plugin', $plugin);
57+
});
5858
}, 10);

0 commit comments

Comments
 (0)