| @@ -159,9 +159,9 @@ | ||
| 159 | 159 | * |
| 160 | 160 | */ |
| 161 | 161 | public function hasUpdate() { |
| 162 | 162 | # Get Version |
| 163 | - $pluginUpdate = $this->getPluginInformation(); | |
| 163 | + $pluginUpdate = $this->getPluginUpdate(); | |
| 164 | 164 | $version = $pluginUpdate[ 'currentVersion' ]; |
| 165 | 165 | # Get Plugin version |
| 166 | 166 | $pluginData = get_plugin_data( $this->getPluginFile() ); |
| 167 | 167 | # Return version details if there is new version/ otherwise return false |