File tree Expand file tree Collapse file tree 3 files changed +2
-2
lines changed
Component/Post/BlockAttributes Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 *
Original file line number Diff line number Diff 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 ();
You can’t perform that action at this time.
0 commit comments