Version Description
- Released on 09/23/2013
- Fixed another bug with Feed Episode Maximizer RSS
having the invalid characters when used with WordPRess 3.6. Added function powerpress_get_the_excerpt_rss()
to permanently fix issue. - Removed
PHP_EOL
from powerpress-player.php where the player links are added to the post content. This should solve the issue where some themes or plugins replace new line characters with actual<br/>
tags. (Thanks Nathan for the fix!) - Option to remove statistics from Dashboard has been re-added. 5.0/5.0.1 removed the option which was automatically disabling statistics in dashboard. Our mistake!
- Fixed bug with embed link no longer appearing when using FlowPlayerClassic audio player. (thanks cimmerian for bringing to our attention!)
- Fixed bug with Taxonomy podcasting program level attributes (description, itunes subtitle) not getting applied to taxonomy feed correctly (Thanks Matt for bringing to our attention!)
- Fixed bug with file size and duratoin checkbox setting in General Settings not saving correctly (Thanks Bridge Maker for letting us know about the bug!)
- Added image uploader option to both the episode entry box poster image and new itunes image fields. This version will not cause issues with the media upload button if a user cancels the image upload.
Download this release
Release Info
Developer | amandato |
Plugin | PowerPress Podcasting plugin by Blubrry |
Version | 5.0.2 |
Comparing to | |
See all releases |
Code changes from version 5.0.1 to 5.0.2
- feed-podcast.php +10 -4
- powerpress-player.php +4 -3
- powerpress.php +3 -3
- powerpressadmin-basic.php +11 -3
- powerpressadmin-dashboard.php +2 -2
- powerpressadmin-metabox.php +6 -3
- powerpressadmin.php +40 -9
- readme.txt +13 -2
feed-podcast.php
CHANGED
@@ -5,6 +5,12 @@
|
|
5 |
* @package WordPress
|
6 |
*/
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
$FeaturedPodcastID = 0;
|
9 |
$iTunesFeatured = get_option('powerpress_itunes_featured');
|
10 |
$feed_slug = get_query_var('feed');
|
@@ -58,9 +64,9 @@ echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
|
|
58 |
<dc:creator><?php the_author() ?></dc:creator>
|
59 |
<?php the_category_rss('rss2') ?>
|
60 |
<?php if (get_option('rss_use_excerpt')) : ?>
|
61 |
-
<description
|
62 |
<?php else : ?>
|
63 |
-
<description
|
64 |
<?php if ( strlen( $post->post_content ) > 0 ) : ?>
|
65 |
<content:encoded><![CDATA[<?php the_content_feed('rss2') ?>]]></content:encoded>
|
66 |
<?php else : ?>
|
@@ -74,7 +80,7 @@ echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
|
|
74 |
else // If feed maximizer on
|
75 |
{ // itunes does not like CDATA, so we're changing it to the other method...
|
76 |
?>
|
77 |
-
<description><?php echo
|
78 |
<?php
|
79 |
}
|
80 |
?>
|
@@ -123,7 +129,7 @@ echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>'; ?>
|
|
123 |
<link><?php the_permalink_rss() ?></link>
|
124 |
<pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_post_time('Y-m-d H:i:s', true), false); ?></pubDate>
|
125 |
<guid isPermaLink="false"><?php the_guid(); ?></guid>
|
126 |
-
<description><?php echo powerpress_format_itunes_value(
|
127 |
<?php rss_enclosure(); ?>
|
128 |
<?php do_action('rss2_item'); ?>
|
129 |
<?php
|
5 |
* @package WordPress
|
6 |
*/
|
7 |
|
8 |
+
function powerpress_get_the_excerpt_rss()
|
9 |
+
{
|
10 |
+
$output = get_the_excerpt();
|
11 |
+
return apply_filters('the_excerpt_rss', $output);
|
12 |
+
}
|
13 |
+
|
14 |
$FeaturedPodcastID = 0;
|
15 |
$iTunesFeatured = get_option('powerpress_itunes_featured');
|
16 |
$feed_slug = get_query_var('feed');
|
64 |
<dc:creator><?php the_author() ?></dc:creator>
|
65 |
<?php the_category_rss('rss2') ?>
|
66 |
<?php if (get_option('rss_use_excerpt')) : ?>
|
67 |
+
<description><?php echo powerpress_format_itunes_value( powerpress_get_the_excerpt_rss(), 'description' ); ?></description>
|
68 |
<?php else : ?>
|
69 |
+
<description><?php echo powerpress_format_itunes_value( powerpress_get_the_excerpt_rss(), 'description' ); ?></description>
|
70 |
<?php if ( strlen( $post->post_content ) > 0 ) : ?>
|
71 |
<content:encoded><![CDATA[<?php the_content_feed('rss2') ?>]]></content:encoded>
|
72 |
<?php else : ?>
|
80 |
else // If feed maximizer on
|
81 |
{ // itunes does not like CDATA, so we're changing it to the other method...
|
82 |
?>
|
83 |
+
<description><?php echo powerpress_format_itunes_value( powerpress_get_the_excerpt_rss(), 'description' ); ?></description>
|
84 |
<?php
|
85 |
}
|
86 |
?>
|
129 |
<link><?php the_permalink_rss() ?></link>
|
130 |
<pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_post_time('Y-m-d H:i:s', true), false); ?></pubDate>
|
131 |
<guid isPermaLink="false"><?php the_guid(); ?></guid>
|
132 |
+
<description><?php echo powerpress_format_itunes_value( powerpress_get_the_excerpt_rss(), 'description' ); ?></description>
|
133 |
<?php rss_enclosure(); ?>
|
134 |
<?php do_action('rss2_item'); ?>
|
135 |
<?php
|
powerpress-player.php
CHANGED
@@ -60,7 +60,8 @@ function powerpressplayer_init($GeneralSettings)
|
|
60 |
if( version_compare($GLOBALS['wp_version'], '3.6-alpha', '>') )
|
61 |
$enqueue_mejs = true;
|
62 |
}
|
63 |
-
|
|
|
64 |
{
|
65 |
$enqueue_mejs = true;
|
66 |
}
|
@@ -996,7 +997,7 @@ function powerpressplayer_embedable($media_url, $ExtraData = array())
|
|
996 |
case 'mp3':
|
997 |
case 'oga':
|
998 |
case 'm4a': {
|
999 |
-
if( in_array( $GeneralSettings['player'], array('mediaelement-audio', 'flow-player-classic') ) )
|
1000 |
$player = $GeneralSettings['player'];
|
1001 |
}; break;
|
1002 |
case 'mp4':
|
@@ -1047,7 +1048,7 @@ function powerpressplayer_link_title($content, $media_url, $ExtraData = array()
|
|
1047 |
if( !empty($prefix) )
|
1048 |
$prefix .= ' ';
|
1049 |
|
1050 |
-
$return = '<p class="powerpress_links powerpress_links_'. $extension .'">'. $prefix . $content . '</p>'
|
1051 |
$player = powerpressplayer_embedable($media_url, $ExtraData);
|
1052 |
if( $player )
|
1053 |
{
|
60 |
if( version_compare($GLOBALS['wp_version'], '3.6-alpha', '>') )
|
61 |
$enqueue_mejs = true;
|
62 |
}
|
63 |
+
|
64 |
+
if( !empty($GeneralSettings['player']) && $GeneralSettings['player'] == 'mediaelement-audio' )
|
65 |
{
|
66 |
$enqueue_mejs = true;
|
67 |
}
|
997 |
case 'mp3':
|
998 |
case 'oga':
|
999 |
case 'm4a': {
|
1000 |
+
if( in_array( $GeneralSettings['player'], array('mediaelement-audio', 'flow-player-classic', 'default') ) )
|
1001 |
$player = $GeneralSettings['player'];
|
1002 |
}; break;
|
1003 |
case 'mp4':
|
1048 |
if( !empty($prefix) )
|
1049 |
$prefix .= ' ';
|
1050 |
|
1051 |
+
$return = '<p class="powerpress_links powerpress_links_'. $extension .'">'. $prefix . $content . '</p>';
|
1052 |
$player = powerpressplayer_embedable($media_url, $ExtraData);
|
1053 |
if( $player )
|
1054 |
{
|
powerpress.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Blubrry PowerPress
|
4 |
Plugin URI: http://create.blubrry.com/resources/powerpress/
|
5 |
Description: <a href="http://create.blubrry.com/resources/powerpress/" target="_blank">Blubrry PowerPress</a> adds podcasting support to your blog. Features include: media player, 3rd party statistics, iTunes integration, Blubrry Services (Media Statistics and Hosting) integration and a lot more.
|
6 |
-
Version: 5.0.
|
7 |
Author: Blubrry
|
8 |
Author URI: http://www.blubrry.com/
|
9 |
Change Log:
|
@@ -32,7 +32,7 @@ if( !function_exists('add_action') )
|
|
32 |
die("access denied.");
|
33 |
|
34 |
// WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
|
35 |
-
define('POWERPRESS_VERSION', '5.0.
|
36 |
|
37 |
// Translation support:
|
38 |
if ( !defined('POWERPRESS_ABSPATH') )
|
@@ -1310,7 +1310,7 @@ function powerpress_load_general_feed_settings()
|
|
1310 |
$powerpress_feed['itunes_image'] = $Feed['itunes_image'];
|
1311 |
return;
|
1312 |
}
|
1313 |
-
else if( ( defined('POWERPRESS_TAXONOMY_PODCASTING') || !empty($
|
1314 |
{
|
1315 |
// We need to get the term_id and the tax_id (tt_id)
|
1316 |
$term_slug = get_query_var('term');
|
3 |
Plugin Name: Blubrry PowerPress
|
4 |
Plugin URI: http://create.blubrry.com/resources/powerpress/
|
5 |
Description: <a href="http://create.blubrry.com/resources/powerpress/" target="_blank">Blubrry PowerPress</a> adds podcasting support to your blog. Features include: media player, 3rd party statistics, iTunes integration, Blubrry Services (Media Statistics and Hosting) integration and a lot more.
|
6 |
+
Version: 5.0.2
|
7 |
Author: Blubrry
|
8 |
Author URI: http://www.blubrry.com/
|
9 |
Change Log:
|
32 |
die("access denied.");
|
33 |
|
34 |
// WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
|
35 |
+
define('POWERPRESS_VERSION', '5.0.2' );
|
36 |
|
37 |
// Translation support:
|
38 |
if ( !defined('POWERPRESS_ABSPATH') )
|
1310 |
$powerpress_feed['itunes_image'] = $Feed['itunes_image'];
|
1311 |
return;
|
1312 |
}
|
1313 |
+
else if( ( defined('POWERPRESS_TAXONOMY_PODCASTING') || !empty($GeneralSettings['taxonomy_podcasting']) ) && ( is_tag() || is_tax() ) )
|
1314 |
{
|
1315 |
// We need to get the term_id and the tax_id (tt_id)
|
1316 |
$term_slug = get_query_var('term');
|
powerpressadmin-basic.php
CHANGED
@@ -694,9 +694,9 @@ function powerpressadmin_edit_itunes_general($FeedSettings, $General, $FeedAttri
|
|
694 |
|
695 |
function powerpressadmin_edit_blubrry_services($General)
|
696 |
{
|
697 |
-
$
|
698 |
-
if( !empty($General['
|
699 |
-
$
|
700 |
|
701 |
?>
|
702 |
<h3><?php echo __('Integrate Blubrry Services', 'powerpress'); ?> <span style="color: #CC0000; font-size: 11px;"><?php echo __('optional', 'powerpress'); ?></span></h3>
|
@@ -777,6 +777,14 @@ function powerpressadmin_edit_blubrry_services($General)
|
|
777 |
</div>
|
778 |
<?php
|
779 |
} // end not signed up for hosting
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
780 |
}
|
781 |
|
782 |
function powerpressadmin_edit_media_statistics($General)
|
694 |
|
695 |
function powerpressadmin_edit_blubrry_services($General)
|
696 |
{
|
697 |
+
$DisableStatsInDashboard = false;
|
698 |
+
if( !empty($General['disable_dashboard_stats']) )
|
699 |
+
$DisableStatsInDashboard = true;
|
700 |
|
701 |
?>
|
702 |
<h3><?php echo __('Integrate Blubrry Services', 'powerpress'); ?> <span style="color: #CC0000; font-size: 11px;"><?php echo __('optional', 'powerpress'); ?></span></h3>
|
777 |
</div>
|
778 |
<?php
|
779 |
} // end not signed up for hosting
|
780 |
+
|
781 |
+
?>
|
782 |
+
<div style="margin-left: 40px;">
|
783 |
+
<p style="margin-top: 10px;">
|
784 |
+
<input name="DisableStatsInDashboard" type="checkbox" value="1"<?php if( $DisableStatsInDashboard == true ) echo ' checked'; ?> />
|
785 |
+
<?php echo __('Remove Statistics from WordPress Dashboard', 'powerpress'); ?></p>
|
786 |
+
</div>
|
787 |
+
<?php
|
788 |
}
|
789 |
|
790 |
function powerpressadmin_edit_media_statistics($General)
|
powerpressadmin-dashboard.php
CHANGED
@@ -108,7 +108,7 @@ function powerpress_dashboard_stats_content()
|
|
108 |
{
|
109 |
$Settings = get_option('powerpress_general');
|
110 |
|
111 |
-
if(
|
112 |
return; // Lets not do anythign to the dashboard for PowerPress Statistics
|
113 |
|
114 |
// If using user capabilities...
|
@@ -262,7 +262,7 @@ function powerpress_dashboard_setup()
|
|
262 |
$StatsDashboard = true;
|
263 |
$NewsDashboard = true;
|
264 |
|
265 |
-
if( !empty($Settings['
|
266 |
$StatsDashboard = false; // Lets not do anything to the dashboard for PowerPress Statistics
|
267 |
|
268 |
if( !empty($Settings['disable_dashboard_news']) )
|
108 |
{
|
109 |
$Settings = get_option('powerpress_general');
|
110 |
|
111 |
+
if( !empty($Settings['disable_dashboard_stats']) )
|
112 |
return; // Lets not do anythign to the dashboard for PowerPress Statistics
|
113 |
|
114 |
// If using user capabilities...
|
262 |
$StatsDashboard = true;
|
263 |
$NewsDashboard = true;
|
264 |
|
265 |
+
if( !empty($Settings['disable_dashboard_stats']) )
|
266 |
$StatsDashboard = false; // Lets not do anything to the dashboard for PowerPress Statistics
|
267 |
|
268 |
if( !empty($Settings['disable_dashboard_news']) )
|
powerpressadmin-metabox.php
CHANGED
@@ -292,10 +292,11 @@ function powerpress_meta_box($object, $box)
|
|
292 |
<div class="powerpress_row">
|
293 |
<label for="Powerpress[<?php echo $FeedSlug; ?>][image]"><?php echo __('Poster Image', 'powerpress'); ?></label>
|
294 |
<div class="powerpress_row_content">
|
295 |
-
<input id="powerpress_image_<?php echo $FeedSlug; ?>" name="Powerpress[<?php echo $FeedSlug; ?>][image]" value="<?php echo htmlspecialchars($CoverImage); ?>" style="width: 70%; font-size: 90%;" size="250" />
|
|
|
296 |
</div>
|
297 |
<div class="powerpress_row_content">
|
298 |
-
<em><?php echo __('Poster image for video (m4v, mp4, ogv, webm, etc..)
|
299 |
</div>
|
300 |
</div>
|
301 |
<?php
|
@@ -482,12 +483,14 @@ unset($block_array);
|
|
482 |
{
|
483 |
if( empty($ExtraData['itunes_image']) )
|
484 |
$ExtraData['itunes_image'] = '';
|
485 |
-
|
|
|
486 |
?>
|
487 |
<div class="powerpress_row">
|
488 |
<label for="Powerpress[<?php echo $FeedSlug; ?>][itunes_image]"><?php echo __('iTunes Image', 'powerpress'); ?></label>
|
489 |
<div class="powerpress_row_content">
|
490 |
<input id="powerpress_itunes_image_<?php echo $FeedSlug; ?>" placeholder="<?php echo htmlspecialchars(__('e.g. http://example.com/path/to/image.jpg', 'powerpress')); ?>" name="Powerpress[<?php echo $FeedSlug; ?>][itunes_image]" value="<?php echo htmlspecialchars($ExtraData['itunes_image']); ?>" style="width: 70%; font-size: 90%;" size="250" />
|
|
|
491 |
</div>
|
492 |
</div>
|
493 |
<?php
|
292 |
<div class="powerpress_row">
|
293 |
<label for="Powerpress[<?php echo $FeedSlug; ?>][image]"><?php echo __('Poster Image', 'powerpress'); ?></label>
|
294 |
<div class="powerpress_row_content">
|
295 |
+
<input id="powerpress_image_<?php echo $FeedSlug; ?>" name="Powerpress[<?php echo $FeedSlug; ?>][image]" value="<?php echo htmlspecialchars($CoverImage); ?>" placeholder="<?php echo htmlspecialchars(__('e.g. http://example.com/path/to/image.jpg', 'powerpress')); ?>" style="width: 70%; font-size: 90%;" size="250" />
|
296 |
+
<a href="<?php echo $form_action_url; ?>" class="thickbox powerpress-image-browser" id="powerpress_image_browser_<?php echo $FeedSlug; ?>" title="<?php echo __('Select Poster Image', 'powerpress'); ?>"><img src="images/media-button-image.gif" /></a>
|
297 |
</div>
|
298 |
<div class="powerpress_row_content">
|
299 |
+
<em><?php echo __('Poster image for video (m4v, mp4, ogv, webm, etc..)', 'powerpress'); ?></em>
|
300 |
</div>
|
301 |
</div>
|
302 |
<?php
|
483 |
{
|
484 |
if( empty($ExtraData['itunes_image']) )
|
485 |
$ExtraData['itunes_image'] = '';
|
486 |
+
|
487 |
+
$form_action_url = admin_url("media-upload.php?type=powerpress_image&tab=type&post_id={$object->ID}&powerpress_feed={$FeedSlug}&TB_iframe=true&width=450&height=200");
|
488 |
?>
|
489 |
<div class="powerpress_row">
|
490 |
<label for="Powerpress[<?php echo $FeedSlug; ?>][itunes_image]"><?php echo __('iTunes Image', 'powerpress'); ?></label>
|
491 |
<div class="powerpress_row_content">
|
492 |
<input id="powerpress_itunes_image_<?php echo $FeedSlug; ?>" placeholder="<?php echo htmlspecialchars(__('e.g. http://example.com/path/to/image.jpg', 'powerpress')); ?>" name="Powerpress[<?php echo $FeedSlug; ?>][itunes_image]" value="<?php echo htmlspecialchars($ExtraData['itunes_image']); ?>" style="width: 70%; font-size: 90%;" size="250" />
|
493 |
+
<a href="<?php echo $form_action_url; ?>" class="thickbox powerpress-itunes-image-browser" id="powerpress_itunes_image_browser_<?php echo $FeedSlug; ?>" title="<?php echo __('Select iTunes Image', 'powerpress'); ?>"><img src="images/media-button-image.gif" /></a>
|
494 |
</div>
|
495 |
</div>
|
496 |
<?php
|
powerpressadmin.php
CHANGED
@@ -392,12 +392,14 @@ function powerpress_admin_init()
|
|
392 |
//if( !isset($General['display_player_disable_mobile']) )
|
393 |
// $General['display_player_disable_mobile'] = 0;
|
394 |
|
395 |
-
$General['
|
396 |
-
if( !
|
397 |
-
$General['
|
398 |
if( !isset($General['disable_dashboard_news'] ) )
|
399 |
$General['disable_dashboard_news'] = 0;
|
400 |
|
|
|
|
|
401 |
if( !isset($General['episode_box_embed'] ) )
|
402 |
$General['episode_box_embed'] = 0;
|
403 |
if( !isset($General['embed_replace_player'] ) )
|
@@ -492,8 +494,9 @@ function powerpress_admin_init()
|
|
492 |
{
|
493 |
if( !isset($General['display_player_excerpt']) ) // If we are modifying appearance settings but this option was not checked...
|
494 |
$General['display_player_excerpt'] = 0; // Set it to zero.
|
495 |
-
|
496 |
-
|
|
|
497 |
|
498 |
// Advanced Mode options
|
499 |
if( !isset($General['cat_casting'] ) )
|
@@ -2231,7 +2234,7 @@ function powerpress_remove_hosting(FeedSlug)
|
|
2231 |
}
|
2232 |
}
|
2233 |
|
2234 |
-
var
|
2235 |
|
2236 |
jQuery(document).ready(function($) {
|
2237 |
|
@@ -2251,18 +2254,46 @@ jQuery(document).ready(function($) {
|
|
2251 |
g_powerpress_last_selected_channel = this.id.replace(/(powerpress_image_browser_)(.*)$/, "$2");
|
2252 |
tb_show('', 'media-upload.php?type=image&TB_iframe=true&post_id=0', false);
|
2253 |
|
2254 |
-
|
|
|
|
|
2255 |
window.send_to_editor = function(html)
|
2256 |
{
|
2257 |
url = jQuery('img', html).attr('src');
|
2258 |
-
//jQuery("#"+formfieldID).val(imgurl);
|
2259 |
jQuery('#powerpress_image_'+g_powerpress_last_selected_channel).val( url );
|
2260 |
g_powerpress_last_selected_channel = '';
|
2261 |
tb_remove();
|
2262 |
-
window.send_to_editor =
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2263 |
}
|
2264 |
return false;
|
2265 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2266 |
jQuery('.powerpress-embed').change( function() {
|
2267 |
// if there is a value in the embed box, but there is no value in the url box, then we need to display a warning...
|
2268 |
var FeedSlug = this.id.replace(/(powerpress_embed_)(.*)$/, "$2");
|
392 |
//if( !isset($General['display_player_disable_mobile']) )
|
393 |
// $General['display_player_disable_mobile'] = 0;
|
394 |
|
395 |
+
$General['disable_dashboard_stats'] = 0;
|
396 |
+
if( !empty($_POST['DisableStatsInDashboard'] ) )
|
397 |
+
$General['disable_dashboard_stats'] = 1;
|
398 |
if( !isset($General['disable_dashboard_news'] ) )
|
399 |
$General['disable_dashboard_news'] = 0;
|
400 |
|
401 |
+
if( !isset($General['episode_box_mode']) ) // Default not set, 1 = no duration/file size, 2 = yes duration/file size (default if not set)
|
402 |
+
$General['episode_box_mode'] = 1; // 1 = no duration/file size (unchecked)
|
403 |
if( !isset($General['episode_box_embed'] ) )
|
404 |
$General['episode_box_embed'] = 0;
|
405 |
if( !isset($General['embed_replace_player'] ) )
|
494 |
{
|
495 |
if( !isset($General['display_player_excerpt']) ) // If we are modifying appearance settings but this option was not checked...
|
496 |
$General['display_player_excerpt'] = 0; // Set it to zero.
|
497 |
+
$General['disable_dashboard_stats'] = 0;
|
498 |
+
if( !empty($_POST['DisableStatsInDashboard'] ) )
|
499 |
+
$General['disable_dashboard_stats'] = 1;
|
500 |
|
501 |
// Advanced Mode options
|
502 |
if( !isset($General['cat_casting'] ) )
|
2234 |
}
|
2235 |
}
|
2236 |
|
2237 |
+
var pp_upload_image_button_funct = false;
|
2238 |
|
2239 |
jQuery(document).ready(function($) {
|
2240 |
|
2254 |
g_powerpress_last_selected_channel = this.id.replace(/(powerpress_image_browser_)(.*)$/, "$2");
|
2255 |
tb_show('', 'media-upload.php?type=image&TB_iframe=true&post_id=0', false);
|
2256 |
|
2257 |
+
if( pp_upload_image_button_funct == false )
|
2258 |
+
pp_upload_image_button_funct = window.send_to_editor;
|
2259 |
+
|
2260 |
window.send_to_editor = function(html)
|
2261 |
{
|
2262 |
url = jQuery('img', html).attr('src');
|
|
|
2263 |
jQuery('#powerpress_image_'+g_powerpress_last_selected_channel).val( url );
|
2264 |
g_powerpress_last_selected_channel = '';
|
2265 |
tb_remove();
|
2266 |
+
window.send_to_editor = pp_upload_image_button_funct;
|
2267 |
+
pp_upload_image_button_funct = false;
|
2268 |
+
}
|
2269 |
+
return false;
|
2270 |
+
});
|
2271 |
+
jQuery('.powerpress-itunes-image-browser').click(function(e) {
|
2272 |
+
e.preventDefault();
|
2273 |
+
g_powerpress_last_selected_channel = this.id.replace(/(powerpress_itunes_image_browser_)(.*)$/, "$2");
|
2274 |
+
tb_show('', 'media-upload.php?type=image&TB_iframe=true&post_id=0', false);
|
2275 |
+
|
2276 |
+
if( pp_upload_image_button_funct == false )
|
2277 |
+
pp_upload_image_button_funct = window.send_to_editor;
|
2278 |
+
|
2279 |
+
window.send_to_editor = function(html)
|
2280 |
+
{
|
2281 |
+
url = jQuery('img', html).attr('src');
|
2282 |
+
jQuery('#powerpress_itunes_image_'+g_powerpress_last_selected_channel).val( url );
|
2283 |
+
g_powerpress_last_selected_channel = '';
|
2284 |
+
tb_remove();
|
2285 |
+
window.send_to_editor = pp_upload_image_button_funct;
|
2286 |
+
pp_upload_image_button_funct = false;
|
2287 |
}
|
2288 |
return false;
|
2289 |
});
|
2290 |
+
jQuery('#insert-media-button').click( function(e) {
|
2291 |
+
if( pp_upload_image_button_funct != false )
|
2292 |
+
{
|
2293 |
+
window.send_to_editor = pp_upload_image_button_funct;
|
2294 |
+
pp_upload_image_button_funct = false;
|
2295 |
+
}
|
2296 |
+
});
|
2297 |
jQuery('.powerpress-embed').change( function() {
|
2298 |
// if there is a value in the embed box, but there is no value in the url box, then we need to display a warning...
|
2299 |
var FeedSlug = this.id.replace(/(powerpress_embed_)(.*)$/, "$2");
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: amandato, blubrry
|
3 |
Tags: podcasting, podcast, podcaster, itunes, enclosure, zune, iphone, youtube, viddler, blip.tv, ustream, podcasting, audio, video, rss2, feed, player, media, rss, mp3, music, embed, feedburner, statistics, stats, flv, flash, id3, episodes, blubrry, webm, mp4, m4v, wordpressmu, mu, wordpress mu, multisite, multi site, mediacaster, post, plugin, posts, simple, social, dashboard, TSG, Buzzsprout, MTR, WP-boxCast, CastMyBlog, simple podcasting, seriously simple podcasting, seriously-simple-podcasting, podlove, podcast.de
|
4 |
Requires at least: 3.0
|
5 |
-
Tested up to: 3.6
|
6 |
-
Stable tag: 5.0.
|
7 |
Donate link: http://create.blubrry.com/
|
8 |
License: GPLv2 or later
|
9 |
|
@@ -172,6 +172,17 @@ To install Blubrry PowerPress manually, follow these steps:
|
|
172 |
* PowerPress 6.0+ will no longer be compatible with WordPress 3.0.x, 3.1.x and 3.2.x. Please upgrade to WordPress 3.3 or newer to install future versions of PowerPress.
|
173 |
* Translation support will change in PowerPress 6.0+. Translations will be packaged in a sepraate plugin made available on WordPress.org. This will allow us to release translations separately and more often.
|
174 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
= 5.0.1 =
|
176 |
* Released on 08/30/2013
|
177 |
* Removed debug alert box from PowerPress mejs file, only occurred in IE and Safari browsers
|
2 |
Contributors: amandato, blubrry
|
3 |
Tags: podcasting, podcast, podcaster, itunes, enclosure, zune, iphone, youtube, viddler, blip.tv, ustream, podcasting, audio, video, rss2, feed, player, media, rss, mp3, music, embed, feedburner, statistics, stats, flv, flash, id3, episodes, blubrry, webm, mp4, m4v, wordpressmu, mu, wordpress mu, multisite, multi site, mediacaster, post, plugin, posts, simple, social, dashboard, TSG, Buzzsprout, MTR, WP-boxCast, CastMyBlog, simple podcasting, seriously simple podcasting, seriously-simple-podcasting, podlove, podcast.de
|
4 |
Requires at least: 3.0
|
5 |
+
Tested up to: 3.6.1
|
6 |
+
Stable tag: 5.0.2
|
7 |
Donate link: http://create.blubrry.com/
|
8 |
License: GPLv2 or later
|
9 |
|
172 |
* PowerPress 6.0+ will no longer be compatible with WordPress 3.0.x, 3.1.x and 3.2.x. Please upgrade to WordPress 3.3 or newer to install future versions of PowerPress.
|
173 |
* Translation support will change in PowerPress 6.0+. Translations will be packaged in a sepraate plugin made available on WordPress.org. This will allow us to release translations separately and more often.
|
174 |
|
175 |
+
= 5.0.2 =
|
176 |
+
* Released on 09/23/2013
|
177 |
+
* Fixed another bug with *Feed Episode Maximizer* RSS <description> having the invalid characters when used with WordPRess 3.6. Added function `powerpress_get_the_excerpt_rss()` to permanently fix issue.
|
178 |
+
* Removed `PHP_EOL` from powerpress-player.php where the player links are added to the post content. This should solve the issue where some themes or plugins replace new line characters with actual `<br/>` tags. (Thanks Nathan for the fix!)
|
179 |
+
* Option to remove statistics from Dashboard has been re-added. 5.0/5.0.1 removed the option which was automatically disabling statistics in dashboard. Our mistake!
|
180 |
+
* Fixed bug with embed link no longer appearing when using FlowPlayerClassic audio player. (thanks cimmerian for bringing to our attention!)
|
181 |
+
* Fixed bug with Taxonomy podcasting program level attributes (description, itunes subtitle) not getting applied to taxonomy feed correctly (Thanks Matt for bringing to our attention!)
|
182 |
+
* Fixed bug with file size and duratoin checkbox setting in General Settings not saving correctly (Thanks Bridge Maker for letting us know about the bug!)
|
183 |
+
* Added image uploader option to both the episode entry box poster image and new itunes image fields. This version will not cause issues with the media upload button if a user cancels the image upload.
|
184 |
+
|
185 |
+
|
186 |
= 5.0.1 =
|
187 |
* Released on 08/30/2013
|
188 |
* Removed debug alert box from PowerPress mejs file, only occurred in IE and Safari browsers
|