Skip to content

Commit 3081e87

Browse files
committed
Merge remote-tracking branch 'upstream/trunk' into HEAD
2 parents 36530f0 + 792c4ac commit 3081e87

30 files changed

Lines changed: 182 additions & 182 deletions

.github/workflows/reusable-end-to-end-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100

101101
- name: Install Playwright browsers
102102
if: ${{ inputs.install-playwright }}
103-
run: npx playwright install --with-deps
103+
run: npx playwright install --with-deps chromium
104104

105105
- name: Build WordPress
106106
run: npm run build

.github/workflows/reusable-performance-test-v2.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,6 @@ jobs:
227227
- name: Deactivate WordPress Importer plugin
228228
run: npm run env:cli -- plugin deactivate wordpress-importer --path="/var/www/${LOCAL_DIR}"
229229

230-
- name: Update permalink structure
231-
run: npm run env:cli -- rewrite structure '/%year%/%monthnum%/%postname%/' --path="/var/www/${LOCAL_DIR}"
232-
233230
- name: Install additional languages
234231
run: |
235232
npm run env:cli -- language core install de_DE --path="/var/www/${LOCAL_DIR}"

.github/workflows/reusable-performance.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,6 @@ jobs:
203203
- name: Deactivate WordPress Importer plugin
204204
run: npm run env:cli -- plugin deactivate wordpress-importer --path="/var/www/${LOCAL_DIR}"
205205

206-
- name: Update permalink structure
207-
run: npm run env:cli -- rewrite structure '/%year%/%monthnum%/%postname%/' --path="/var/www/${LOCAL_DIR}"
208-
209206
- name: Install additional languages
210207
run: |
211208
npm run env:cli -- language core install de_DE --path="/var/www/${LOCAL_DIR}"

phpcs.xml.dist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@
4242
<!-- Exclude the build folder in the current directory. -->
4343
<exclude-pattern type="relative">^build/*</exclude-pattern>
4444

45+
<!-- Exclude the local copy of the Gutenberg repository. -->
46+
<exclude-pattern>/gutenberg/*</exclude-pattern>
47+
4548
<!-- Directories and third party library exclusions. -->
4649
<exclude-pattern>/node_modules/*</exclude-pattern>
4750
<exclude-pattern>/vendor/*</exclude-pattern>

src/wp-admin/css/customize-controls.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,9 @@ body.trashing #publish-settings {
273273
margin: 0;
274274
position: absolute;
275275
top: 50%;
276-
transform: translateY(-50%);
276+
transform: translateY(-50%) !important;
277277
right: 0;
278+
background: #fff !important;
278279
}
279280

280281
.preview-link-wrapper {
@@ -284,7 +285,7 @@ body.trashing #publish-settings {
284285
.customize-copy-preview-link:before,
285286
.customize-copy-preview-link:after {
286287
content: "";
287-
height: 32px;
288+
height: 40px;
288289
position: absolute;
289290
background: #fff;
290291
top: 0;

src/wp-admin/css/dashboard.css

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -219,20 +219,19 @@
219219
}
220220

221221
.welcome-panel .welcome-panel-close {
222+
display: flex;
223+
align-items: center;
222224
position: absolute;
223225
top: 10px;
224226
right: 10px;
225-
padding: 10px 15px 10px 24px;
227+
padding: 10px 15px;
226228
font-size: 13px;
227229
line-height: 1.23076923; /* Chrome rounding, needs to be 16px equivalent */
228230
text-decoration: none;
229231
z-index: 1; /* Raise above the version image. */
230232
}
231233

232234
.welcome-panel .welcome-panel-close:before {
233-
position: absolute;
234-
top: 8px;
235-
left: 0;
236235
transition: all .1s ease-in-out;
237236
content: '\f335';
238237
font-size: 24px;
@@ -721,14 +720,6 @@ body #dashboard-widgets .postbox form .submit {
721720
margin-bottom: 10px;
722721
}
723722

724-
#dashboard_right_now .inside {
725-
padding: 0;
726-
}
727-
728-
#dashboard_right_now .main {
729-
padding: 16px 16px 11px;
730-
}
731-
732723
#dashboard_right_now .main p {
733724
margin: 0;
734725
}

src/wp-admin/css/list-tables.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1424,7 +1424,7 @@ ul.cat-checklist input[name="post_category[]"]:indeterminate::before {
14241424
content: "\f463";
14251425
content: "\f463" / '';
14261426
display: inline-block;
1427-
font: normal 20px/1.9 dashicons; /* line-height 1.9 = 38px to match button */
1427+
font: normal 16px/1.875 dashicons; /* line-height 1.875 = 30px to match button */
14281428
margin: 0 5px 0 -2px;
14291429
-webkit-font-smoothing: antialiased;
14301430
-moz-osx-font-smoothing: grayscale;
@@ -1567,6 +1567,13 @@ div.action-links,
15671567
margin: 0; /* Override existing margins */
15681568
}
15691569

1570+
/* Use compact size for space-constrained plugin cards */
1571+
.plugin-action-buttons li .button {
1572+
min-height: 32px;
1573+
line-height: 2.30769231; /* 30px for 32px min-height */
1574+
padding: 0 12px;
1575+
}
1576+
15701577
.plugin-card h3 {
15711578
margin: 0 12px 12px 0;
15721579
font-size: 18px;

src/wp-admin/css/login.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ p {
6666
background-color: #eff9f1;
6767
}
6868

69+
.login .notice {
70+
background-color: #fff;
71+
}
72+
6973
/* Match border color from common.css */
7074
.login .notice-error {
7175
border-left-color: #cc1818;

src/wp-admin/includes/schema.php

Lines changed: 101 additions & 101 deletions
Original file line numberDiff line numberDiff line change
@@ -409,163 +409,163 @@ function populate_options( array $options = array() ) {
409409
}
410410

411411
$defaults = array(
412-
'siteurl' => $guessurl,
413-
'home' => $guessurl,
414-
'blogname' => __( 'My Site' ),
415-
'blogdescription' => '',
416-
'users_can_register' => 0,
417-
'admin_email' => '[email protected]',
412+
'siteurl' => $guessurl,
413+
'home' => $guessurl,
414+
'blogname' => __( 'My Site' ),
415+
'blogdescription' => '',
416+
'users_can_register' => 0,
417+
'admin_email' => '[email protected]',
418418
/* translators: Default start of the week. 0 = Sunday, 1 = Monday. */
419-
'start_of_week' => _x( '1', 'start of week' ),
420-
'use_balanceTags' => 0,
421-
'use_smilies' => 1,
422-
'require_name_email' => 1,
423-
'comments_notify' => 1,
424-
'posts_per_rss' => 10,
425-
'rss_use_excerpt' => 0,
426-
'mailserver_url' => 'mail.example.com',
427-
'mailserver_login' => '[email protected]',
428-
'mailserver_pass' => '',
429-
'mailserver_port' => 110,
430-
'default_category' => 1,
431-
'default_comment_status' => 'open',
432-
'default_ping_status' => 'open',
433-
'default_pingback_flag' => 1,
434-
'posts_per_page' => 10,
419+
'start_of_week' => _x( '1', 'start of week' ),
420+
'use_balanceTags' => 0,
421+
'use_smilies' => 1,
422+
'require_name_email' => 1,
423+
'comments_notify' => 1,
424+
'posts_per_rss' => 10,
425+
'rss_use_excerpt' => 0,
426+
'mailserver_url' => 'mail.example.com',
427+
'mailserver_login' => '[email protected]',
428+
'mailserver_pass' => '',
429+
'mailserver_port' => 110,
430+
'default_category' => 1,
431+
'default_comment_status' => 'open',
432+
'default_ping_status' => 'open',
433+
'default_pingback_flag' => 1,
434+
'posts_per_page' => 10,
435435
/* translators: Default date format, see https://www.php.net/manual/datetime.format.php */
436-
'date_format' => __( 'F j, Y' ),
436+
'date_format' => __( 'F j, Y' ),
437437
/* translators: Default time format, see https://www.php.net/manual/datetime.format.php */
438-
'time_format' => __( 'g:i a' ),
438+
'time_format' => __( 'g:i a' ),
439439
/* translators: Links last updated date format, see https://www.php.net/manual/datetime.format.php */
440-
'links_updated_date_format' => __( 'F j, Y g:i a' ),
441-
'comment_moderation' => 0,
442-
'moderation_notify' => 1,
443-
'permalink_structure' => '',
444-
'rewrite_rules' => '',
445-
'hack_file' => 0,
446-
'blog_charset' => 'UTF-8',
447-
'moderation_keys' => '',
448-
'active_plugins' => array(),
449-
'category_base' => '',
450-
'ping_sites' => 'https://rpc.pingomatic.com/',
451-
'comment_max_links' => 2,
452-
'gmt_offset' => $gmt_offset,
440+
'links_updated_date_format' => __( 'F j, Y g:i a' ),
441+
'comment_moderation' => 0,
442+
'moderation_notify' => 1,
443+
'permalink_structure' => '',
444+
'rewrite_rules' => '',
445+
'hack_file' => 0,
446+
'blog_charset' => 'UTF-8',
447+
'moderation_keys' => '',
448+
'active_plugins' => array(),
449+
'category_base' => '',
450+
'ping_sites' => 'https://rpc.pingomatic.com/',
451+
'comment_max_links' => 2,
452+
'gmt_offset' => $gmt_offset,
453453

454454
// 1.5.0
455-
'default_email_category' => 1,
456-
'recently_edited' => '',
457-
'template' => $template,
458-
'stylesheet' => $stylesheet,
459-
'comment_registration' => 0,
460-
'html_type' => 'text/html',
455+
'default_email_category' => 1,
456+
'recently_edited' => '',
457+
'template' => $template,
458+
'stylesheet' => $stylesheet,
459+
'comment_registration' => 0,
460+
'html_type' => 'text/html',
461461

462462
// 1.5.1
463-
'use_trackback' => 0,
463+
'use_trackback' => 0,
464464

465465
// 2.0.0
466-
'default_role' => 'subscriber',
467-
'db_version' => $wp_db_version,
466+
'default_role' => 'subscriber',
467+
'db_version' => $wp_db_version,
468468

469469
// 2.0.1
470-
'uploads_use_yearmonth_folders' => 1,
471-
'upload_path' => '',
470+
'uploads_use_yearmonth_folders' => 1,
471+
'upload_path' => '',
472472

473473
// 2.1.0
474-
'blog_public' => '1',
475-
'default_link_category' => 2,
476-
'show_on_front' => 'posts',
474+
'blog_public' => '1',
475+
'default_link_category' => 2,
476+
'show_on_front' => 'posts',
477477

478478
// 2.2.0
479-
'tag_base' => '',
479+
'tag_base' => '',
480480

481481
// 2.5.0
482-
'show_avatars' => '1',
483-
'avatar_rating' => 'G',
484-
'upload_url_path' => '',
485-
'thumbnail_size_w' => 150,
486-
'thumbnail_size_h' => 150,
487-
'thumbnail_crop' => 1,
488-
'medium_size_w' => 300,
489-
'medium_size_h' => 300,
482+
'show_avatars' => '1',
483+
'avatar_rating' => 'G',
484+
'upload_url_path' => '',
485+
'thumbnail_size_w' => 150,
486+
'thumbnail_size_h' => 150,
487+
'thumbnail_crop' => 1,
488+
'medium_size_w' => 300,
489+
'medium_size_h' => 300,
490490

491491
// 2.6.0
492-
'avatar_default' => 'mystery',
492+
'avatar_default' => 'mystery',
493493

494494
// 2.7.0
495-
'large_size_w' => 1024,
496-
'large_size_h' => 1024,
497-
'image_default_link_type' => 'none',
498-
'image_default_size' => '',
499-
'image_default_align' => '',
500-
'close_comments_for_old_posts' => 0,
501-
'close_comments_days_old' => 14,
502-
'thread_comments' => 1,
503-
'thread_comments_depth' => 5,
504-
'page_comments' => 0,
505-
'comments_per_page' => 50,
506-
'default_comments_page' => 'newest',
507-
'comment_order' => 'asc',
508-
'sticky_posts' => array(),
509-
'widget_categories' => array(),
510-
'widget_text' => array(),
511-
'widget_rss' => array(),
512-
'uninstall_plugins' => array(),
495+
'large_size_w' => 1024,
496+
'large_size_h' => 1024,
497+
'image_default_link_type' => 'none',
498+
'image_default_size' => '',
499+
'image_default_align' => '',
500+
'close_comments_for_old_posts' => 0,
501+
'close_comments_days_old' => 14,
502+
'thread_comments' => 1,
503+
'thread_comments_depth' => 5,
504+
'page_comments' => 0,
505+
'comments_per_page' => 50,
506+
'default_comments_page' => 'newest',
507+
'comment_order' => 'asc',
508+
'sticky_posts' => array(),
509+
'widget_categories' => array(),
510+
'widget_text' => array(),
511+
'widget_rss' => array(),
512+
'uninstall_plugins' => array(),
513513

514514
// 2.8.0
515-
'timezone_string' => $timezone_string,
515+
'timezone_string' => $timezone_string,
516516

517517
// 3.0.0
518-
'page_for_posts' => 0,
519-
'page_on_front' => 0,
518+
'page_for_posts' => 0,
519+
'page_on_front' => 0,
520520

521521
// 3.1.0
522-
'default_post_format' => 0,
522+
'default_post_format' => 0,
523523

524524
// 3.5.0
525-
'link_manager_enabled' => 0,
525+
'link_manager_enabled' => 0,
526526

527527
// 4.3.0
528-
'finished_splitting_shared_terms' => 1,
529-
'site_icon' => 0,
528+
'finished_splitting_shared_terms' => 1,
529+
'site_icon' => 0,
530530

531531
// 4.4.0
532-
'medium_large_size_w' => 768,
533-
'medium_large_size_h' => 0,
532+
'medium_large_size_w' => 768,
533+
'medium_large_size_h' => 0,
534534

535535
// 4.9.6
536-
'wp_page_for_privacy_policy' => 0,
536+
'wp_page_for_privacy_policy' => 0,
537537

538538
// 4.9.8
539-
'show_comments_cookies_opt_in' => 1,
539+
'show_comments_cookies_opt_in' => 1,
540540

541541
// 5.3.0
542-
'admin_email_lifespan' => ( time() + 6 * MONTH_IN_SECONDS ),
542+
'admin_email_lifespan' => ( time() + 6 * MONTH_IN_SECONDS ),
543543

544544
// 5.5.0
545-
'disallowed_keys' => '',
546-
'comment_previously_approved' => 1,
547-
'auto_plugin_theme_update_emails' => array(),
545+
'disallowed_keys' => '',
546+
'comment_previously_approved' => 1,
547+
'auto_plugin_theme_update_emails' => array(),
548548

549549
// 5.6.0
550-
'auto_update_core_dev' => 'enabled',
551-
'auto_update_core_minor' => 'enabled',
550+
'auto_update_core_dev' => 'enabled',
551+
'auto_update_core_minor' => 'enabled',
552552
/*
553553
* Default to enabled for new installs.
554554
* See https://core.trac.wordpress.org/ticket/51742.
555555
*/
556-
'auto_update_core_major' => 'enabled',
556+
'auto_update_core_major' => 'enabled',
557557

558558
// 5.8.0
559-
'wp_force_deactivated_plugins' => array(),
559+
'wp_force_deactivated_plugins' => array(),
560560

561561
// 6.4.0
562-
'wp_attachment_pages_enabled' => 0,
562+
'wp_attachment_pages_enabled' => 0,
563563

564564
// 6.9.0
565-
'wp_notes_notify' => 1,
565+
'wp_notes_notify' => 1,
566566

567567
// 7.0.0
568-
'enable_real_time_collaboration' => 0,
568+
'wp_enable_real_time_collaboration' => 0,
569569
);
570570

571571
// 3.3.0

0 commit comments

Comments
 (0)