mirror of
https://github.com/proelements/proelements.git
synced 2026-04-23 12:10:39 +00:00
v3.33.1
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
namespace ElementorPro\Core\Admin;
|
||||
|
||||
use ElementorPro\License\API;
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit; // Exit if accessed directly.
|
||||
}
|
||||
|
||||
class Canary_Deployment extends \Elementor\Core\Admin\Canary_Deployment {
|
||||
|
||||
const CURRENT_VERSION = ELEMENTOR_PRO_VERSION;
|
||||
const PLUGIN_BASE = ELEMENTOR_PRO_PLUGIN_BASE;
|
||||
|
||||
protected function get_canary_deployment_remote_info( $force ) {
|
||||
$version_info = API::get_version( false );
|
||||
$canary_info = [];
|
||||
|
||||
if ( ! is_wp_error( $version_info ) && ! empty( $version_info['canary_deployment'] ) ) {
|
||||
$canary_info = $version_info['canary_deployment'];
|
||||
}
|
||||
|
||||
return $canary_info;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user