Music Player for WooCommerce - Version 1.0.183

Version Description

  • Checks if the shell_exec function is available before calling it.
Download this release

Release Info

Developer codepeople
Plugin Icon 128x128 Music Player for WooCommerce
Version 1.0.183
Comparing to
See all releases

Code changes from version 1.0.182 to 1.0.183

Files changed (3) hide show
  1. readme.txt +5 -1
  2. views/global_options.php +1 -1
  3. wcmp.php +2 -2
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://wcmp.dwbooster.com
4
  Tags:WooCommerce,music player,audio,music,song,player,audio player,media player,mp3,m3u,m3u8,wav,oga,ogg,dokan,wcfm
5
  Requires at least: 3.5.0
6
  Tested up to: 6.1
7
- Stable tag: 1.0.182
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -226,6 +226,10 @@ Each time save the data of a product, the files for demo are deleted and generat
226
 
227
  == Changelog ==
228
 
 
 
 
 
229
  = 1.0.182 =
230
 
231
  * Modifies the module that reads the audio files.
4
  Tags:WooCommerce,music player,audio,music,song,player,audio player,media player,mp3,m3u,m3u8,wav,oga,ogg,dokan,wcfm
5
  Requires at least: 3.5.0
6
  Tested up to: 6.1
7
+ Stable tag: 1.0.183
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
226
 
227
  == Changelog ==
228
 
229
+ = 1.0.183 =
230
+
231
+ * Checks if the shell_exec function is available before calling it.
232
+
233
  = 1.0.182 =
234
 
235
  * Modifies the module that reads the audio files.
views/global_options.php CHANGED
@@ -7,7 +7,7 @@ if ( ! defined( 'WCMP_PLUGIN_URL' ) ) {
7
  wp_enqueue_style( 'wcmp-admin-style', plugin_dir_url( __FILE__ ) . '../css/style.admin.css', array(), '1.0.175' );
8
  wp_enqueue_script( 'wcmp-admin-js', plugin_dir_url( __FILE__ ) . '../js/admin.js', array(), '1.0.175' );
9
 
10
- $ffmpeg_system_path = defined( 'PHP_OS' ) && strtolower( PHP_OS ) == 'linux' ? @shell_exec( 'which ffmpeg' ) : '';
11
 
12
  $troubleshoot_default_extension = $GLOBALS['WooCommerceMusicPlayer']->get_global_attr( '_wcmp_default_extension', false );
13
  $force_main_player_in_title = $GLOBALS['WooCommerceMusicPlayer']->get_global_attr( '_wcmp_force_main_player_in_title', 1 );
7
  wp_enqueue_style( 'wcmp-admin-style', plugin_dir_url( __FILE__ ) . '../css/style.admin.css', array(), '1.0.175' );
8
  wp_enqueue_script( 'wcmp-admin-js', plugin_dir_url( __FILE__ ) . '../js/admin.js', array(), '1.0.175' );
9
 
10
+ $ffmpeg_system_path = defined( 'PHP_OS' ) && strtolower( PHP_OS ) == 'linux' && function_exists( 'shell_exec' ) ? @shell_exec( 'which ffmpeg' ) : '';
11
 
12
  $troubleshoot_default_extension = $GLOBALS['WooCommerceMusicPlayer']->get_global_attr( '_wcmp_default_extension', false );
13
  $force_main_player_in_title = $GLOBALS['WooCommerceMusicPlayer']->get_global_attr( '_wcmp_force_main_player_in_title', 1 );
wcmp.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Music Player for WooCommerce
4
  Plugin URI: https://wcmp.dwbooster.com
5
- Version: 1.0.182
6
  Text Domain: music-player-for-woocommerce
7
  Author: CodePeople
8
  Author URI: https://wcmp.dwbooster.com
@@ -30,7 +30,7 @@ define( 'WCMP_DEFAULT_PLAYER_VOLUME', 1 );
30
  define( 'WCMP_DEFAULT_PLAYER_CONTROLS', 'default' );
31
  define( 'WCMP_DEFAULT_PlAYER_TITLE', 1 );
32
  define( 'WCMP_REMOTE_TIMEOUT', 120 );
33
- define( 'WCMP_VERSION', '1.0.182' );
34
 
35
  // Load widgets
36
  require_once 'widgets/playlist_widget.php';
2
  /*
3
  Plugin Name: Music Player for WooCommerce
4
  Plugin URI: https://wcmp.dwbooster.com
5
+ Version: 1.0.183
6
  Text Domain: music-player-for-woocommerce
7
  Author: CodePeople
8
  Author URI: https://wcmp.dwbooster.com
30
  define( 'WCMP_DEFAULT_PLAYER_CONTROLS', 'default' );
31
  define( 'WCMP_DEFAULT_PlAYER_TITLE', 1 );
32
  define( 'WCMP_REMOTE_TIMEOUT', 120 );
33
+ define( 'WCMP_VERSION', '1.0.183' );
34
 
35
  // Load widgets
36
  require_once 'widgets/playlist_widget.php';