PluginProbe
StreamCast – bring live radio to your site with a sleek player / 2.4.0
StreamCast – bring live radio to your site with a sleek player v2.4.0
2.4.5 2.4.4 trunk 1.0 1.1 2.0.0 2.1.10 2.1.2 2.1.4 2.1.5 2.1.8 2.2.1 2.2.3 2.2.4 2.2.5 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.3.8 2.3.9 All 29 releases
← All changes | streamcast.php +71 -71 trunk2.4.0 View file →
@@ -1,72 +1,72 @@
1 -<?php
2 -
3 -/*
4 - * Plugin Name: StreamCast – Live Radio Streaming Player
5 - * Plugin URI: https://wordpress.org/plugins/streamcast
6 - * Description: Play iceCast, Shoutcast, Radioco, Radionomy Live stream in Wordpress.
7 - * Version: 2.4.5
8 - * Author: bPlugins
9 - * Author URI: http://bPlugins.com
10 - * License: GPLv2
11 - * License URI: https://www.gnu.org/licenses/gpl-2.0.html
12 - * Requires at least: 6.2
13 - * Tested up to: 7.0
14 - * Text Domain: streamcast
15 - * Domain Path: /languages
16 - */
17 -
18 -// ABS PATH
19 -if (!defined('ABSPATH'))
20 - exit;
21 -
22 -
23 -if (function_exists('str_fs')) {
24 - str_fs()->set_basename(false, __FILE__);
25 -} else {
26 - // Some Setup
27 - define('STREAMCAST_PLUGIN_DIR', plugin_dir_url(__FILE__));
28 - define('STREAMCAST_PLUGIN_PATH', plugin_dir_path(__FILE__));
29 - define('STREAMCAST_PLUGIN_VERSION', '2.4.5');
30 - define('STREAMCAST_PLUGIN_FILE', __FILE__);
31 - define('STREAMCAST_HAS_PRO', 'streamcast-premium/streamcast.php' === plugin_basename(__FILE__));
32 -
33 - if (!function_exists('str_fs')) {
34 - function str_fs()
35 - {
36 - global $str_fs;
37 - if (!isset($str_fs)) {
38 -
39 - // Include Freemius SDK.
40 - require_once dirname(__FILE__) . '/vendor/freemius/start.php';
41 - $str_fs = fs_dynamic_init(array(
42 - 'id' => '6433',
43 - 'slug' => 'streamcast',
44 - 'type' => 'plugin',
45 - 'public_key' => 'pk_a19d159db561c020210345da466f1',
46 - 'is_premium' => false,
47 - 'menu' => array(
48 - 'slug' => 'edit.php?post_type=streamcast',
49 - 'first-path' => 'edit.php?post_type=streamcast&page=streamcast#/dashboard',
50 - 'support' => false,
51 - 'affiliation' => false,
52 - ),
53 - 'is_live' => true,
54 - ));
55 - }
56 - return $str_fs;
57 - }
58 -
59 - // Init Freemius.
60 - str_fs();
61 - // Signal that SDK was initiated.
62 - do_action('str_fs_loaded');
63 - }
64 -
65 -
66 -
67 - // Load main plugin class
68 - require_once plugin_dir_path(__FILE__) . 'inc/class-streamcast-main.php';
69 - // Initialize
70 - new \StreamCast\STREAMCAST_Main();
71 -
1 +<?php
2 +
3 +/*
4 + * Plugin Name: StreamCast
5 + * Plugin URI: https://wordpress.org/plugins/streamcast
6 + * Description: Play iceCast, Shoutcast, Radioco, Radionomy Live stream in Wordpress.
7 + * Version: 2.4.0
8 + * Author: bPlugins
9 + * Author URI: http://bPlugins.com
10 + * License: GPLv2
11 + * License URI: https://www.gnu.org/licenses/gpl-2.0.html
12 + * Requires at least: 6.2
13 + * Tested up to: 6.9
14 + * Text Domain: streamcast
15 + * Domain Path: /languages
16 + */
17 +
18 +// ABS PATH
19 +if (!defined('ABSPATH'))
20 + exit;
21 +
22 +
23 +if (function_exists('str_fs')) {
24 + str_fs()->set_basename(false, __FILE__);
25 +} else {
26 + // Some Setup
27 + define('STP_PLUGIN_DIR', plugin_dir_url(__FILE__));
28 + define('STP_PLUGIN_PATH', plugin_dir_path(__FILE__));
29 + define('STP_PLUGIN_VERSION', '2.4.0');
30 + define('STP_PLUGIN_FILE', __FILE__);
31 + define('STP_HAS_PRO', 'streamcast-premium/streamcast.php' === plugin_basename(__FILE__));
32 +
33 + if (!function_exists('str_fs')) {
34 + function str_fs()
35 + {
36 + global $str_fs;
37 + if (!isset($str_fs)) {
38 +
39 + // Include Freemius SDK.
40 + require_once dirname(__FILE__) . '/vendor/freemius/start.php';
41 + $str_fs = fs_dynamic_init(array(
42 + 'id' => '6433',
43 + 'slug' => 'streamcast',
44 + 'type' => 'plugin',
45 + 'public_key' => 'pk_a19d159db561c020210345da466f1',
46 + 'is_premium' => false,
47 + 'menu' => array(
48 + 'slug' => 'edit.php?post_type=streamcast',
49 + 'first-path' => 'edit.php?post_type=streamcast&page=streamcast#/dashboard',
50 + 'support' => false,
51 + 'affiliation' => false,
52 + ),
53 + 'is_live' => true,
54 + ));
55 + }
56 + return $str_fs;
57 + }
58 +
59 + // Init Freemius.
60 + str_fs();
61 + // Signal that SDK was initiated.
62 + do_action('str_fs_loaded');
63 + }
64 +
65 +
66 +
67 + // Load main plugin class
68 + require_once plugin_dir_path(__FILE__) . 'inc/class-stp-main.php';
69 + // Initialize
70 + new \STP\STP_Main();
71 +
72 72 }