Changeset 54210
- Timestamp:
- 09/19/2022 07:49:47 PM (2 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-editor.php
r54162 r54210 429 429 if ( '' !== $actual_css ) { 430 430 $block_classes['css'] = $actual_css; 431 $global_styles[] = $block_classes;431 $global_styles[] = $block_classes; 432 432 } 433 433 } … … 494 494 495 495 if ( isset( $editor_settings['__experimentalFeatures']['spacing']['spacingSizes'] ) ) { 496 $spacing_sizes_by_origin = $editor_settings['__experimentalFeatures']['spacing']['spacingSizes'];496 $spacing_sizes_by_origin = $editor_settings['__experimentalFeatures']['spacing']['spacingSizes']; 497 497 $editor_settings['spacingSizes'] = isset( $spacing_sizes_by_origin['custom'] ) ? 498 498 $spacing_sizes_by_origin['custom'] : ( -
trunk/src/wp-includes/block-template-utils.php
r54184 r54210 553 553 554 554 $theme = $terms[0]->name; 555 $template_file = _get_block_template_file( $post->post_type, $post->post_name );555 $template_file = _get_block_template_file( $post->post_type, $post->post_name ); 556 556 $has_theme_file = wp_get_theme()->get_stylesheet() === $theme && null !== $template_file; 557 557 -
trunk/src/wp-includes/class-wp-block-type.php
r54158 r54210 348 348 } 349 349 350 $new_name = $name . '_handles';350 $new_name = $name . '_handles'; 351 351 $this->{$new_name}[0] = $value; 352 352 } -
trunk/src/wp-includes/class-wp-image-editor-gd.php
r54097 r54210 311 311 } 312 312 313 $this->size = $orig_size;313 $this->size = $orig_size; 314 314 $this->size_name = $orig_size_name; 315 315 -
trunk/src/wp-includes/cron.php
r54110 r54210 1128 1128 } 1129 1129 1130 $crons = _get_cron_array();1130 $crons = _get_cron_array(); 1131 1131 $gmt_time = microtime( true ); 1132 $results = array();1132 $results = array(); 1133 1133 1134 1134 foreach ( $crons as $timestamp => $cronhooks ) { -
trunk/src/wp-includes/l10n.php
r54199 r54210 1271 1271 1272 1272 $locale = determine_locale(); 1273 $path = $wp_textdomain_registry->get( $domain, $locale );1273 $path = $wp_textdomain_registry->get( $domain, $locale ); 1274 1274 if ( ! $path ) { 1275 1275 return false; -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php
r54155 r54210 257 257 } 258 258 259 $schema 259 $schema = $this->get_item_schema(); 260 260 // Fields deprecated in WordPress 6.1, but left in the schema for backwards compatibility. 261 261 $deprecated_fields = array( … … 689 689 'readonly' => true, 690 690 ), 691 'keywords' => $keywords_definition,692 'example' => $example_definition,691 'keywords' => $keywords_definition, 692 'example' => $example_definition, 693 693 ), 694 694 ); 695 695 696 696 // Properties deprecated in WordPress 6.1, but left in the schema for backwards compatibility. 697 $deprecated_properties = array(697 $deprecated_properties = array( 698 698 'editor_script' => array( 699 699 'description' => __( 'Editor script handle. DEPRECATED: Use `editor_script_handles` instead.' ),
Note: See TracChangeset
for help on using the changeset viewer.