MP3-jPlayer - Version 2.7.3

Version Description

  • Fixed the error message admin-side that occured in some scenarios when saving posts containing player shortcodes.
Download this release

Release Info

Developer simon.ward
Plugin Icon 128x128 MP3-jPlayer
Version 2.7.3
Comparing to
See all releases

Code changes from version 2.7.2 to 2.7.3

Files changed (4) hide show
  1. frontend.php +0 -2
  2. main.php +1 -2
  3. mp3jplayer.php +1 -1
  4. readme.txt +6 -3
frontend.php CHANGED
@@ -522,7 +522,6 @@ class MP3j_Front extends MP3j_Main
522
  $loop = ( $loop == "true" || $loop == "y" || $loop == "1" ) ? "true" : "false";
523
  $dload = ( $dload == "true" || $dload == "y" || $dload == "1" ) ? "true" : "false";
524
 
525
- $this->defineJSvars();
526
  $playerInfo = "{ list: MP3jPLAYLISTS." . $tn['playername'] . ", tr: " . ($tn['track']-1) . ", type: 'single', lstate: '', loop: " . $loop . ", play_txt: '" . $play . "', pause_txt: '" . $stop . "', pp_title: '', autoplay:" . $autoplay . ", download:" . $dload . ", vol: " . $vol . ", height: '' }";
527
  $playerJS = "<script>MP3jPLAYERS[" .$id. "] = " . $playerInfo . ";</script>";
528
 
@@ -612,7 +611,6 @@ class MP3j_Front extends MP3j_Main
612
  $loop = ( $loop == "true" || $loop == "y" || $loop == "1" ) ? "true" : "false";
613
  $dload = ( $dload == "true" || $dload == "y" || $dload == "1" ) ? "true" : "false";
614
 
615
- $this->defineJSvars();
616
  $playerInfo = "{ list: MP3jPLAYLISTS." . $tn['playername'] . ", tr:" . ($tn['track']-1) . ", type:'single', lstate:'', loop:" . $loop . ", play_txt:'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', pause_txt:'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', pp_title:'', autoplay:" . $autoplay . ", download:" . $dload . ", vol:" . $vol . ", height:'' }";
617
  $playerJS = "<script>MP3jPLAYERS[" .$id. "] = " . $playerInfo . ";</script>";
618
 
522
  $loop = ( $loop == "true" || $loop == "y" || $loop == "1" ) ? "true" : "false";
523
  $dload = ( $dload == "true" || $dload == "y" || $dload == "1" ) ? "true" : "false";
524
 
 
525
  $playerInfo = "{ list: MP3jPLAYLISTS." . $tn['playername'] . ", tr: " . ($tn['track']-1) . ", type: 'single', lstate: '', loop: " . $loop . ", play_txt: '" . $play . "', pause_txt: '" . $stop . "', pp_title: '', autoplay:" . $autoplay . ", download:" . $dload . ", vol: " . $vol . ", height: '' }";
526
  $playerJS = "<script>MP3jPLAYERS[" .$id. "] = " . $playerInfo . ";</script>";
527
 
611
  $loop = ( $loop == "true" || $loop == "y" || $loop == "1" ) ? "true" : "false";
612
  $dload = ( $dload == "true" || $dload == "y" || $dload == "1" ) ? "true" : "false";
613
 
 
614
  $playerInfo = "{ list: MP3jPLAYLISTS." . $tn['playername'] . ", tr:" . ($tn['track']-1) . ", type:'single', lstate:'', loop:" . $loop . ", play_txt:'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', pause_txt:'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', pp_title:'', autoplay:" . $autoplay . ", download:" . $dload . ", vol:" . $vol . ", height:'' }";
615
  $playerJS = "<script>MP3jPLAYERS[" .$id. "] = " . $playerInfo . ";</script>";
616
 
main.php CHANGED
@@ -2,7 +2,7 @@
2
  class MP3j_Main {
3
 
4
  // --------- Update Me ------------
5
- var $version_of_plugin = "2.7.2";
6
  // --------------------------------
7
 
8
  var $S_no = 0;
@@ -665,7 +665,6 @@ class MP3j_Main {
665
  }
666
  $js .= "\n]";
667
 
668
- $this->defineJSvars();
669
  return "<script>\nMP3jPLAYLISTS." .$name. " = " .$js. ";\n</script>\n\n";
670
  }
671
 
2
  class MP3j_Main {
3
 
4
  // --------- Update Me ------------
5
+ var $version_of_plugin = "2.7.3";
6
  // --------------------------------
7
 
8
  var $S_no = 0;
665
  }
666
  $js .= "\n]";
667
 
 
668
  return "<script>\nMP3jPLAYLISTS." .$name. " = " .$js. ";\n</script>\n\n";
669
  }
670
 
mp3jplayer.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: MP3-jPlayer
4
  Plugin URI: http://mp3-jplayer.com
5
  Description: Easy, Flexible Audio for WordPress.
6
- Version: 2.7.2
7
  Author: Simon Ward
8
  Author URI: http://www.sjward.org
9
  License: GPL2
3
  Plugin Name: MP3-jPlayer
4
  Plugin URI: http://mp3-jplayer.com
5
  Description: Easy, Flexible Audio for WordPress.
6
+ Version: 2.7.3
7
  Author: Simon Ward
8
  Author URI: http://www.sjward.org
9
  License: GPL2
readme.txt CHANGED
@@ -6,8 +6,8 @@ Donate link: http://www.sjward.org/jplayer-for-wordpress
6
  Tags: audio, playlist, player, music, audio player, audio playlist, mp3 player, music player, media, mobile, iphone, ipad, integration, multisite, playlist player, media player, audio widget, audio download, html5 audio, music player, mp3, html5, flash, jplayer, jquery, shortcode, widget, css, post, page, sidebar, html 5
7
  License: GPLv2 or later
8
  Requires at least: 2.9
9
- Tested up to: 4.6
10
- Stable tag: 2.7.2
11
 
12
  Easy, Flexible Audio for WordPress.
13
 
@@ -31,7 +31,7 @@ Easy, Flexible Audio for WordPress.
31
  [Help & Docs main page](http://mp3-jplayer.com/help-docs/)
32
 
33
 
34
- MP3-jPlayer will expand WP's native shortcodes with new functions and options, giving you a lot of choice in how to set up your music playlists. Here's a few of the features:
35
 
36
  * Add unlimited music players to pages, posts, sidebars, and template files.
37
  * Show the players to all visitors, or just logged-in users.
@@ -119,6 +119,9 @@ Either on the [forum at Wordpress](https://wordpress.org/support/plugin/mp3-jpla
119
 
120
  == Changelog ==
121
 
 
 
 
122
  = 2.7.2 =
123
  * Fixed the background colour fill on playlist items when displaying stat counts on the frontend.
124
 
6
  Tags: audio, playlist, player, music, audio player, audio playlist, mp3 player, music player, media, mobile, iphone, ipad, integration, multisite, playlist player, media player, audio widget, audio download, html5 audio, music player, mp3, html5, flash, jplayer, jquery, shortcode, widget, css, post, page, sidebar, html 5
7
  License: GPLv2 or later
8
  Requires at least: 2.9
9
+ Tested up to: 5.0.3
10
+ Stable tag: 2.7.3
11
 
12
  Easy, Flexible Audio for WordPress.
13
 
31
  [Help & Docs main page](http://mp3-jplayer.com/help-docs/)
32
 
33
 
34
+ MP3-jPlayer expands WP's native shortcodes with new functions and options, giving you a lot of choice in how to set up your music playlists. Here's a few of the features:
35
 
36
  * Add unlimited music players to pages, posts, sidebars, and template files.
37
  * Show the players to all visitors, or just logged-in users.
119
 
120
  == Changelog ==
121
 
122
+ = 2.7.3 =
123
+ * Fixed the error message admin-side that occured in some scenarios when saving posts containing player shortcodes.
124
+
125
  = 2.7.2 =
126
  * Fixed the background colour fill on playlist items when displaying stat counts on the frontend.
127