Skip to content

Commit a17d985

Browse files
committed
Minor tidying up bits
1 parent fef84d2 commit a17d985

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/Component/Post/BlockAttributes/BlockAttributes.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ public static function registerMarkerAttribute($args)
100100
public static function renderBlock($blockContent, $block)
101101
{
102102
// Skip adding marker if player UI is disabled
103-
// @todo should we be doing this?
104103
if (get_option(PlayerUI::OPTION_NAME) === PlayerUI::DISABLED) {
105104
return $blockContent;
106105
}

src/Core/ApiClient.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ public static function createAudio($postId)
8282
*
8383
* @since 3.0.0
8484
* @since 5.2.0 Make static.
85+
* @since 6.0.0 Add support for Magic Embed.
8586
*
8687
* @param int $postId WordPress Post ID
8788
*
@@ -111,6 +112,7 @@ public static function updateAudio($postId)
111112
*
112113
* @since 3.0.0
113114
* @since 5.2.0 Make static.
115+
* @since 6.0.0 Add support for Magic Embed.
114116
*
115117
* @param int $postId WordPress Post ID
116118
*

src/Core/Player/Renderer/Amp.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ public static function render(\WP_Post $post): string
6464
$projectId = PostMetaUtils::getProjectId($post->ID);
6565
$contentId = PostMetaUtils::getContentId($post->ID, true); // Fallback to Post ID if Content ID is not set
6666

67-
// @todo use Source Id for AMP?
6867
$src = sprintf(Environment::getAmpPlayerUrl(), $projectId, $contentId);
6968

7069
ob_start();

0 commit comments

Comments
 (0)