Skip to content

Commit 5f993cb

Browse files
author
Mike van den Hoek
committed
(release): v3.15.1
1 parent 0047d49 commit 5f993cb

File tree

3 files changed

+223
-200
lines changed

3 files changed

+223
-200
lines changed

CHANGELOG.md

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

3+
## Version [3.15.1] (2025-03-14)
4+
5+
### Fix
6+
7+
- Ensure config defaults to empty array when null @rmpel (#44)
8+
9+
## Version [3.15.0] (2025-03-13)
10+
11+
### Feat
12+
13+
- update extended-cpts and php-cs-fixer
14+
- apply posttype and taxonomy argument filters
15+
- apply upl wp_query args
16+
- show error when p2p_type function does not exist
17+
18+
### Fix
19+
20+
- extended cpt depency check
21+
- add meta-box-group as dependency
22+
- upl admin url
23+
324
## Version [3.14.1] (2025-03-12)
425

526
### Fix

pdc-base.php

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
/**
46
* Plugin Name: Yard | PDC Base
57
* Plugin URI: https://www.openwebconcept.nl/
68
* 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
9+
* Version: 3.15.1
810
* Author: Yard | Digital Agency
911
* Author URI: https://www.yard.nl/
1012
* License: GPL-3.0
@@ -20,7 +22,7 @@
2022
* If this file is called directly, abort.
2123
*/
2224
if (! defined('WPINC')) {
23-
die;
25+
die;
2426
}
2527

2628
/**
@@ -37,7 +39,7 @@
3739
$composerAutoload = __DIR__ . '/vendor/autoload.php';
3840

3941
if (file_exists($composerAutoload)) {
40-
require_once $composerAutoload;
42+
require_once $composerAutoload;
4143
}
4244

4345
/**
@@ -48,11 +50,11 @@
4850
* and wp_loaded action hooks.
4951
*/
5052
\add_action('plugins_loaded', function () {
51-
$plugin = (new Plugin(__DIR__));
53+
$plugin = (new Plugin(__DIR__));
5254

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

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

0 commit comments

Comments
 (0)