Skip to content
Snippets Groups Projects
Commit 60f5ad25 authored by vasili.guruli's avatar vasili.guruli
Browse files

FIxed plugin name display in admin panel

parent 60b9a528
No related branches found
No related tags found
1 merge request!23Small fix with plugin name
Pipeline #10399 passed with warnings
This commit is part of merge request !23. Comments created here will be created in the context of that merge request.
## [3.1.1] - 2019-11-14
### Feature
## [3.2.1] - 2019-11-15
### Fixed
- Fixed plugin version notice
- Fixed required plugin name display in admin notices
## [3.2.0] - 2019-11-14
### Added
- Minimum required plugin version notice
## [3.1.0] - 2019-11-13
......
......@@ -49,7 +49,8 @@
if ( isset( $requirements['plugins'] ) ) {
foreach ( $requirements['plugins'] as $requirement ) {
$requirements_checker->add_plugin_require( $requirement['name'], $requirement['nice_name'], $requirement['version'] );
$version = isset( $requirement['version'] ) ? $requirement['version'] : null;
$requirements_checker->add_plugin_require( $requirement['name'], $requirement['nice_name'], $version );
}
$requirements_checker->transient_delete_on_plugin_version_changed();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment