Changeset 57889
- Timestamp:
- 03/28/2024 08:24:19 AM (4 months ago)
- Location:
- branches/6.5
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.5
-
branches/6.5/src/wp-includes/class-wp-theme-json-resolver.php
r57260 r57889 312 312 } 313 313 $theme_support_data['settings']['color']['defaultGradients'] = $default_gradients; 314 315 316 317 318 319 320 321 322 323 324 314 325 315 326 // Allow themes to enable link color setting via theme_support. -
branches/6.5/src/wp-includes/class-wp-theme-json.php
r57751 r57889 659 659 * @since 6.2.0 Added `dimensions.minHeight` and `position.sticky`. 660 660 * @since 6.4.0 Added `background.backgroundImage`. 661 * @since 6.5.0 Added `background.backgroundSize` , `dimensions.aspectRatio`, and `shadow.defaultPresets`.661 * @since 6.5.0 Added `background.backgroundSize``. 662 662 * @var array 663 663 */ … … 680 680 array( 'spacing', 'padding' ), 681 681 array( 'typography', 'lineHeight' ), 682 array( 'shadow', 'defaultPresets' ),683 682 ); 684 683 -
branches/6.5/src/wp-includes/theme.json
r57828 r57889 192 192 }, 193 193 "shadow": { 194 "defaultPresets": false,194 "defaultPresets": e, 195 195 "presets": [ 196 196 { -
branches/6.5/tests/phpunit/data/themedir1/block-theme/theme.json
r57662 r57889 49 49 "padding": true, 50 50 "blockGap": true 51 52 53 54 55 56 57 58 59 60 61 62 63 64 51 65 }, 52 66 "blocks": { -
branches/6.5/tests/phpunit/tests/theme/wpThemeJson.php
r57717 r57889 294 294 'lineHeight' => true, 295 295 ), 296 'shadow' => array(297 'defaultPresets' => true,298 ),299 296 'blocks' => array( 300 297 'core/paragraph' => array( … … 334 331 'typography' => array( 335 332 'lineHeight' => false, 336 ),337 'shadow' => array(338 'defaultPresets' => true,339 333 ), 340 334 ), -
branches/6.5/tests/phpunit/tests/theme/wpThemeJsonResolver.php
r57662 r57889 202 202 'blockGap' => true, 203 203 ), 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 204 220 'blocks' => array( 205 221 'core/paragraph' => array( … … 556 572 'slug' => 'custom', 557 573 'size' => '100px', 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 558 590 ), 559 591 ), … … 1071 1103 ); 1072 1104 } 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1073 1179 }
Note: See TracChangeset
for help on using the changeset viewer.