Skip to content
Snippets Groups Projects
Commit ff0953e5 authored by Vasili Guruli's avatar Vasili Guruli
Browse files

Merge branch 'feature/minimum-plugin-version-check-demo1' into 'master'

Small fix with plugin name

See merge request !23
parents 091afdc1 3fa300ac
No related branches found
No related tags found
1 merge request!23Small fix with plugin name
Pipeline #10484 passed
## [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
......
......@@ -297,7 +297,7 @@
foreach ( $required_plugins as $plugin ) {
if ( version_compare ( $plugin[ 'Version' ], $plugin[ self::PLUGIN_INFO_APPEND_PLUGIN_DATA ] , '<' ) ) {
$notices[] = $this->prepare_notice_message( sprintf( __( 'The &#8220;%s&#8221; plugin requires at least %s version of %s to work correctly. Please update it', $this->get_text_domain() ),
esc_html( $this->plugin_name ), $plugin[ self::PLUGIN_INFO_APPEND_PLUGIN_DATA ], $plugin[ 'Version' ] ) );
esc_html( $this->plugin_name ), $plugin[ self::PLUGIN_INFO_APPEND_PLUGIN_DATA ], $plugin[ 'Name' ] ) );
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment