mirror of
https://github.com/mainwp/mainwp-child.git
synced 2025-09-05 09:19:53 +08:00
fix php notice
This commit is contained in:
parent
86e6181169
commit
72ff2827b4
1 changed files with 1 additions and 1 deletions
|
@ -1296,7 +1296,7 @@ class MainWP_Child_Server_Information {
|
|||
}
|
||||
|
||||
protected static function getCompleteURL() {
|
||||
echo esc_html( $_SERVER['HTTP_REFERER'] );
|
||||
echo isset( $_SERVER['HTTP_REFERER'] ) ? esc_html( $_SERVER['HTTP_REFERER'] ) : '';
|
||||
}
|
||||
|
||||
protected static function getUserAgent() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue