From cd10122d79e7b2010ba3eb9dcf7574952cf9cf6a Mon Sep 17 00:00:00 2001 From: Kirtan Gajjar <8456197+kirtangajjar@users.noreply.github.com> Date: Sun, 9 Jun 2024 05:21:47 +0530 Subject: [PATCH 1/4] Fix podcast title --- includes/customize-feed.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/includes/customize-feed.php b/includes/customize-feed.php index 7d022a0f..a846723b 100644 --- a/includes/customize-feed.php +++ b/includes/customize-feed.php @@ -42,16 +42,8 @@ function bloginfo_rss_name( $output ) { if ( ! $term ) { return $output; } - $title = get_term_meta( $term->term_id, 'podcasting_title', true ); - if ( empty( $title ) ) { - $title = get_bloginfo( 'name' ); - $output = "$title » {$term->name}"; - } else { - $output = $title; - } return apply_filters( 'simple_podcasting_feed_title', $output, $term ); - } add_filter( 'wp_title_rss', __NAMESPACE__ . '\bloginfo_rss_name' ); From 6ecadf82827f1a65d3da6e534bba649fbe8b15a5 Mon Sep 17 00:00:00 2001 From: Kirtan Gajjar <8456197+kirtangajjar@users.noreply.github.com> Date: Sun, 9 Jun 2024 06:05:25 +0530 Subject: [PATCH 2/4] Fix tests --- tests/unit/test-customize-feed.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/unit/test-customize-feed.php b/tests/unit/test-customize-feed.php index 6ed87866..33223014 100644 --- a/tests/unit/test-customize-feed.php +++ b/tests/unit/test-customize-feed.php @@ -187,10 +187,10 @@ public function test_rss_title_can_be_filtered() { \WP_Mock::userFunction( 'get_bloginfo' ) ->with( 'name' ) ->andReturn( 'Blogname' ); - + \WP_Mock::onFilter( 'simple_podcasting_feed_title' ) - ->with( 'Blogname » Original Podcast Name', $queried_object ) + ->with( 'Podcast Title', $queried_object ) ->reply( 'Filtered Podcast Title' ); $this->assertEquals( @@ -198,7 +198,7 @@ public function test_rss_title_can_be_filtered() { tenup_podcasting\bloginfo_rss_name( 'Podcast Title' ), 'tenup_podcasting\bloginfo_rss_name() should return the filtered value.' ); - + } public function data_provider_for_test_feed_item() { From e0bd15a22e51006cde23dab67f8a345a403cb27f Mon Sep 17 00:00:00 2001 From: faisal-alvi Date: Fri, 1 Nov 2024 17:49:57 +0530 Subject: [PATCH 3/4] just trying to trigger readme upload to org in order to show tested upto 6.6, currently showing 6.4 --- readme.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index ab4accba..316ef2d4 100644 --- a/readme.txt +++ b/readme.txt @@ -50,7 +50,7 @@ Repeat for each podcast you would like to create. === Submit your podcast feed to Pocket Casts * Validate your feeds at [https://www.castfeedvalidator.com/ Cast Feed Validator] before submitting them. -* Submit the podcast feed to https://pocketcasts.com/submit/ +* Submit the podcast feed to https://pocketcasts.com/submit/. === How do I get my podcast featured on Pocket Casts? From 43270534b50ad6506ed183440c8cda59001b9009 Mon Sep 17 00:00:00 2001 From: Jeffrey Paul Date: Thu, 7 Nov 2024 14:48:26 -0600 Subject: [PATCH 4/4] bump WordPress "tested up to" 6.7 --- readme.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/readme.txt b/readme.txt index 316ef2d4..a2c6af3c 100644 --- a/readme.txt +++ b/readme.txt @@ -1,7 +1,8 @@ === Simple Podcasting === Contributors: 10up, helen, adamsilverstein, jakemgold, jeffpaul, cadic Tags: podcasting, podcast, apple podcasts, episode, season -Tested up to: 6.6 +Requires at least: 6.5 +Tested up to: 6.7 Stable tag: 1.8.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html