Skip to content
This repository has been archived by the owner on Feb 23, 2019. It is now read-only.

Commit

Permalink
[v0.9.4.x] updater (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
amiga-500 authored Jan 13, 2017
1 parent e1964d5 commit aa7a203
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@ public function api_check( $transient ) {
* @return object $response the plugin info
*/
public function get_plugin_info( $false, $action, $response ) {
global $wp_version;
// Check if this call API is for the right plugin

if ( $action != "plugin_information" || !isset( $response->slug ) || strpos($this->config['slug'],$response->slug) === false )
Expand Down

0 comments on commit aa7a203

Please sign in to comment.