Version Description
- Add new developer hook on settings page (players tab), to support the upcoming Single Player Downloads add-on.
- Update javascript GMT methods with the current standard UTC methods.
Download this release
Release Info
Developer | simon.ward |
Plugin | MP3-jPlayer |
Version | 2.4.2 |
Comparing to | |
See all releases |
Code changes from version 2.4.1 to 2.4.2
- admin-settings.php +9 -1
- js/mp3-jplayer-2.3.4.js +1 -1
- main.php +1 -1
- mp3jplayer.php +1 -1
- readme.txt +5 -1
- template-functions.php +3 -0
admin-settings.php
CHANGED
@@ -281,8 +281,16 @@ function mp3j_print_admin_page()
|
|
281 |
?>
|
282 |
</table>
|
283 |
</div>
|
|
|
284 |
|
285 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
286 |
<div style="background:#e9e9e9; border-bottom:1px solid #fff; padding:8px 0 8px 10px; margin:0 0 5px 0; width:520px; font-size:14px; font-weight:600;">Playlist Players</div>
|
287 |
<table class="player-settings" style="margin:0 0 0px 10px;">
|
288 |
<tr>
|
281 |
?>
|
282 |
</table>
|
283 |
</div>
|
284 |
+
<br class="clearB">
|
285 |
|
286 |
+
<div>
|
287 |
+
<?php
|
288 |
+
MJPsettings_after_mp3tj();
|
289 |
+
?>
|
290 |
+
</div>
|
291 |
+
<br class="clearB">
|
292 |
+
|
293 |
+
<br>
|
294 |
<div style="background:#e9e9e9; border-bottom:1px solid #fff; padding:8px 0 8px 10px; margin:0 0 5px 0; width:520px; font-size:14px; font-weight:600;">Playlist Players</div>
|
295 |
<table class="player-settings" style="margin:0 0 0px 10px;">
|
296 |
<tr>
|
js/mp3-jplayer-2.3.4.js
CHANGED
@@ -1010,7 +1010,7 @@ MP3_JPLAYER.write_cookie = function ( name, value, days ) {
|
|
1010 |
if ( days ) {
|
1011 |
date = new Date();
|
1012 |
date.setTime( date.getTime() + (days*24*60*60*1000) );
|
1013 |
-
expires = "; expires=" + date.
|
1014 |
}
|
1015 |
document.cookie = name + "=" + value + expires + "; path=/";
|
1016 |
return this.read_cookie( name );
|
1010 |
if ( days ) {
|
1011 |
date = new Date();
|
1012 |
date.setTime( date.getTime() + (days*24*60*60*1000) );
|
1013 |
+
expires = "; expires=" + date.toUTCString();
|
1014 |
}
|
1015 |
document.cookie = name + "=" + value + expires + "; path=/";
|
1016 |
return this.read_cookie( name );
|
main.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
class MP3j_Main {
|
3 |
|
4 |
// --------- Update Me ------------
|
5 |
-
var $version_of_plugin = "2.4.
|
6 |
var $showSplash = false;
|
7 |
// --------------------------------
|
8 |
|
2 |
class MP3j_Main {
|
3 |
|
4 |
// --------- Update Me ------------
|
5 |
+
var $version_of_plugin = "2.4.2";
|
6 |
var $showSplash = false;
|
7 |
// --------------------------------
|
8 |
|
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.4.
|
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.4.2
|
7 |
Author: Simon Ward
|
8 |
Author URI: http://www.sjward.org
|
9 |
License: GPL2
|
readme.txt
CHANGED
@@ -7,7 +7,7 @@ Tags: audio, audio player, audio playlist, mp3 player, music player, media, mobi
|
|
7 |
License: GPLv2 or later
|
8 |
Requires at least: 2.9
|
9 |
Tested up to: 4.3
|
10 |
-
Stable tag: 2.4.
|
11 |
|
12 |
Easy, Flexible Audio for WordPress.
|
13 |
|
@@ -108,6 +108,10 @@ Either on the [forum at Wordpress](https://wordpress.org/support/plugin/mp3-jpla
|
|
108 |
|
109 |
== Changelog ==
|
110 |
|
|
|
|
|
|
|
|
|
111 |
= 2.4.1 =
|
112 |
* Compatibility update for WordPress 4.3, see (this thread)[https://make.wordpress.org/core/2015/07/02/deprecating-php4-style-constructors-in-wordpress-4-3/] for more info.
|
113 |
* Fixed the settings page php notices that could occur in some scenarios.
|
7 |
License: GPLv2 or later
|
8 |
Requires at least: 2.9
|
9 |
Tested up to: 4.3
|
10 |
+
Stable tag: 2.4.2
|
11 |
|
12 |
Easy, Flexible Audio for WordPress.
|
13 |
|
108 |
|
109 |
== Changelog ==
|
110 |
|
111 |
+
= 2.4.2 =
|
112 |
+
* Add new developer hook on settings page (players tab), to support the upcoming Single Player Downloads add-on.
|
113 |
+
* Update javascript GMT methods with the current standard UTC methods.
|
114 |
+
|
115 |
= 2.4.1 =
|
116 |
* Compatibility update for WordPress 4.3, see (this thread)[https://make.wordpress.org/core/2015/07/02/deprecating-php4-style-constructors-in-wordpress-4-3/] for more info.
|
117 |
* Fixed the settings page php notices that could occur in some scenarios.
|
template-functions.php
CHANGED
@@ -22,6 +22,9 @@ function MJPsettings_mp3t() {
|
|
22 |
function MJPsettings_mp3j() {
|
23 |
do_action( 'MJPsettings_mp3j' );
|
24 |
}
|
|
|
|
|
|
|
25 |
function MJPsettings_playlist() {
|
26 |
do_action( 'MJPsettings_playlist' );
|
27 |
}
|
22 |
function MJPsettings_mp3j() {
|
23 |
do_action( 'MJPsettings_mp3j' );
|
24 |
}
|
25 |
+
function MJPsettings_after_mp3tj() {
|
26 |
+
do_action( 'MJPsettings_after_mp3tj' );
|
27 |
+
}
|
28 |
function MJPsettings_playlist() {
|
29 |
do_action( 'MJPsettings_playlist' );
|
30 |
}
|