rtMedia for WordPress, BuddyPress and bbPress - Version 2.1.5

Version Description

  • Fixed the postmeta box bug
Download this release

Release Info

Developer rtcamp
Plugin Icon 128x128 rtMedia for WordPress, BuddyPress and bbPress
Version 2.1.5
Comparing to
See all releases

Code changes from version 2.1.4 to 2.1.5

Files changed (3) hide show
  1. includes/bp-media-admin.php +8 -5
  2. loader.php +2 -2
  3. readme.txt +5 -2
includes/bp-media-admin.php CHANGED
@@ -207,11 +207,14 @@ function bp_media_default_admin_sidebar() {
207
* Enqueues the scripts and stylesheets needed for the BuddyPress Media's options page
208
*/
209
function bp_media_admin_enqueue() {
210
- $admin_js = trailingslashit(site_url()).'?bp_media_get_feeds=1';
211
- wp_enqueue_script('bp-media-js',plugins_url('includes/js/bp-media.js', dirname(__FILE__)));
212
- wp_localize_script('bp-media-js','bp_media_news_url',$admin_js);
213
- wp_enqueue_style('bp-media-admin-style', plugins_url('includes/css/bp-media-style.css', dirname(__FILE__)));
214
- wp_enqueue_script( 'dashboard' );
215
}
216
add_action('admin_enqueue_scripts', 'bp_media_admin_enqueue');
217
207
* Enqueues the scripts and stylesheets needed for the BuddyPress Media's options page
208
*/
209
function bp_media_admin_enqueue() {
210
+ $current_screen=get_current_screen();
211
+ if(isset($current_screen->base)&&$current_screen->base=='settings_page_bp-media-settings'){
212
+ $admin_js = trailingslashit(site_url()).'?bp_media_get_feeds=1';
213
+ wp_enqueue_script('bp-media-js',plugins_url('includes/js/bp-media.js', dirname(__FILE__)));
214
+ wp_localize_script('bp-media-js','bp_media_news_url',$admin_js);
215
+ wp_enqueue_style('bp-media-admin-style', plugins_url('includes/css/bp-media-style.css', dirname(__FILE__)));
216
+ wp_enqueue_script( 'dashboard' );
217
+ }
218
}
219
add_action('admin_enqueue_scripts', 'bp_media_admin_enqueue');
220
loader.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: BuddyPress Media
4
Plugin URI: http://rtcamp.com/buddypress-media/
5
Description: This plugin adds missing media rich features like photos, videos and audios uploading to BuddyPress which are essential if you are building social network, seriously!
6
- Version: 2.1.4
7
Author: rtCamp
8
Author URI: http://rtcamp.com
9
*/
@@ -12,7 +12,7 @@ Author URI: http://rtcamp.com
12
define('BP_MEDIA_IS_INSTALLED', 1);
13
14
/* Constant to store the current version of the BP Media Plugin. */
15
- define('BP_MEDIA_VERSION', '2.1.4');
16
17
/* A constant to be used as base for other URLs throughout the plugin */
18
define('BP_MEDIA_PLUGIN_DIR', dirname(__FILE__));
3
Plugin Name: BuddyPress Media
4
Plugin URI: http://rtcamp.com/buddypress-media/
5
Description: This plugin adds missing media rich features like photos, videos and audios uploading to BuddyPress which are essential if you are building social network, seriously!
6
+ Version: 2.1.5
7
Author: rtCamp
8
Author URI: http://rtcamp.com
9
*/
12
define('BP_MEDIA_IS_INSTALLED', 1);
13
14
/* Constant to store the current version of the BP Media Plugin. */
15
+ define('BP_MEDIA_VERSION', '2.1.5');
16
17
/* A constant to be used as base for other URLs throughout the plugin */
18
define('BP_MEDIA_PLUGIN_DIR', dirname(__FILE__));
readme.txt CHANGED
@@ -6,7 +6,7 @@ License: GPLv2 or later
6
License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
Requires at least: 3.3.2
8
Tested up to: 3.4.2
9
- Stable tag: 2.1.4
10
11
Adds multimedia features to your BuddyPress based social network. Support mobile devices.& audio/video conversion.
12
@@ -56,6 +56,9 @@ Please visit [BuddyPress Media's Features page](http://rtcamp.com/buddypress-med
56
57
== Changelog ==
58
59
= 2.1.4 =
60
* Added video thumbnail support for addons.
61
* Updated the MediaElementJS player library.
@@ -97,4 +100,4 @@ Please visit [BuddyPress Media's Features page](http://rtcamp.com/buddypress-med
97
* HTML5 Video Tag Support (with fallback)
98
99
== Upgrade Notice ==
100
- Fixed file uploading via iPhone.
6
License URI: http://www.gnu.org/licenses/gpl-2.0.html
7
Requires at least: 3.3.2
8
Tested up to: 3.4.2
9
+ Stable tag: 2.1.5
10
11
Adds multimedia features to your BuddyPress based social network. Support mobile devices.& audio/video conversion.
12
56
57
== Changelog ==
58
59
+ = 2.1.5 =
60
+ * Fixed the postmeta box bug
61
+
62
= 2.1.4 =
63
* Added video thumbnail support for addons.
64
* Updated the MediaElementJS player library.
100
* HTML5 Video Tag Support (with fallback)
101
102
== Upgrade Notice ==
103
+ Fixed file uploading via iPhone.