FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
wordpress-https/view/ajax_message.php at master · ashucg/wordpress-https · GitHub
ashucg
/
wordpress-https
Public
forked from
mvied/wordpress-https
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
wordpress-https
/
view
/
ajax_message.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
19 lines (19 loc) · 680 Bytes
Breadcrumbs
wordpress-https
/
view
/
ajax_message.php
Copy path
File metadata and controls
19 lines (19 loc) · 680 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
if
( !
defined
(
'
ABSPATH
'
) )
exit
;
if
(
isset
(
$
_SERVER
[
'
HTTP_X_REQUESTED_WITH
'
]) &&
strtolower
(
$
_SERVER
[
'
HTTP_X_REQUESTED_WITH
'
]) ===
'
xmlhttprequest
'
) {
error_reporting
(
0
);
while
(@
ob_end_clean
());
if
(
sizeof
(
$
errors
) >
0
) {
echo
"
<div class=
\"
error below-h2 fade wphttps-message
\"
id=
\"
message
\"
>
\n\t
<ul>
\n"
;
foreach
(
$
errors
as
$
error
) {
echo
"\t\t
<li><p>
"
.
$
error
.
"
</p></li>
\n"
;
}
echo
"\t
</ul>
\n
</div>
\n"
;
}
else
{
echo
"
<div class=
\"
updated below-h2 fade wphttps-message
\"
id=
\"
message
\"
><p>
"
.
$
message
.
"
</p></div>
\n"
;
if
(
$
logout
||
$
reload
) {
echo
"
<script type=
\"
text/javascript
\"
>window.location.reload();</script>
"
;
}
}
exit
();
}
Back
|
FazBrowse Home
|
New Git URL