Skip to content

Commit

Permalink
Update to WordPress 6.7. For more information, see https://wordpress.…
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantheon Automation committed Nov 13, 2024
1 parent a7140e5 commit 66a437e
Show file tree
Hide file tree
Showing 1,198 changed files with 203,512 additions and 123,634 deletions.
196 changes: 86 additions & 110 deletions wp-admin/about.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion wp-admin/admin-footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
$text = sprintf(
/* translators: %s: https://wordpress.org/ */
__( 'Thank you for creating with <a href="%s">WordPress</a>.' ),
__( 'https://wordpress.org/' )
esc_url( __( 'https://wordpress.org/' ) )
);

/**
Expand Down
2 changes: 1 addition & 1 deletion wp-admin/admin-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
$admin_body_class .= ' network-admin';
}

$admin_body_class .= ' no-customize-support no-svg';
$admin_body_class .= ' no-customize-support svg';

if ( $current_screen->is_block_editor() ) {
$admin_body_class .= ' block-editor-page wp-embed-responsive';
Expand Down
2 changes: 1 addition & 1 deletion wp-admin/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
if ( get_option( 'db_upgraded' ) ) {

flush_rewrite_rules();
update_option( 'db_upgraded', false );
update_option( 'db_upgraded', false, true );

/**
* Fires on the next page load after a successful DB upgrade.
Expand Down
20 changes: 13 additions & 7 deletions wp-admin/css/admin-menu-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
top: 0;
bottom: -120px;
z-index: 1; /* positive z-index to avoid elastic scrolling woes in Safari */

/* Only visible in Windows High Contrast mode */
outline: 1px solid transparent;
}

.php-error #adminmenuback {
Expand Down Expand Up @@ -206,7 +209,8 @@
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
min-width: 160px;
width: auto;
border-right: 5px solid transparent;
border: 1px solid transparent;
border-right-width: 5px;
}

#adminmenu .wp-submenu li.current,
Expand Down Expand Up @@ -269,7 +273,6 @@
word-wrap: break-word;
-ms-word-break: break-all;
word-break: break-word;
-webkit-hyphens: auto;
hyphens: auto;
}

Expand Down Expand Up @@ -416,8 +419,8 @@ ul#adminmenu > li.current > a.current:after {
font-weight: 400;
font-size: 14px;
padding: 5px 11px 5px 4px;
margin: -7px -5px 4px 0;
border-width: 3px 5px 3px 0;
margin: -8px -5px 4px -1px;
border-width: 3px 5px 3px 1px;
border-style: solid;
border-color: transparent;
}
Expand Down Expand Up @@ -582,8 +585,10 @@ li#wp-admin-bar-menu-toggle {
}

.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu {
min-width: 150px;
min-width: 160px;
width: auto;
border: 1px solid transparent;
border-right-width: 5px;
}

.auto-fold #adminmenu .wp-has-current-submenu li > a {
Expand Down Expand Up @@ -772,8 +777,9 @@ li#wp-admin-bar-menu-toggle {
}

#adminmenu .wp-not-current-submenu .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
border-right: none;
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu {
border: none;
}

/* Remove submenu headers and adjust sub meu*/
Expand Down
2 changes: 1 addition & 1 deletion wp-admin/css/admin-menu-rtl.min.css

Large diffs are not rendered by default.

20 changes: 13 additions & 7 deletions wp-admin/css/admin-menu.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
top: 0;
bottom: -120px;
z-index: 1; /* positive z-index to avoid elastic scrolling woes in Safari */

/* Only visible in Windows High Contrast mode */
outline: 1px solid transparent;
}

.php-error #adminmenuback {
Expand Down Expand Up @@ -205,7 +208,8 @@
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
min-width: 160px;
width: auto;
border-left: 5px solid transparent;
border: 1px solid transparent;
border-left-width: 5px;
}

#adminmenu .wp-submenu li.current,
Expand Down Expand Up @@ -268,7 +272,6 @@
word-wrap: break-word;
-ms-word-break: break-all;
word-break: break-word;
-webkit-hyphens: auto;
hyphens: auto;
}

Expand Down Expand Up @@ -415,8 +418,8 @@ ul#adminmenu > li.current > a.current:after {
font-weight: 400;
font-size: 14px;
padding: 5px 4px 5px 11px;
margin: -7px 0 4px -5px;
border-width: 3px 0 3px 5px;
margin: -8px -1px 4px -5px;
border-width: 3px 1px 3px 5px;
border-style: solid;
border-color: transparent;
}
Expand Down Expand Up @@ -581,8 +584,10 @@ li#wp-admin-bar-menu-toggle {
}

.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu {
min-width: 150px;
min-width: 160px;
width: auto;
border: 1px solid transparent;
border-left-width: 5px;
}

.auto-fold #adminmenu .wp-has-current-submenu li > a {
Expand Down Expand Up @@ -771,8 +776,9 @@ li#wp-admin-bar-menu-toggle {
}

#adminmenu .wp-not-current-submenu .wp-submenu,
.folded #adminmenu .wp-has-current-submenu .wp-submenu {
border-left: none;
.folded #adminmenu .wp-has-current-submenu .wp-submenu,
.auto-fold #adminmenu .wp-has-current-submenu .wp-submenu {
border: none;
}

/* Remove submenu headers and adjust sub meu*/
Expand Down
2 changes: 1 addition & 1 deletion wp-admin/css/admin-menu.min.css

Large diffs are not rendered by default.

38 changes: 19 additions & 19 deletions wp-admin/css/colors/_admin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,28 +115,28 @@ textarea:focus {
.button:hover,
.button.focus,
.button:focus {
border-color: darken( #7e8993, 5% );
color: darken( #32373c, 5% );
border-color: color.adjust(#7e8993, $lightness: -5%);
color: color.adjust(#32373c, $lightness: -5%);
}

.button.focus,
.button:focus {
border-color: #7e8993;
color: darken( #32373c, 5% );
color: color.adjust(#32373c, $lightness: -5%);
box-shadow: 0 0 0 1px #32373c;
}

.button:active {
border-color: #7e8993;
color: darken( #32373c, 5% );
color: color.adjust(#32373c, $lightness: -5%);
box-shadow: none;
}

.button.active,
.button.active:focus,
.button.active:hover {
border-color: $button-color;
color: darken( #32373c, 5% );
color: color.adjust(#32373c, $lightness: -5%);
box-shadow: inset 0 2px 5px -3px $button-color;
}

Expand All @@ -154,16 +154,16 @@ textarea:focus {
.button.hover,
.button:hover,
.button-secondary:hover{
border-color: darken($highlight-color, 10);
color: darken($highlight-color, 10);
border-color: color.adjust($highlight-color, $lightness: -10%);
color: color.adjust($highlight-color, $lightness: -10%);
}

.button.focus,
.button:focus,
.button-secondary:focus {
border-color: lighten($highlight-color, 10);
color: darken($highlight-color, 20);;
box-shadow: 0 0 0 1px lighten($highlight-color, 10);
border-color: color.adjust($highlight-color, $lightness: 10%);
color: color.adjust($highlight-color, $lightness: -20%);
box-shadow: 0 0 0 1px color.adjust($highlight-color, $lightness: 10%);
}

.button-primary {
Expand Down Expand Up @@ -225,14 +225,14 @@ textarea:focus {
}

.wrap .page-title-action:hover {
color: darken($highlight-color, 10);
border-color: darken($highlight-color, 10);
color: color.adjust($highlight-color, $lightness: -10%);
border-color: color.adjust($highlight-color, $lightness: -10%);
}

.wrap .page-title-action:focus {
border-color: lighten($highlight-color, 10);
color: darken($highlight-color, 20);;
box-shadow: 0 0 0 1px lighten($highlight-color, 10);
border-color: color.adjust($highlight-color, $lightness: 10%);
color: color.adjust($highlight-color, $lightness: -20%);
box-shadow: 0 0 0 1px color.adjust($highlight-color, $lightness: 10%);
}
}

Expand Down Expand Up @@ -539,7 +539,7 @@ ul#adminmenu > li.current > a.current:after {

.wp-pointer .wp-pointer-content h3 {
background-color: $highlight-color;
border-color: darken( $highlight-color, 5% );
border-color: color.adjust($highlight-color, $lightness: -5%);
}

.wp-pointer .wp-pointer-content h3:before {
Expand Down Expand Up @@ -632,7 +632,7 @@ body.more-filters-opened .more-filters:focus:before {

.nav-menus-php .item-edit:focus:before {
box-shadow:
0 0 0 1px lighten($button-color, 10),
0 0 0 1px color.adjust($button-color, $lightness: 10%),
0 0 2px 1px $button-color;
}

Expand Down Expand Up @@ -711,7 +711,7 @@ div#wp-responsive-toggle a:before {
#customize-save-button-wrapper .save:focus,
#publish-settings:focus {
box-shadow:
0 0 0 1px lighten($button-color, 10),
0 0 0 1px color.adjust($button-color, $lightness: 10%),
0 0 2px 1px $button-color;
}

Expand Down Expand Up @@ -772,7 +772,7 @@ div#wp-responsive-toggle a:before {
.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,
.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow {
box-shadow:
0 0 0 1px lighten($button-color, 10),
0 0 0 1px color.adjust($button-color, $lightness: 10%),
0 0 2px 1px $button-color;
}

Expand Down
12 changes: 6 additions & 6 deletions wp-admin/css/colors/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

&:hover,
&:focus {
background: lighten( $button-color, 3% );
border-color: darken( $button-color, 3% );
background: color.adjust($button-color, $lightness: 3%);
border-color: color.adjust($button-color, $lightness: -3%);
color: $button-text-color;
}

Expand All @@ -21,8 +21,8 @@
}

&:active {
background: darken( $button-color, 5% );
border-color: darken( $button-color, 5% );
background: color.adjust($button-color, $lightness: -5%);
border-color: color.adjust($button-color, $lightness: -5%);
color: $button-text-color;
}

Expand All @@ -31,7 +31,7 @@
&.active:hover {
background: $button-color;
color: $button-text-color;
border-color: darken( $button-color, 15% );
box-shadow: inset 0 2px 5px -3px darken( $button-color, 50% );
border-color: color.adjust($button-color, $lightness: -15%);
box-shadow: inset 0 2px 5px -3px color.adjust($button-color, $lightness: -50%);
}
}
12 changes: 6 additions & 6 deletions wp-admin/css/colors/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ $scheme-name: "default" !default;

$text-color: #fff !default;
$base-color: #23282d !default;
$icon-color: hsl( hue( $base-color ), 7%, 95% ) !default;
$icon-color: hsl(color.channel($base-color, "hue", $space: hsl), 7%, 95%) !default;
$highlight-color: #0073aa !default;
$notification-color: #d54e21 !default;

Expand All @@ -16,7 +16,7 @@ $notification-color: #d54e21 !default;
$body-background: #f1f1f1 !default;

$link: #0073aa !default;
$link-focus: lighten( $link, 10% ) !default;
$link-focus: color.adjust($link, $lightness: 10%) !default;

$button-color: $highlight-color !default;
$button-text-color: $text-color !default;
Expand All @@ -38,8 +38,8 @@ $menu-current-icon: $menu-highlight-icon !default;
$menu-current-background: $menu-highlight-background !default;

$menu-submenu-text: mix( $base-color, $text-color, 30% ) !default;
$menu-submenu-background: darken( $base-color, 7% ) !default;
$menu-submenu-background-alt: desaturate( lighten( $menu-background, 7% ), 7% ) !default;
$menu-submenu-background: color.adjust($base-color, $lightness: -7%) !default;
$menu-submenu-background-alt: color.adjust(color.adjust($menu-background, $lightness: 7%), $saturation: -7%) !default;

$menu-submenu-focus-text: $highlight-color !default;
$menu-submenu-current-text: $text-color !default;
Expand All @@ -54,8 +54,8 @@ $menu-collapse-icon: $menu-icon !default;
$menu-collapse-focus-text: $text-color !default;
$menu-collapse-focus-icon: $menu-highlight-icon !default;

$adminbar-avatar-frame: lighten( $menu-background, 7% ) !default;
$adminbar-input-background: lighten( $menu-background, 7% ) !default;
$adminbar-avatar-frame: color.adjust($menu-background, $lightness: 7%) !default;
$adminbar-input-background: color.adjust($menu-background, $lightness: 7%) !default;

$adminbar-recovery-exit-text: $menu-bubble-text !default;
$adminbar-recovery-exit-background: $menu-bubble-background !default;
Expand Down
Loading

0 comments on commit 66a437e

Please sign in to comment.