: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
use la\core\LARemoteUpdater;
if ( ! defined( 'WPINC' ) ) die;
* @author Looks Awesome <email@looks-awesome.com>
* @link http://looks-awesome.com
* @copyright Looks Awesome
class FlowFlowUpdater extends LARemoteUpdater{
protected function getUrlToPluginMetafileJson(){
return 'http://flow.looks-awesome.com/service/update/flow-flow.json';
protected function getPluginWithNewVersion($info){
$plugin['url'] = $info->plugin["url"];
$plugin['slug'] = 'flow-flow';
$plugin['new_version'] = $info->plugin['version'];
$plugin['plugin'] = 'flow-flow/flow-flow.php';
if (isset($info->plugin['download_url'])) $plugin['package'] = $info->plugin['download_url'];