CARVIEW |
Select Language
HTTP/2 200
server: nginx
date: Thu, 24 Jul 2025 23:03:44 GMT
content-type: text/html; charset=UTF-8
vary: Accept-Encoding
x-olaf: ⛄
link: ; rel="https://api.w.org/"
link: ; rel="alternate"; title="JSON"; type="application/json"
x-frame-options: SAMEORIGIN
content-encoding: gzip
alt-svc: h3=":443"; ma=86400
x-nc: MISS ord 2
wp-includes/https-migration.php | Developer.WordPress.org
File: wp-includes/https-migration.php
-
Checks whether WordPress should replace old HTTP URLs to the site with their HTTPS counterpart.
-
Filters whether WordPress should replace old HTTP URLs to the site with their HTTPS counterpart.
-
functionwp_replace_insecure_home_url()
Replaces insecure HTTP URLs to the site in the given content, if configured to do so.
-
functionwp_update_urls_to_https()
Update the ‘home’ and ‘siteurl’ option to use the HTTPS variant of their URL.
-
Updates the ‘https_migration_required’ option if needed when the given URL has been updated from HTTP to HTTPS.