Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Danny Froberg
steempress_amn
Commits
45260b34
Commit
45260b34
authored
Oct 10, 2018
by
Martin Lees
Browse files
Removal of the sandboxed iframe as it was useless
parent
a5e93c6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/class-steempress_sp-public.php
View file @
45260b34
...
...
@@ -128,7 +128,7 @@ class Steempress_sp_Public {
$data
.
=
"<div name=
\"
steempress_sp_tag
\"
style=
\"
display: none;
\"
>"
.
$tag
.
"</div>"
;
if
(
is_front_page
())
$steempress
=
"<iframe sandbox='allow-popups allow-scripts allow-same-origin' src=
\"
http://localhost:8002/?tag="
.
$tag
.
"&author="
.
$username
.
"&permlink="
.
$permlink
.
"&display_comment=false
\"
style=
\"
border: 0; width: 100%; height: 83px;
\"
></iframe>"
;
$steempress
=
"<iframe sandbox='allow-popups allow-scripts allow-same-origin
' src=
\"
http://localhost:8002/?tag="
.
$tag
.
"&author="
.
$username
.
"&permlink="
.
$permlink
.
"&display_comment=false
\"
style=
\"
border: 0; width: 100%; height: 83px;
\"
></iframe>"
;
else
$steempress
=
"<iframe sandbox='allow-popups allow-scripts allow-same-origin' src=
\"
http://localhost:8002/?tag="
.
$tag
.
"&author="
.
$username
.
"&permlink="
.
$permlink
.
"&display_comment=true
\"
style=
\"
border: 0; width: 100%; height: 500px
\"
></iframe>"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment