Skip to content
Snippets Groups Projects
Commit 2a233d0e authored by dyszczo's avatar dyszczo
Browse files

installation url

parent a80aa3cb
No related branches found
No related tags found
1 merge request!15Feature/fixes
Pipeline #8951 passed with stages
in 43 seconds
## [3.0.2] - 2019-09-18 ## [3.0.2] - 2019-09-18
### Fixed ### Fixed
- Better new error messages display for temporary disabling - Better error message display for temporary disabling
- Installation url
## [3.0.1] - 2019-09-18 ## [3.0.1] - 2019-09-18
### Fixed ### Fixed
......
...@@ -314,11 +314,11 @@ if ( ! class_exists( 'WPDesk_Basic_Requirement_Checker' ) ) { ...@@ -314,11 +314,11 @@ if ( ! class_exists( 'WPDesk_Basic_Requirement_Checker' ) ) {
$install_url = wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=' . $slug ), $install_url = wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=' . $slug ),
'install-plugin_' . $slug ); 'install-plugin_' . $slug );
add_filter( 'plugins_api', function ( $api, $action, $args ) use ( $plugin_info ) { add_filter( 'plugins_api', function ( $api, $action, $args ) use ( $plugin_info, $slug ) {
if ( 'plugin_information' !== $action || if ( 'plugin_information' !== $action ||
false !== $api || false !== $api ||
! isset( $args->slug ) || ! isset( $args->slug ) ||
'wpdesk-helper' !== $args->slug $slug !== $args->slug
) { ) {
return $api; return $api;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment