Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp-includes/https-migration.php ›

Funktionen4
HTTPS migration functions.


Funktion Kurzbeschreibung
wp_replace_insecure_home_urlReplaces insecure HTTP URLs to the site in the given content, if configured to do so.
wp_should_replace_insecure_home_urlChecks whether WordPress should replace old HTTP URLs to the site with their HTTPS counterpart.
wp_update_https_migration_requiredUpdates the 'https_migration_required' option if needed when the given URL has been updated from HTTP to HTTPS.
wp_update_urls_to_httpsUpdate the 'home' and 'siteurl' option to use the HTTPS variant of their URL.