Skip to content

Commit

Permalink
Add method version docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ajlende committed May 30, 2024
1 parent 410b003 commit e346f8f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/class-wp-theme-json-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,8 @@ public static function get_element_class_name( $element ) {
* Constructor.
*
* @since 5.8.0
* @since 6.6.0 Pre-generate the spacingSizes from spacingScale.
* @since 6.6.0 Key spacingScale by origin, and pre-generate the
* spacingSizes from spacingScale.
*
* @param array $theme_json A structure that follows the theme.json schema.
* @param string $origin Optional. What source of data this object represents.
Expand Down Expand Up @@ -3016,6 +3017,8 @@ protected static function get_metadata_boolean( $data, $path, $default_value = f
*
* @since 5.8.0
* @since 5.9.0 Duotone preset also has origins.
* @since 6.6.0 Use the spacingScale keyed by origin, and re-generate the
* spacingSizes from spacingScale.
*
* @param WP_Theme_JSON_Gutenberg $incoming Data to merge.
*/
Expand Down

0 comments on commit e346f8f

Please sign in to comment.