diff --git tests/phpunit/tests/link/getAdjacentPostLink.php tests/phpunit/tests/link/getAdjacentPostLink.php
index acaec39..e69ee9e 100644
--- tests/phpunit/tests/link/getAdjacentPostLink.php
+++ tests/phpunit/tests/link/getAdjacentPostLink.php
@@ -94,4 +94,42 @@ class Tests_Link_GetAdjacentPostLink extends WP_UnitTestCase {
 		$expected = '&laquo; <a href="' . home_url( '?p=' . $this->post_ids[3] ) . '" rel="prev">' . $title . '</a>';
 		$this->assertSame( $expected, $actual );
 	}
+
+	/**
+	 * @ticket 43689
+	 */
+	public function test_get_next_post_link_same_term_custom_taxonomy_cpt() {
+		register_post_type( 'wp_tests_cpt_same_ct', array() );
+		register_taxonomy( 'wp_tests_ct', array( 'wp_tests_cpt_same_ct' ) );
+
+		$p1 = $this->factory->post->create( array(
+			'post_type'   => 'wp_tests_cpt_same_ct',
+			'post_date'   => '2018-04-08 01:00:00',
+			'post_status' => 'publish',
+		) );
+
+		$p2 = $this->factory->post->create( array(
+			'post_type'   => 'wp_tests_cpt_same_ct',
+			'post_date'   => '2018-04-08 02:00:00',
+			'post_status' => 'publish',
+		) );
+
+		$p3 = $this->factory->post->create( array(
+			'post_type'   => 'wp_tests_cpt_same_ct',
+			'post_date'   => '2018-04-08 03:00:00',
+			'post_status' => 'publish',
+		) );
+
+		wp_set_object_terms( $p1, array( 'developer' ), 'wp_tests_ct' );
+		wp_set_object_terms( $p2, array( 'designer' ), 'wp_tests_ct' );
+		wp_set_object_terms( $p3, array( 'developer' ), 'wp_tests_ct' );
+
+		$GLOBALS['post'] = get_post( $p1 );
+
+		$actual = get_next_post_link( '&laquo; %link', '%title', true, array(), 'wp_tests_ct' );
+
+		$title    = get_post( $p3 )->post_title;
+		$expected = '&laquo; <a href="' . get_permalink( $p3 ) . '" rel="next">' . $title . '</a>';
+		$this->assertSame( $expected, $actual );
+	}
 }
