Title: Odin Kroeger's Replies | WordPress.org

---

# Odin Kroeger

  [  ](https://wordpress.org/support/users/odkr/)

 *   [Profile](https://wordpress.org/support/users/odkr/)
 *   [Topics Started](https://wordpress.org/support/users/odkr/topics/)
 *   [Replies Created](https://wordpress.org/support/users/odkr/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/odkr/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/odkr/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/odkr/engagements/)
 *   [Favorites](https://wordpress.org/support/users/odkr/favorites/)

 Search replies:

## Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Seriously Simple Podcasting] An Issue with PolyLang and multi language content](https://wordpress.org/support/topic/an-issue-with-polylang-and-multi-language-content/)
 *  [Odin Kroeger](https://wordpress.org/support/users/odkr/)
 * (@odkr)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/an-issue-with-polylang-and-multi-language-content/#post-18361741)
 * Thanks a lot! I’ve switched jobs in the meantime, but will forward it to my former
   colleagues!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Seriously Simple Podcasting] SSP 3.4 w/ Polylang 3.6.3 – Podcasts feeds in non-default language are 302-ed](https://wordpress.org/support/topic/ssp-3-4-w-polylang-3-6-3-podcasts-feeds-in-non-default-language-are-302-ed/)
 *  Thread Starter [Odin Kroeger](https://wordpress.org/support/users/odkr/)
 * (@odkr)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/ssp-3-4-w-polylang-3-6-3-podcasts-feeds-in-non-default-language-are-302-ed/#post-18253376)
 * I can reproduce the issue w/ v3.8
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Seriously Simple Podcasting] SSP 3.4 w/ Polylang 3.6.3 – Podcasts feeds in non-default language are 302-ed](https://wordpress.org/support/topic/ssp-3-4-w-polylang-3-6-3-podcasts-feeds-in-non-default-language-are-302-ed/)
 *  Thread Starter [Odin Kroeger](https://wordpress.org/support/users/odkr/)
 * (@odkr)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/ssp-3-4-w-polylang-3-6-3-podcasts-feeds-in-non-default-language-are-302-ed/#post-18240552)
 * Happy new year! Just checking in again, any updates on this? I can reproduce 
   the issue w/ v.3.7.1.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Seriously Simple Podcasting] SSP 3.4 w/ Polylang 3.6.3 – Podcasts feeds in non-default language are 302-ed](https://wordpress.org/support/topic/ssp-3-4-w-polylang-3-6-3-podcasts-feeds-in-non-default-language-are-302-ed/)
 *  Thread Starter [Odin Kroeger](https://wordpress.org/support/users/odkr/)
 * (@odkr)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/ssp-3-4-w-polylang-3-6-3-podcasts-feeds-in-non-default-language-are-302-ed/#post-18047216)
 * Hey, I just thought I’d check in. Is there any progress on the issue or anything
   we could do to help?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Seriously Simple Podcasting] SSP 3.4 w/ Polylang 3.6.3 – Podcasts feeds in non-default language are 302-ed](https://wordpress.org/support/topic/ssp-3-4-w-polylang-3-6-3-podcasts-feeds-in-non-default-language-are-302-ed/)
 *  Thread Starter [Odin Kroeger](https://wordpress.org/support/users/odkr/)
 * (@odkr)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/ssp-3-4-w-polylang-3-6-3-podcasts-feeds-in-non-default-language-are-302-ed/#post-17966102)
 * Thanks a lot! I can give you access to our testing system, if that helps. If 
   there’s anything we can do to help you find the issue, let us know.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Seriously Simple Podcasting] SSP 3.4 w/ Polylang 3.6.3 – Podcasts feeds in non-default language are 302-ed](https://wordpress.org/support/topic/ssp-3-4-w-polylang-3-6-3-podcasts-feeds-in-non-default-language-are-302-ed/)
 *  Thread Starter [Odin Kroeger](https://wordpress.org/support/users/odkr/)
 * (@odkr)
 * [1 year, 12 months ago](https://wordpress.org/support/topic/ssp-3-4-w-polylang-3-6-3-podcasts-feeds-in-non-default-language-are-302-ed/#post-17952364)
 * I did a rollback to SSP 3.3.1, but the redirects persist. Thanks again for looking
   into this.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Seriously Simple Podcasting] SSP 3.4 w/ Polylang 3.6.3 – Podcasts feeds in non-default language are 302-ed](https://wordpress.org/support/topic/ssp-3-4-w-polylang-3-6-3-podcasts-feeds-in-non-default-language-are-302-ed/)
 *  Thread Starter [Odin Kroeger](https://wordpress.org/support/users/odkr/)
 * (@odkr)
 * [1 year, 12 months ago](https://wordpress.org/support/topic/ssp-3-4-w-polylang-3-6-3-podcasts-feeds-in-non-default-language-are-302-ed/#post-17950117)
 * Thank you for your swift reply; and please apologise my delayed one, I’ve been
   on vacation and will report back on how rolling back to to pre-v3.4.0 worked 
   as soon as I’m caught up on my emails.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Simple SMTP] `LogService::prune_logs` removes old posts from custom post type](https://wordpress.org/support/topic/logservice-prune_logs-removes-old-posts-from-custom-post-type/)
 *  Thread Starter [Odin Kroeger](https://wordpress.org/support/users/odkr/)
 * (@odkr)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/logservice-prune_logs-removes-old-posts-from-custom-post-type/#post-17788274)
 * Adding `$query->is_main_query()` to the conditions of the Audiothek “pre_get_posts”
   hook resolved the issue. Still, may I suggest adding a check for the post type
   to the main loop of `LogService::prune_logs`? I doubt I am the only one who is
   surprised that `$query->is_home()` holds true for cron jobs.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Seriously Simple Podcasting] Album image in Media Player for Custom Post Type with Custom Taxonomy](https://wordpress.org/support/topic/album-image-in-media-player-for-custom-post-type-with-custom-taxonomy/)
 *  Thread Starter [Odin Kroeger](https://wordpress.org/support/users/odkr/)
 * (@odkr)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/album-image-in-media-player-for-custom-post-type-with-custom-taxonomy/#post-16882900)
 * Thanks a lot!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Seriously Simple Podcasting] Album image in Media Player for Custom Post Type with Custom Taxonomy](https://wordpress.org/support/topic/album-image-in-media-player-for-custom-post-type-with-custom-taxonomy/)
 *  Thread Starter [Odin Kroeger](https://wordpress.org/support/users/odkr/)
 * (@odkr)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/album-image-in-media-player-for-custom-post-type-with-custom-taxonomy/#post-16848385)
 * Thanks a lot for the reply! And, as far as I am concerned, there is no need for
   another filter.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Seriously Simple Podcasting] Album image in Media Player for Custom Post Type with Custom Taxonomy](https://wordpress.org/support/topic/album-image-in-media-player-for-custom-post-type-with-custom-taxonomy/)
 *  Thread Starter [Odin Kroeger](https://wordpress.org/support/users/odkr/)
 * (@odkr)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/album-image-in-media-player-for-custom-post-type-with-custom-taxonomy/#post-16840067)
 * Investigating further, I found the `ssp_html_player_data` filter. My bad.
 * Just in case anybody else encounters a similar issue, this works for me:
 *     ```wp-block-code
       add_filter('ssp_html_player_data', function (array $data): array {
               $src = &$data['album_art']['src'];
               if (preg_match('/no-album-art\.png$/', $src)) {
                   try {
                       $episode = new CourseEpisode($data['episode']);
                   } catch (WrongPostTypeError $e) {
                       return $data;
                   }
   
                   $image_id = $episode->getImageID();
                   if ($image_id !== null) {
                       $image_src = wp_get_attachment_image_url($image_id);
                       if ($image_src !== false) {
                           $src = $image_src;
                       }
                   }
               }
   
               return $data;
           }, 10, 2);
       ```
   

Viewing 11 replies - 1 through 11 (of 11 total)