diff --git a/lib/class-wp-theme-json-gutenberg.php b/lib/class-wp-theme-json-gutenberg.php index 4d688bb5b8b83c..4a6e44b9f74a25 100644 --- a/lib/class-wp-theme-json-gutenberg.php +++ b/lib/class-wp-theme-json-gutenberg.php @@ -545,7 +545,7 @@ public static function get_element_class_name( $element ) { * Options that settings.appearanceTools enables. * * @since 6.0.0 - * @since 6.2.0 Added `position.fixed` and `position.sticky`. + * @since 6.2.0 Added `dimensions.minHeight` and `position.sticky`. * @var array */ const APPEARANCE_TOOLS_OPT_INS = array( @@ -555,7 +555,12 @@ public static function get_element_class_name( $element ) { array( 'border', 'width' ), array( 'color', 'link' ), array( 'dimensions', 'minHeight' ), + // BEGIN EXPERIMENTAL. + // Allow `position.fixed` to be opted-in by default. + // Sticky position support was backported to WordPress 6.2 in https://core.trac.wordpress.org/ticket/57618. + // While `fixed` was included as a valid setting, exposing it by default is still experimental. array( 'position', 'fixed' ), + // END EXPERIMENTAL. array( 'position', 'sticky' ), array( 'spacing', 'blockGap' ), array( 'spacing', 'margin' ),