| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * Plugin Name: WpStream - Live Streaming, Video on Demand, Pay Per View |
| 4 | 4 | * Plugin URI: http://wpstream.net |
| 5 | 5 | * Description: WpStream is a platform that allows you to live stream, create Video-on-Demand, and offer Pay-Per-View videos. We provide an affordable and user-friendly way for businesses, non-profits, and public institutions to broadcast their content and monetize their work. |
| 6 | - * Version: 4.12 | |
| 6 | + * Version: 4.8.2 | |
| 7 | 7 | * Author: wpstream |
| 8 | 8 | * Author URI: http://wpstream.net |
| 9 | 9 | * Text Domain: wpstream |
| 10 | 10 | * Domain Path: /languages/ |
| @@ -13,9 +13,9 @@ | ||
| 13 | 13 | // If this file is called directly, abort. |
| 14 | 14 | if ( ! defined( 'WPINC' ) ) { |
| 15 | 15 | die; |
| 16 | 16 | } |
| 17 | -define('WPSTREAM_PLUGIN_VERSION', '4.12'); | |
| 17 | +define('WPSTREAM_PLUGIN_VERSION', '4.8.2'); | |
| 18 | 18 | define('WPSTREAM_CLUBLINK', 'wpstream.net'); |
| 19 | 19 | define('WPSTREAM_CLUBLINKSSL', 'https'); |
| 20 | 20 | define('WPSTREAM_PLUGIN_URL', plugins_url() ); |
| 21 | 21 | define('WPSTREAM_PLUGIN_DIR_URL', plugin_dir_url(__FILE__) ); |
| @@ -20,19 +20,10 @@ | ||
| 20 | 20 | define('WPSTREAM_PLUGIN_URL', plugins_url() ); |
| 21 | 21 | define('WPSTREAM_PLUGIN_DIR_URL', plugin_dir_url(__FILE__) ); |
| 22 | 22 | define('WPSTREAM_PLUGIN_PATH', plugin_dir_path(__FILE__) ); |
| 23 | 23 | define('WPSTREAM_PLUGIN_BASE', plugin_basename(__FILE__) ); |
| 24 | -if( !defined('WPSTREAM_API' ) ) { | |
| 25 | - define('WPSTREAM_API', 'https://baker.wpstream.net'); | |
| 26 | -} | |
| 27 | -if ( !defined( 'WPSTREAM_CLICK' ) ) { | |
| 28 | - define( 'WPSTREAM_CLICK', 'https://click.wpstream.net' ); | |
| 29 | -} | |
| 30 | -if ( !defined( 'WPSTREAM_PLAYER') ) { | |
| 31 | - define ( 'WPSTREAM_PLAYER', 'https://player.wpstream.net' ); | |
| 32 | -} | |
| 24 | +define('WPSTREAM_API', 'https://baker.wpstream.net'); | |
| 33 | 25 | |
| 34 | - | |
| 35 | 26 | define('WPSTREAM_TIMEOUT_CONST', 20); // in seconds |
| 36 | 27 | |
| 37 | 28 | function wpstream_cleanup_logs_handler() { |
| 38 | 29 | $logger = new WpStream_Logger(); |
| @@ -230,9 +221,8 @@ | ||
| 230 | 221 | require_once plugin_dir_path(__FILE__) . 'integrations/hello-wpstream/theme-import.php'; |
| 231 | 222 | add_filter('pt-ocdi/import_files', 'ocdi_import_files'); |
| 232 | 223 | add_action('pt-ocdi/after_import', 'ocdi_after_import_setup'); |
| 233 | 224 | add_filter('pt-ocdi/plugin_intro_text', 'ocdi_plugin_intro_text'); |
| 234 | -add_action('ocdi/before_content_import', 'wpstream_track_ocdi_import_attempt', 10, 1); | |
| 235 | 225 | |
| 236 | 226 | |
| 237 | 227 | add_action( 'plugins_loaded', 'wpstream_check_integrations' ); |
| 238 | 228 | |