We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c5e9e0 commit bda320aCopy full SHA for bda320a
tests/phpunit/tests/general/feedLinksExtra.php
@@ -645,4 +645,19 @@ public function test_feed_links_extra_should_work_fail_if_global_post_empty() {
645
646
$this->assertNotEmpty( get_echo( 'feed_links_extra' ) );
647
}
648
+
649
+ /**
650
+ * @ticket 63263
651
+ */
652
+ public function test_feed_links_extra_handles_custom_post_type() {
653
+ $post_id = self::factory()->post->create(
654
+ array(
655
+ 'post_type' => self::$post_with_cpt_id,
656
+ 'post_title' => 'Test post for custom post type feed links extra',
657
+ )
658
+ );
659
660
+ $this->go_to( get_permalink( $post_id ) );
661
+ $this->assertNotEmpty( get_echo( 'feed_links_extra' ) );
662
+ }
663
0 commit comments