Skip to content

Commit 1c20243

Browse files
Add since annotations for new minWidth support in theme.json class
1 parent f27e7f1 commit 1c20243

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/wp-includes/class-wp-theme-json.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ class WP_Theme_JSON {
248248
* @since 6.7.0 Added `background-attachment` property.
249249
* @since 7.0.0 Added `dimensions.width` and `dimensions.height`.
250250
* Added `text-indent` property.
251+
* @since 7.1.0 Added `min-width` property.
251252
* @var array
252253
*/
253254
const PROPERTIES_METADATA = array(
@@ -413,6 +414,7 @@ class WP_Theme_JSON {
413414
* @since 7.0.0 Added type markers to the schema for boolean values.
414415
* Added support for `dimensions.width` and `dimensions.height`.
415416
* Added support for `typography.textIndent`.
417+
* @since 7.1.0 Added support for `dimensions.minWidth`.
416418
* @var array
417419
*/
418420
const VALID_SETTINGS = array(
@@ -551,6 +553,7 @@ class WP_Theme_JSON {
551553
* @since 6.5.0 Added support for `dimensions.aspectRatio`.
552554
* @since 6.6.0 Added `background` sub properties to top-level only.
553555
* @since 7.0.0 Added support for `dimensions.width` and `dimensions.height`.
556+
* @since 7.1.0 Added support for `dimensions.minWidth`.
554557
* @var array
555558
*/
556559
const VALID_STYLES = array(
@@ -794,6 +797,7 @@ public static function get_element_class_name( $element ) {
794797
* @since 6.4.0 Added `background.backgroundImage`.
795798
* @since 6.5.0 Added `background.backgroundSize` and `dimensions.aspectRatio`.
796799
* @since 7.0.0 Added `dimensions.width` and `dimensions.height`.
800+
* @since 7.1.0 Added `dimensions.minWidth`.
797801
* @var array
798802
*/
799803
const APPEARANCE_TOOLS_OPT_INS = array(

0 commit comments

Comments
 (0)