Skip to content

Commit

Permalink
remove todo text
Browse files Browse the repository at this point in the history
  • Loading branch information
Alameen688 committed Dec 26, 2024
1 parent c59410b commit 2969577
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions projects/plugins/jetpack/modules/wordads/class-wordads.php
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,6 @@ public function get_ad_snippet( $section_id, $height, $width, $location = '', $c
$form_factor = 'leaderboard';
}

// TODO: Still investigating required change. Potentially update with respect with what get_ad_div on WPCOM for gutenberg
return $this->get_dynamic_ad_snippet( $section_id, $form_factor, $location );
}

Expand All @@ -790,7 +789,6 @@ public function get_dynamic_ad_snippet( $section_id, $form_factor = 'square', $l
$is_location_enabled = isset( $_GET['wordads-logging'] ) && isset( $_GET[ $location ] ) && 'true' === $_GET[ $location ];

if ( ( 'top' === $location || 'belowpost' === $location ) && $is_location_enabled ) {
// TODO: Confirm if it's best here or there is a way to get it via the adflow config endpoint
return self::get_watl_ad_html_tag( $location );
}

Expand Down

0 comments on commit 2969577

Please sign in to comment.