CARVIEW |
Select Language
HTTP/2 200
server: nginx
date: Thu, 24 Jul 2025 16:34:37 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/class-wp-theme-json-schema.php | Developer.WordPress.org
File: wp-includes/class-wp-theme-json-schema.php
-
Migrates from v2 to v3.
-
classWP_Theme_JSON_Schema
Class that migrates a given theme.json structure to the latest schema.
-
Function that migrates a given theme.json structure to the last version.
-
Removes the custom prefixes for a few properties that were part of v1:
-
Processes the settings subtree.
-
Processes a settings array, renaming or moving properties.
-
Removes a property from within the provided settings by its path.