5.9.0 | Developer.WordPress.org (original) (raw)
- Build an array with CSS classes and inline styles defining the colors which will be applied to the navigation markup in the front-end.
- Parses hex, hsl, and rgb CSS strings using the same regex as TinyColor v1.4.2 used in the JavaScript. Only colors output from react-color are implemented.
- Returns the CSS filter property url to reference the rendered SVG.
- Direct port of tinycolor’s boundAlpha function to maintain consistency with how tinycolor works.
- Checks whether serialization of the current block’s spacing properties should occur.
- Renders the duotone filter SVG and returns the CSS filter property to reference the rendered SVG.
- Checks whether serialization of the current block’s dimensions properties should occur.
- Filters default arguments for the Languages select input on the login screen.
- Filters whether to display the Language selector on the login screen.
- Returns the url for viewing and potentially restoring revisions of a given post.
- Gets the settings resulting of merging core, theme, and user data.
- Gets the styles resulting of merging core, theme, and user data.
- Returns the stylesheet resulting of merging core, theme, and user data.
- Register `Featured` (category) patterns from wordpress.org/patterns.
- Processes a settings array, renaming or moving properties.
- Removes a property from within the provided settings by its path.
- 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.
- Returns the custom post type that contains the user’s origin config for the active theme or an empty array if none are found.
- Returns the user’s origin config.
- Returns the ID of the custom post type that stores user data.
- Exposes the site icon through the WordPress REST API.
- Exposes an image through the WordPress REST API.
- Looks for “lost” widgets once per request.
- Checks if a sidebar can be read publicly.