PluginProbe
WpStream – Live Streaming, Video on Demand, Pay Per View / 4.8.2
WpStream – Live Streaming, Video on Demand, Pay Per View v4.8.2
4.14.1 4.14.0 4.13.2 4.13.1 4.13 4.12.5 4.12.4 4.12.3 4.12.2 4.12.1 4.12 4.4.4 4.4.5 4.4.6 4.4.7 4.4.8 4.4.9 4.5 4.5.1 4.5.11 4.5.11.1 4.5.11.2 4.5.11.4 4.5.11.5 4.5.11.6 All 181 releases
← All changes | wpstream.php +7 -22 4.134.8.2 View file →
@@ -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.13
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.13');
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,22 +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 -}
33 -if ( !defined( 'LIVE_PLAYER_URL_PREFIX' ) ) {
34 - define('LIVE_PLAYER_URL_PREFIX', 'https://player.wpstream.net/player/live');
35 -}
24 +define('WPSTREAM_API', 'https://baker.wpstream.net');
36 25
37 -
38 26 define('WPSTREAM_TIMEOUT_CONST', 20); // in seconds
39 27
40 28 function wpstream_cleanup_logs_handler() {
41 29 $logger = new WpStream_Logger();
@@ -229,15 +217,12 @@
229 217 *
230 218 * Check integrations
231 219 *
232 220 */
233 -if ( get_template() === 'hello-wpstream' ) {
234 - require_once plugin_dir_path( __FILE__ ) . 'integrations/hello-wpstream/theme-import.php';
235 - add_filter( 'pt-ocdi/import_files', 'wpstream_ocdi_import_files' );
236 - add_action( 'pt-ocdi/after_import', 'wpstream_ocdi_after_import_setup' );
237 - add_filter( 'pt-ocdi/plugin_intro_text', 'wpstream_ocdi_plugin_intro_text' );
238 - add_action( 'ocdi/before_content_import', 'wpstream_track_ocdi_import_attempt', 10, 1 );
239 -}
221 +require_once plugin_dir_path(__FILE__) . 'integrations/hello-wpstream/theme-import.php';
222 +add_filter('pt-ocdi/import_files', 'ocdi_import_files');
223 +add_action('pt-ocdi/after_import', 'ocdi_after_import_setup');
224 +add_filter('pt-ocdi/plugin_intro_text', 'ocdi_plugin_intro_text');
240 225
241 226
242 227 add_action( 'plugins_loaded', 'wpstream_check_integrations' );
243 228