Plugin Directory

Changeset 3438718


Ignore:
Timestamp:
01/13/2026 03:05:50 PM (5 weeks ago)
Author:
benbeecroft
Message:

PowerPress 11.15.10

Location:
powerpress/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • powerpress/trunk/powerpress.php

    r3435231 r3438718  
    44Plugin URI: https://blubrry.com/services/powerpress-plugin/
    55Description: <a href="https://blubrry.com/services/powerpress-plugin/" target="_blank">Blubrry PowerPress</a> is the No. 1 Podcasting plugin for WordPress. Developed by podcasters for podcasters; features include Simple and Advanced modes, multiple audio/video player options, subscribe to podcast tools, podcast SEO features, and more! Fully supports Apple Podcasts (previously iTunes), Google Podcasts, Spotify, and Blubrry Podcasting directories, as well as all podcast applications and clients.
    6 Version: 11.15.9
     6Version: 11.15.10
    77Author: Blubrry
    88Author URI: https://blubrry.com/
     
    135135
    136136// WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
    137 define('POWERPRESS_VERSION', '11.15.9' );
     137define('POWERPRESS_VERSION', '11.15.10' );
    138138
    139139// Translation support:
  • powerpress/trunk/powerpressadmin.php

    r3435231 r3438718  
    54735473function powerpress_process_hosting($post_id, $post_title)
    54745474{
    5475     $errors = [];
     5475    $error = false;
    54765476    $settings = get_option('powerpress_general');
    54775477    $creds = get_option('powerpress_creds');
     
    54945494    if (!empty($settings['posttype_podcasting'])) {
    54955495        $feed_slug_post_types_array = get_option('powerpress_posttype-podcasting');
    5496         foreach ($feed_slug_post_types_array as $feed_slug => $feed_value) {
     5496        foreach ($feed_slug_post_types_array as $feed_slug) {
    54975497            if (empty($custom_feeds[$feed_slug])) {
    54985498                $custom_feeds[$feed_slug] = $feed_slug;
     
    55075507    $api_url_array = powerpress_get_api_array();
    55085508
    5509     foreach ($custom_feeds as $feed_slug => $feed_value) {
     5509    foreach ($custom_feeds as $feed_slug) {
    55105510        $field = 'enclosure';
    55115511        if ($feed_slug != 'podcast') {
     
    55585558            $is_mp3 = ($enclosure_type == 'audio/mpg' || $enclosure_type == 'audio/mpeg');
    55595559            $skip_publish = false;
    5560             $enclosure_full_url = $enclosure_url;
    55615560            $enclosure_url = powerpress_extract_filename($enclosure_url);
    55625561
     
    58155814        // ===================================================
    58165815
    5817         $podcast_id = false;
     5816        // update podcast_id from publish results if available (takes precedence)
    58185817        if (!empty($results['podcast_id'])) {
    58195818            $episode_data['podcast_id'] = $results['podcast_id'];
    58205819            $podcast_id = $results['podcast_id'];
    5821         } else {
    5822             $postmeta = get_post_meta($post_id, $field, true);
    5823             if (!empty($postmeta['podcast_id'])) {
    5824                 $podcast_id = $postmeta['podcast_id'];
     5820        } else if (empty($podcast_id)) {
     5821            // fallback: try to get from saved postmeta if not already set from episode_data
     5822            // enclosure format: url\nsize\ntype\nserialized_data
     5823            $postmeta_raw = get_post_meta($post_id, $field, true);
     5824            if (!empty($postmeta_raw) && is_string($postmeta_raw)) {
     5825                $postmeta_parts = explode("\n", $postmeta_raw);
     5826                if (count($postmeta_parts) > 3) {
     5827                    $postmeta_data = @unserialize($postmeta_parts[3]);
     5828                    if (!empty($postmeta_data['podcast_id'])) {
     5829                        $podcast_id = $postmeta_data['podcast_id'];
     5830                    }
     5831                }
    58255832            }
    58265833        }
  • powerpress/trunk/readme.txt

    r3435231 r3438718  
    55Requires PHP: 5.2
    66Tested up to: 6.9
    7 Stable tag: 11.15.9
     7Stable tag: 11.15.10
    88Donate link: https://blubrry.com/services/podcast-hosting/
    99License: GPLv2 or later
     
    165165
    166166== Changelog ==
     167= 11.15.10 =
     168* Released on 1/9/26
     169* Bugfix: Variable incorrectly reset on title save, fixed fallback
     170
    167171= 11.15.9 =
    168172* Released on 1/7/26
  • powerpress/trunk/version.txt

    r3435231 r3438718  
    1 11.15.9
     111.15.10
Note: See TracChangeset for help on using the changeset viewer.