File tree Expand file tree Collapse file tree 4 files changed +19
-6
lines changed Expand file tree Collapse file tree 4 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 1
1
# CHANGELOG
2
2
3
+ ## Version 2.0.2
4
+
5
+ - (feat): Check alternative filename for MetaBox Group dependency
6
+
7
+ ## Version 2.0.1
8
+
9
+ - (feat): disable ES indexable when yard-elasticsearch active
10
+
3
11
## Version 2.0.0
4
12
5
13
- Chore: clean-up, php8 and compliant with new version of ElasticPress.
Original file line number Diff line number Diff line change 22
22
'file ' => 'meta-box/meta-box.php ' ,
23
23
],
24
24
[
25
- 'type ' => 'plugin ' ,
26
- 'label ' => 'Meta Box Group ' ,
27
- 'version ' => '1.2.14 ' ,
28
- 'file ' => 'metabox-group/meta-box-group.php ' ,
25
+ 'type ' => 'plugin ' ,
26
+ 'label ' => 'Meta Box Group ' ,
27
+ 'version ' => '1.2.14 ' ,
28
+ 'file ' => 'metabox-group/meta-box-group.php ' ,
29
+ 'alt_file ' => 'meta-box-group/meta-box-group.php ' ,
29
30
],
30
31
[
31
32
'type ' => 'class ' ,
Original file line number Diff line number Diff line change 6
6
* Plugin Name: Yard | OpenWOB
7
7
* Plugin URI: https://www.yard.nl/
8
8
* Description: Adds OpenWOB implementation
9
- * Version: 2.0.0
9
+ * Version: 2.0.2
10
10
* Author: Yard | Digital Agency
11
11
* Author URI: https://www.yard.nl/
12
12
* License: GPL-3.0
30
30
define ('OW_LANGUAGE_DOMAIN ' , OW_SLUG );
31
31
define ('OW_DIR ' , basename (__DIR__ ));
32
32
define ('OW_ROOT_PATH ' , __DIR__ );
33
- define ('OW_VERSION ' , '2.0.0 ' );
33
+ define ('OW_VERSION ' , '2.0.2 ' );
34
34
35
35
/**
36
36
* Manual loaded file: the autoloader.
Original file line number Diff line number Diff line change @@ -166,6 +166,10 @@ private function checkPlugin(array $dependency): void
166
166
include_once ABSPATH . 'wp-admin/includes/plugin.php ' ;
167
167
}
168
168
169
+ if (! empty ($ dependency ['alt_file ' ]) && is_plugin_active ($ dependency ['alt_file ' ])) {
170
+ $ dependency ['file ' ] = $ dependency ['alt_file ' ];
171
+ }
172
+
169
173
if (! $ this ->checkPluginActive ($ dependency )) {
170
174
$ this ->markFailed ($ dependency , __ ('Inactive ' , OW_LANGUAGE_DOMAIN ));
171
175
You can’t perform that action at this time.
0 commit comments