Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
FSI WordPress
FSI WordPress Theme V2
Commits
ec9a098d
Commit
ec9a098d
authored
Nov 08, 2016
by
Michael Ochmann
Browse files
try to stop escaping
parent
1970e5f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
classes/Backend.php
View file @
ec9a098d
...
...
@@ -59,7 +59,7 @@ class Backend {
private
function
handlePostData
()
{
if
(
!
wp_verify_nonce
(
$_POST
[
"optionsNonce"
],
"saveOptions"
))
return
;
$notice
=
$_POST
[
"fsi-notice"
][
"text"
];
$notice
=
stripslashes
(
$_POST
[
"fsi-notice"
][
"text"
]
)
;
$display
=
$_POST
[
"fsi-notice"
][
"display"
];
$display
=
$display
==
null
?
0
:
$display
;
$ratText
=
strip_tags
(
$_POST
[
"fsi-rat-desc"
],
"<a>"
);
...
...
@@ -74,4 +74,4 @@ class Backend {
update_option
(
"fsi-social"
,
$social
);
update_option
(
"fsi-newstudents-link"
,
$newbies
);
}
}
\ No newline at end of file
}
Write
Preview
Supports
Markdown
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