Skip to content

Commit

Permalink
Merge pull request #8 from sharethis-github/PP-3103-fix-echo
Browse files Browse the repository at this point in the history
fix: PP-3101 Add USERGUIDE.pdf and don't use echo
  • Loading branch information
weaver-sharethis authored Jul 22, 2022
2 parents 917f87c + 6a00c49 commit fc219f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions Block/Head.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,8 @@ public function printScript()
if (true === empty($propertyId)) {
return;
}

// @codingStandardsIgnoreStart
echo <<<SCRIPT
<script src="//platform-api.sharethis.com/js/sharethis.js?ver=1.5.7#property=$propertyId"></script>
SCRIPT;
// @codingStandardsIgnoreEnd
?>
<script src="//platform-api.sharethis.com/js/sharethis.js?ver=1.5.7#property=<?= $propertyId; ?>"></script>
<?php
}
}
Binary file added USERGUIDE.pdf
Binary file not shown.

0 comments on commit fc219f8

Please sign in to comment.