Changeset 58408
- Timestamp:
- 06/13/2024 03:04:50 PM (8 months ago)
- Location:
- trunk/src
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-debug-data.php
r58310 r58408 490 490 'debug' => 'loading...', 491 491 ), 492 'fonts_path' => array(492 'fonts_path' => array( 493 493 'label' => __( 'Fonts directory location' ), 494 494 'value' => wp_get_font_dir()['basedir'], 495 495 ), 496 'fonts_size' => array(496 'fonts_size' => array( 497 497 'label' => __( 'Fonts directory size' ), 498 498 'value' => $loading, -
trunk/src/wp-admin/includes/class-wp-site-health.php
r58338 r58408 1845 1845 size_format( 20 * MB_IN_BYTES ) 1846 1846 ); 1847 $result['status'] 1847 $result['status'] = 'critical'; 1848 1848 } elseif ( $available_space < 100 * MB_IN_BYTES ) { 1849 1849 $result['description'] = sprintf( … … 1852 1852 size_format( 100 * MB_IN_BYTES ) 1853 1853 ); 1854 $result['status'] 1854 $result['status'] = 'recommended'; 1855 1855 } 1856 1856 … … 2772 2772 'test' => 'available_updates_disk_space', 2773 2773 ), 2774 'autoloaded_options' => array(2774 'autoloaded_options' => array( 2775 2775 'label' => __( 'Autoloaded options' ), 2776 2776 'test' => 'autoloaded_options', -
trunk/src/wp-admin/themes.php
r58405 r58408 232 232 ), 233 233 'l10n' => array( 234 'addNew' 235 'search' 234 'addNew' => __( 'Add New Theme' ), 235 'search' => __( 'Search installed themes' ), 236 236 /* translators: %d: Number of themes. */ 237 'themesFound' 238 'noThemesFound' 237 'themesFound' => __( 'Number of Themes found: %d' ), 238 'noThemesFound' => __( 'No themes found. Try a different search.' ), 239 239 ), 240 240 ) -
trunk/src/wp-includes/block-supports/typography.php
r58314 r58408 559 559 560 560 // Fallback to global settings as default. 561 $global_settings 562 $settings 561 $global_settings = wp_get_global_settings(); 562 $settings = wp_parse_args( 563 563 $settings, 564 564 $global_settings -
trunk/src/wp-includes/blocks.php
r58356 r58408 1153 1153 } 1154 1154 1155 $attributes = array();1155 $attributes = array(); 1156 1156 $ignored_hooked_blocks = get_post_meta( $post->ID, '_wp_ignored_hooked_blocks', true ); 1157 1157 if ( ! empty( $ignored_hooked_blocks ) ) { … … 1585 1585 } else { 1586 1586 if ( ! empty( $blocks[ $i ]['innerBlocks'] ) ) { 1587 $prev_inner_content = $inner_content;1588 $inner_content = $blocks[ $i ]['innerContent'];1589 $blocks[ $i ]['innerBlocks'] = resolve_pattern_blocks(1587 $prev_inner_content = $inner_content; 1588 $inner_content = $blocks[ $i ]['innerContent']; 1589 $blocks[ $i ]['innerBlocks'] = resolve_pattern_blocks( 1590 1590 $blocks[ $i ]['innerBlocks'] 1591 1591 ); 1592 1592 $blocks[ $i ]['innerContent'] = $inner_content; 1593 $inner_content = $prev_inner_content;1593 $inner_content = $prev_inner_content; 1594 1594 } 1595 1595 ++$i; -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php
r58303 r58408 165 165 // Resolve pattern blocks so they don't need to be resolved client-side 166 166 // in the editor, improving performance. 167 $blocks = parse_blocks( $item['content'] );168 $blocks = resolve_pattern_blocks( $blocks );167 $blocks = parse_blocks( $item['content'] ); 168 $blocks = resolve_pattern_blocks( $blocks ); 169 169 $item['content'] = serialize_blocks( $blocks ); 170 170 -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php
r58282 r58408 476 476 'readonly' => true, 477 477 ), 478 'template_uri' 478 'template_uri' => array( 479 479 'description' => __( 'The uri for the theme\'s template directory. If this is a child theme, this refers to the parent theme, otherwise this is the same as the theme\'s stylesheet directory.' ), 480 480 'type' => 'string', -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-users-controller.php
r58283 r58408 79 79 '/' . $this->rest_base . '/(?P<id>[\d]+)', 80 80 array( 81 'args' => array(81 'args' => array( 82 82 'id' => array( 83 83 'description' => __( 'Unique identifier for the user.' ), -
trunk/src/wp-includes/script-loader.php
r58322 r58408 91 91 $vendor_scripts = array( 92 92 'react', 93 'react-dom' => array( 'react' ),93 'react-dom' => array( 'react' ), 94 94 'react-jsx-runtime' => array( 'react' ), 95 95 'regenerator-runtime',
Note: See TracChangeset
for help on using the changeset viewer.