Skip to content

Commit

Permalink
Merge pull request #1251 from greenpeace/planet-5773
Browse files Browse the repository at this point in the history
PLANET-5773: CSL iframe not loading on posts
  • Loading branch information
lithrel authored Dec 7, 2020
2 parents a4bc7b7 + 91faf25 commit d6a4439
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/MasterSite.php
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,9 @@ public function set_custom_allowed_attributes_filter( $allowedposttags ) {
];

$allowedposttags['script'] = [
'src' => true,
'src' => true,
'id' => true,
'data-*' => true,
];

// Allow source tag for WordPress audio shortcode to function.
Expand Down

0 comments on commit d6a4439

Please sign in to comment.