Skip to content

Commit b8f1499

Browse files
committed
Merge branch 'trunk' into hello-dolly
2 parents 7e137f6 + c23c2d7 commit b8f1499

17 files changed

Lines changed: 15 additions & 323 deletions

.github/workflows/upgrade-testing.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ jobs:
102102
db-type: [ 'mysql' ]
103103
db-version: [ '5.7', '8.4' ]
104104
wp: [ '6.0', '6.1', '6.2', '6.3', '6.4', '6.5' ]
105-
>>>>>>> Stashed changes
106105
multisite: [ false, true ]
107106

108107
exclude:

package-lock.json

Lines changed: 0 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/wp-admin/about.php

Lines changed: 7 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@
6565
<div class="about__image">
6666
<img src="https://s.w.org/images/core/6.8/feature-01.webp?v=23478" alt="" height="436" width="436" />
6767
</div>
68-
>>>>>>> Stashed changes
6968
</div>
7069
</div>
7170

@@ -91,19 +90,6 @@
9190
</p>
9291
<?php endif; ?>
9392
</div>
94-
<div class="column is-vertically-aligned-center">
95-
<div class="about__image">
96-
<img src="https://s.w.org/images/core/6.8/feature-01.webp?v=23478" alt="" height="436" width="436" />
97-
</div>
98-
</div>
99-
</div>
100-
101-
<div class="about__section has-2-columns">
102-
<div class="column is-vertically-aligned-center">
103-
<div class="about__image">
104-
<img src="https://s.w.org/images/core/6.8/feature-02.png?v=23478" alt="" height="436" width="436" />
105-
</div>
106-
</div>
10793
<div class="column is-vertically-aligned-center">
10894
<h3><?php _e( 'Editor improvements' ); ?></h3>
10995
<p><?php _e( 'Easier ways to see your options in Data Views, and you can exclude sticky posts from the Query Loop. Plus, you&#8217;ll find lots of little improvements in the editor that smooth your way through everything you build.' ); ?></p>
@@ -117,58 +103,46 @@
117103
</div>
118104
<div class="column is-vertically-aligned-center">
119105
<div class="about__image">
120-
<img src="https://s.w.org/images/core/6.8/feature-03.webp?v=23478" alt="" height="436" width="436" />
106+
<img src="https://s.w.org/images/core/6.8/feature-01.webp?v=23478" alt="" height="436" width="436" />
121107
</div>
122108
</div>
123109
</div>
124110

125111
<div class="about__section has-2-columns">
126112
<div class="column is-vertically-aligned-center">
127113
<div class="about__image">
128-
<img src="https://s.w.org/images/core/6.8/feature-04.png?v=23478" alt="" height="436" width="436" />
114+
<img src="https://s.w.org/images/core/6.8/feature-02.png?v=23478" alt="" height="436" width="436" />
129115
</div>
130116
</div>
131117
<div class="column is-vertically-aligned-center">
132-
<h3><?php _e( 'Stronger password security with bcrypt' ); ?></h3>
133-
<p><?php _e( 'Now passwords are harder to crack with bcrypt hashing, which takes a lot more computing power to break. This strengthens overall security, as do other encryption improvements across WordPress. You don&#8217;t need to do anything—everything updates automatically.' ); ?></p>
118+
<h3><?php _e( 'Editor improvements' ); ?></h3>
119+
<p><?php _e( 'Easier ways to see your options in Data Views, and you can exclude sticky posts from the Query Loop. Plus, you&#8217;ll find lots of little improvements in the editor that smooth your way through everything you build.' ); ?></p>
134120
</div>
135121
</div>
136122

137123
<hr class="is-invisible is-large" />
138124

139125
<div class="about__section has-2-columns">
140126
<div class="column is-vertically-aligned-center">
141-
<h3><?php _e( 'Rollbacks for plugin auto-updates' ); ?></h3>
142-
<p><strong><?php _e( 'Auto-update your plugins with peace of mind.' ); ?></strong> <?php _e( 'Enjoy the ease of plugin auto-updates with the safety of rollbacks if anything goes wrong, improving your site&#8217;s security while minimizing potential downtime.' ); ?></p>
143-
</div>
144-
<div class="column is-vertically-aligned-center">
145-
<div class="about__image">
146-
<img src="https://s.w.org/images/core/6.6/feature-rollbacks.webp" alt="" height="436" width="436" />
147-
=======
148127
<h3><?php _e( 'Near-instant page loads, thanks to Speculative Loading' ); ?></h3>
149128
<p><?php _e( 'In WordPress 6.8, pages load faster than ever. When you or your user hovers over or clicks a link, WordPress may preload the next page, for a smoother, near-instant experience. The system balances speed and efficiency, and you can control how it works, with a plugin or your own code. This feature only works in modern browsers—older ones will simply ignore it without any impact.' ); ?></p>
150129
</div>
151130
<div class="column is-vertically-aligned-center">
152131
<div class="about__image">
153132
<img src="https://s.w.org/images/core/6.8/feature-03.webp?v=23478" alt="" height="436" width="436" />
154-
>>>>>>> Stashed changes
155133
</div>
156134
</div>
157135
</div>
158136

159137
<div class="about__section has-2-columns">
160138
<div class="column is-vertically-aligned-center">
161139
<div class="about__image">
162-
<<<<<<< Updated upstream
163-
<img src="https://s.w.org/images/core/6.6/overrides.webp" alt="" height="436" width="436" />
140+
<img src="https://s.w.org/images/core/6.8/feature-04.png?v=23478" alt="" height="436" width="436" />
164141
</div>
165142
</div>
166143
<div class="column is-vertically-aligned-center">
167-
<h3><?php _e( 'Overrides' ); ?></h3>
168-
<p><strong><?php _e( 'Add the ability to customize content in synced patterns.' ); ?></strong> <?php _e( 'Allow specific pieces of content to be customized in each instance of a synced pattern while keeping a consistent style for all instances, simplifying future updates. Currently, you can set overrides for Heading, Paragraph, Button, and Image blocks.' ); ?></p>
169-
=======
170-
<img src="https://s.w.org/images/core/6.8/feature-04.png?v=23478" alt="" height="436" width="436" />
171-
</div>
144+
<h3><?php _e( 'Stronger password security with bcrypt' ); ?></h3>
145+
<p><?php _e( 'Now passwords are harder to crack with bcrypt hashing, which takes a lot more computing power to break. This strengthens overall security, as do other encryption improvements across WordPress. You don&#8217;t need to do anything—everything updates automatically.' ); ?></p>
172146
</div>
173147
<div class="column is-vertically-aligned-center">
174148
<h3><?php _e( 'Stronger password security with bcrypt' ); ?></h3>
@@ -202,9 +176,6 @@
202176

203177
<div class="about__section has-1-column">
204178
<div class="column">
205-
<p><?php _e( 'For a comprehensive overview of all the new features and enhancements in WordPress 6.6, please visit the feature-showcase website.' ); ?></p>
206-
</div>
207-
<div class="column aligncenter">
208179
<div class="about__image">
209180
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
210181
<path fill="#1e1e1e" d="M32.455 17.72a1.592 1.592 0 0 1 .599 2.195l-7.637 12.99a1.653 1.653 0 0 1-2.235.589 1.592 1.592 0 0 1-.599-2.195l7.637-12.99a1.653 1.653 0 0 1 2.235-.589ZM13.774 23.21a1.653 1.653 0 0 0-2.236.589 1.592 1.592 0 0 0 .6 2.195l.944.536c.783.444 1.783.18 2.235-.588a1.592 1.592 0 0 0-.599-2.196l-.944-.535ZM16.432 17.72a1.653 1.653 0 0 1 2.236.588l.545.928a1.592 1.592 0 0 1-.599 2.196 1.653 1.653 0 0 1-2.235-.588l-.546-.928a1.592 1.592 0 0 1 .6-2.196ZM25.637 16.5c0-.888-.733-1.607-1.637-1.607s-1.636.72-1.636 1.607v1.071c0 .888.732 1.608 1.636 1.608.904 0 1.637-.72 1.637-1.608V16.5Z"/>

src/wp-admin/includes/class-wp-debug-data.php

Lines changed: 0 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -1720,74 +1720,6 @@ private static function get_wp_filesystem(): array {
17201720
),
17211721
);
17221722

1723-
// Add more filesystem checks.
1724-
if ( defined( 'WPMU_PLUGIN_DIR' ) && is_dir( WPMU_PLUGIN_DIR ) ) {
1725-
$is_writable_wpmu_plugin_dir = wp_is_writable( WPMU_PLUGIN_DIR );
1726-
1727-
$fields['mu-plugins'] = array(
1728-
'label' => __( 'The must use plugins directory' ),
1729-
'value' => ( $is_writable_wpmu_plugin_dir ? __( 'Writable' ) : __( 'Not writable' ) ),
1730-
'debug' => ( $is_writable_wpmu_plugin_dir ? 'writable' : 'not writable' ),
1731-
);
1732-
}
1733-
>>>>>>> Stashed changes
1734-
1735-
return array(
1736-
'label' => __( 'Filesystem Permissions' ),
1737-
'description' => __( 'Shows whether WordPress is able to write to the directories it needs access to.' ),
1738-
'fields' => $fields,
1739-
);
1740-
}
1741-
1742-
/**
1743-
* Gets the file system section of the debug data.
1744-
*
1745-
* @since 6.7.0
1746-
*
1747-
* @return array
1748-
*/
1749-
private static function get_wp_filesystem(): array {
1750-
$upload_dir = wp_upload_dir();
1751-
$is_writable_abspath = wp_is_writable( ABSPATH );
1752-
$is_writable_wp_content_dir = wp_is_writable( WP_CONTENT_DIR );
1753-
$is_writable_upload_dir = wp_is_writable( $upload_dir['basedir'] );
1754-
$is_writable_wp_plugin_dir = wp_is_writable( WP_PLUGIN_DIR );
1755-
$is_writable_template_directory = wp_is_writable( get_theme_root( get_template() ) );
1756-
$is_writable_fonts_dir = wp_is_writable( wp_get_font_dir()['basedir'] );
1757-
1758-
$fields = array(
1759-
'wordpress' => array(
1760-
'label' => __( 'The main WordPress directory' ),
1761-
'value' => ( $is_writable_abspath ? __( 'Writable' ) : __( 'Not writable' ) ),
1762-
'debug' => ( $is_writable_abspath ? 'writable' : 'not writable' ),
1763-
),
1764-
'wp-content' => array(
1765-
'label' => __( 'The wp-content directory' ),
1766-
'value' => ( $is_writable_wp_content_dir ? __( 'Writable' ) : __( 'Not writable' ) ),
1767-
'debug' => ( $is_writable_wp_content_dir ? 'writable' : 'not writable' ),
1768-
),
1769-
'uploads' => array(
1770-
'label' => __( 'The uploads directory' ),
1771-
'value' => ( $is_writable_upload_dir ? __( 'Writable' ) : __( 'Not writable' ) ),
1772-
'debug' => ( $is_writable_upload_dir ? 'writable' : 'not writable' ),
1773-
),
1774-
'plugins' => array(
1775-
'label' => __( 'The plugins directory' ),
1776-
'value' => ( $is_writable_wp_plugin_dir ? __( 'Writable' ) : __( 'Not writable' ) ),
1777-
'debug' => ( $is_writable_wp_plugin_dir ? 'writable' : 'not writable' ),
1778-
),
1779-
'themes' => array(
1780-
'label' => __( 'The themes directory' ),
1781-
'value' => ( $is_writable_template_directory ? __( 'Writable' ) : __( 'Not writable' ) ),
1782-
'debug' => ( $is_writable_template_directory ? 'writable' : 'not writable' ),
1783-
),
1784-
'fonts' => array(
1785-
'label' => __( 'The fonts directory' ),
1786-
'value' => ( $is_writable_fonts_dir ? __( 'Writable' ) : __( 'Not writable' ) ),
1787-
'debug' => ( $is_writable_fonts_dir ? 'writable' : 'not writable' ),
1788-
),
1789-
);
1790-
17911723
// Add more filesystem checks.
17921724
if ( defined( 'WPMU_PLUGIN_DIR' ) && is_dir( WPMU_PLUGIN_DIR ) ) {
17931725
$is_writable_wpmu_plugin_dir = wp_is_writable( WPMU_PLUGIN_DIR );

src/wp-admin/includes/update-core.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -841,8 +841,6 @@
841841
'wp-includes/js/dist/undo-manager.min.js',
842842
'wp-includes/js/dist/fields.min.js',
843843
'wp-includes/js/dist/fields.js',
844-
// 6.9
845-
'wp-content/plugins/hello.php',
846844
);
847845

848846
/**

src/wp-content/themes/twentytwenty/package-lock.json

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/wp-includes/block-template-utils.php

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -655,26 +655,6 @@ function _build_block_template_result_from_file( $template_file, $template_type
655655
'insert_hooked_blocks_and_set_ignored_hooked_blocks_metadata'
656656
);
657657
}
658-
659-
if ( 'wp_template_part' === $template->type && $has_hooked_blocks ) {
660-
/*
661-
* In order for hooked blocks to be inserted at positions first_child and last_child in a template part,
662-
* we need to wrap its content a mock template part block and traverse it.
663-
*/
664-
$content = get_comment_delimited_block_content(
665-
'core/template-part',
666-
array(),
667-
$template->content
668-
);
669-
$content = traverse_and_serialize_blocks( parse_blocks( $content ), $before_block_visitor, $after_block_visitor );
670-
$template->content = remove_serialized_parent_block( $content );
671-
} else {
672-
$template->content = traverse_and_serialize_blocks(
673-
parse_blocks( $template->content ),
674-
$before_block_visitor,
675-
$after_block_visitor
676-
);
677-
}
678658
=======
679659
if ( 'wp_template_part' === $template->type ) {
680660
/*

src/wp-includes/class-wp-image-editor-imagick.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,6 @@ public function set_quality( $quality = null, $dims = array() ) {
225225
$this->image->setCompressionQuality( $quality );
226226
}
227227
break;
228-
<<<<<<< Updated upstream
229-
=======
230228
case 'image/avif':
231229
// Set the AVIF encoder to work faster, with minimal impact on image size.
232230
$this->image->setOption( 'heic:speed', 7 );

src/wp-includes/global-styles-and-settings.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -257,10 +257,6 @@ function wp_add_global_styles_for_blocks() {
257257
$tree = WP_Theme_JSON_Resolver::get_merged_data();
258258
$tree = WP_Theme_JSON_Resolver::resolve_theme_file_uris( $tree );
259259
$block_nodes = $tree->get_styles_block_nodes();
260-
<<<<<<< Updated upstream
261-
foreach ( $block_nodes as $metadata ) {
262-
$block_css = $tree->get_styles_for_block( $metadata );
263-
=======
264260

265261
$can_use_cached = ! wp_is_development_mode( 'theme' );
266262
$update_cache = false;
@@ -301,7 +297,6 @@ function wp_add_global_styles_for_blocks() {
301297
} else {
302298
$block_css = $tree->get_styles_for_block( $metadata );
303299
}
304-
>>>>>>> Stashed changes
305300

306301
if ( ! wp_should_load_block_assets_on_demand() ) {
307302
wp_add_inline_style( 'global-styles', $block_css );
@@ -348,13 +343,10 @@ function wp_add_global_styles_for_blocks() {
348343
}
349344
}
350345
}
351-
<<<<<<< Updated upstream
352-
=======
353346

354347
if ( $update_cache ) {
355348
set_transient( $cache_key, $cached );
356349
}
357-
>>>>>>> Stashed changes
358350
}
359351

360352
/**

src/wp-includes/html-api/class-wp-html-open-elements.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -520,11 +520,6 @@ public function pop(): bool {
520520
return false;
521521
}
522522

523-
if ( 'context-node' === $item->bookmark_name ) {
524-
$this->stack[] = $item;
525-
return false;
526-
}
527-
528523
$this->after_element_pop( $item );
529524
return true;
530525
}
@@ -541,10 +536,6 @@ public function pop(): bool {
541536
*/
542537
public function pop_until( string $html_tag_name ): bool {
543538
foreach ( $this->walk_up() as $item ) {
544-
if ( 'context-node' === $item->bookmark_name ) {
545-
return true;
546-
}
547-
548539
$this->pop();
549540

550541
if ( 'html' !== $item->namespace ) {

0 commit comments

Comments
 (0)