mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 07:07:04 +00:00
Notice fixes see #7509 props DD32 and jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8944 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -494,7 +494,7 @@ function prep_atom_text_construct($data) {
|
||||
*/
|
||||
function self_link() {
|
||||
echo 'http'
|
||||
. ( $_SERVER['https'] == 'on' ? 's' : '' ) . '://'
|
||||
. ( (isset($_SERVER['https']) && $_SERVER['https'] == 'on') ? 's' : '' ) . '://'
|
||||
. $_SERVER['HTTP_HOST']
|
||||
. wp_specialchars(stripslashes($_SERVER['REQUEST_URI']), 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user