wp core update 6.6

This commit is contained in:
Tony Volpe
2024-07-17 03:05:30 +00:00
parent 8f93917880
commit 4950d23a30
912 changed files with 103325 additions and 124480 deletions

View File

@@ -26,27 +26,6 @@ ul.wp-block-archives{
margin:0 auto;
}
.edit-post-visual-editor .block-library-block__reusable-block-container .is-root-container{
padding-left:0;
padding-right:0;
}
.edit-post-visual-editor .block-library-block__reusable-block-container .block-editor-writing-flow{
display:block;
}
.edit-post-visual-editor .block-library-block__reusable-block-container .components-disabled .block-list-appender{
display:none;
}
.edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.is-highlighted,.edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.is-selected{
box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color);
}
.edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after{
box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color);
}
.is-dark-theme .edit-post-visual-editor .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after{
box-shadow:0 0 0 var(--wp-admin-border-width-focus) #fff;
}
.wp-block[data-align=center]>.wp-block-button{
margin-left:auto;
margin-right:auto;
@@ -77,37 +56,6 @@ div[data-type="core/button"]{
.editor-styles-wrapper .wp-block-button[style*=text-decoration] .wp-block-button__link{
text-decoration:inherit;
}
.editor-styles-wrapper .wp-block-button .wp-block-button__link:where(.has-border-color){
border-width:initial;
}
.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-top-color]){
border-top-width:medium;
}
.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-right-color]){
border-right-width:medium;
}
.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-bottom-color]){
border-bottom-width:medium;
}
.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-left-color]){
border-left-width:medium;
}
.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-style]){
border-width:initial;
}
.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-top-style]){
border-top-width:medium;
}
.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-right-style]){
border-right-width:medium;
}
.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-bottom-style]){
border-bottom-width:medium;
}
.editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*=border-left-style]){
border-left-width:medium;
}
.wp-block-buttons>.wp-block,.wp-block-buttons>.wp-block-button.wp-block-button.wp-block-button.wp-block-button.wp-block-button{
margin:0;
}
@@ -337,9 +285,17 @@ html :where(.wp-block-column){
.wp-block-cover.components-placeholder h2{
color:inherit;
}
.wp-block-cover.is-transient{
position:relative;
}
.wp-block-cover.is-transient:before{
background-color:#fff;
content:"";
height:100%;
opacity:.3;
position:absolute;
width:100%;
z-index:1;
}
.wp-block-cover .components-spinner{
left:50%;
@@ -400,10 +356,6 @@ html :where(.wp-block-column){
margin-top:24px;
}
.wp-block-cover:after{
min-height:auto;
}
.wp-block-details summary div{
display:inline;
}
@@ -421,9 +373,6 @@ html :where(.wp-block-column){
word-break:break-word;
}
.wp-block-embed__learn-more{
margin-top:1em;
}
.wp-block-post-content .wp-block-embed__learn-more a{
color:var(--wp-admin-theme-color);
}
@@ -455,6 +404,9 @@ html :where(.wp-block-column){
.wp-block[data-align=left]>.wp-block-file,.wp-block[data-align=right]>.wp-block-file{
height:auto;
}
.wp-block[data-align=center]>.wp-block-file{
text-align:center;
}
.wp-block-file .components-resizable-box__container{
margin-bottom:1em;
}
@@ -870,42 +822,42 @@ div[data-type="core/freeform"].is-selected .block-library-classic__toolbar{
margin-top:16px;
}
figure.wp-block-gallery{
:root :where(figure.wp-block-gallery){
display:block;
}
figure.wp-block-gallery>.blocks-gallery-caption{
:root :where(figure.wp-block-gallery)>.blocks-gallery-caption{
flex:0 0 100%;
}
figure.wp-block-gallery>.blocks-gallery-media-placeholder-wrapper{
:root :where(figure.wp-block-gallery)>.blocks-gallery-media-placeholder-wrapper{
flex-basis:100%;
}
figure.wp-block-gallery .wp-block-image .components-notice.is-error{
:root :where(figure.wp-block-gallery) .wp-block-image .components-notice.is-error{
display:block;
}
figure.wp-block-gallery .wp-block-image .components-notice__content{
:root :where(figure.wp-block-gallery) .wp-block-image .components-notice__content{
margin:4px 0;
}
figure.wp-block-gallery .wp-block-image .components-notice__dismiss{
:root :where(figure.wp-block-gallery) .wp-block-image .components-notice__dismiss{
position:absolute;
right:5px;
top:0;
}
figure.wp-block-gallery .block-editor-media-placeholder.is-appender .components-placeholder__label{
:root :where(figure.wp-block-gallery) .block-editor-media-placeholder.is-appender .components-placeholder__label{
display:none;
}
figure.wp-block-gallery .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button{
:root :where(figure.wp-block-gallery) .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button{
margin-bottom:0;
}
figure.wp-block-gallery .block-editor-media-placeholder{
:root :where(figure.wp-block-gallery) .block-editor-media-placeholder{
margin:0;
}
figure.wp-block-gallery .block-editor-media-placeholder .components-placeholder__label{
:root :where(figure.wp-block-gallery) .block-editor-media-placeholder .components-placeholder__label{
display:flex;
}
figure.wp-block-gallery .block-editor-media-placeholder figcaption{
:root :where(figure.wp-block-gallery) .block-editor-media-placeholder figcaption{
z-index:2;
}
figure.wp-block-gallery .components-spinner{
:root :where(figure.wp-block-gallery) .components-spinner{
left:50%;
margin-left:-9px;
margin-top:-9px;
@@ -1061,53 +1013,10 @@ figure.wp-block-gallery .components-spinner{
right:0;
top:0;
}
.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child .block-editor-inserter{
.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child .block-editor-button-block-appender,.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child .block-editor-inserter{
pointer-events:all;
}
.wp-block-group__placeholder .wp-block-group-placeholder__variations{
display:flex;
flex-direction:row;
flex-wrap:wrap;
justify-content:center;
list-style:none;
margin:0;
padding:0;
width:100%;
}
.wp-block-group__placeholder .components-placeholder__instructions{
margin-bottom:18px;
text-align:center;
}
.wp-block-group__placeholder .wp-block-group-placeholder__variations svg{
fill:#ccc !important;
}
.wp-block-group__placeholder .wp-block-group-placeholder__variations svg:hover{
fill:var(--wp-admin-theme-color) !important;
}
.wp-block-group__placeholder .wp-block-group-placeholder__variations>li{
align-items:center;
display:flex;
flex-direction:column;
margin:0 12px 12px;
width:auto;
}
.wp-block-group__placeholder .wp-block-group-placeholder__variations li>.wp-block-group-placeholder__variation-button{
height:32px;
padding:0;
width:44px;
}
.wp-block-group__placeholder .wp-block-group-placeholder__variations li>.wp-block-group-placeholder__variation-button:hover{
box-shadow:none;
}
.wp-block-group__placeholder .components-placeholder{
min-height:auto;
padding:24px;
}
.wp-block-group__placeholder .is-medium .wp-block-group-placeholder__variations>li,.wp-block-group__placeholder .is-small .wp-block-group-placeholder__variations>li{
margin:12px;
}
.block-library-html__edit .block-library-html__preview-overlay{
height:100%;
left:0;
@@ -1122,6 +1031,7 @@ figure.wp-block-gallery .components-spinner{
box-shadow:none !important;
box-sizing:border-box;
color:#1e1e1e !important;
direction:ltr;
font-family:Menlo,Consolas,monaco,monospace !important;
font-size:16px !important;
max-height:250px;
@@ -1236,6 +1146,9 @@ figure.wp-block-image:not(.wp-block){
position:relative;
width:100%;
}
.wp-block-image__crop-area .reactEasyCrop_Container{
pointer-events:auto;
}
.wp-block-image__crop-area .reactEasyCrop_Container .reactEasyCrop_Image{
border:none;
border-radius:0;
@@ -1257,28 +1170,10 @@ figure.wp-block-image:not(.wp-block){
overflow:visible !important;
}
.wp-block-image__aspect-ratio{
align-items:center;
display:flex;
height:46px;
margin-bottom:-8px;
}
.wp-block-image__aspect-ratio .components-button{
padding-left:0;
padding-right:0;
width:36px;
}
.wp-block-image__toolbar_content_textarea{
width:250px;
}
.wp-block-latest-posts{
padding-left:2.5em;
}
.wp-block-latest-posts.is-grid{
padding-left:0;
}
.wp-block-latest-posts>li{
overflow:hidden;
}
@@ -1287,10 +1182,6 @@ figure.wp-block-image:not(.wp-block){
display:inline;
}
.edit-post-visual-editor .wp-block-latest-posts.is-grid li{
margin-bottom:20px;
}
.editor-latest-posts-image-alignment-control .components-base-control__label{
display:block;
}
@@ -1298,6 +1189,14 @@ figure.wp-block-image:not(.wp-block){
border-radius:2px;
}
:root :where(.wp-block-latest-posts){
padding-left:2.5em;
}
:root :where(.wp-block-latest-posts.is-grid),:root :where(.wp-block-latest-posts__list){
padding-left:0;
}
.wp-block-media-text__media{
position:relative;
}
@@ -1321,13 +1220,16 @@ figure.wp-block-image:not(.wp-block){
width:100% !important;
}
.wp-block-media-text.is-image-fill .editor-media-container__resizer{
.wp-block-media-text.is-image-fill .components-placeholder.has-illustration,.wp-block-media-text.is-image-fill .editor-media-container__resizer{
height:100% !important;
}
.wp-block-media-text>.block-editor-block-list__layout>.block-editor-block-list__block{
max-width:unset;
}
.wp-block-media-text--placeholder-image{
min-height:205px;
}
.block-editor-block-list__block[data-type="core/more"]{
margin-bottom:28px;
@@ -1681,10 +1583,6 @@ figure.wp-block-image:not(.wp-block){
top:141px;
}
.is-sidebar-opened .wp-block-navigation__responsive-container.is-menu-open{
right:280px;
}
.is-fullscreen-mode .wp-block-navigation__responsive-container.is-menu-open{
left:0;
top:155px;
@@ -2068,17 +1966,8 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
display:inline;
}
.wp-block-rss__placeholder-form>*{
margin-bottom:8px;
}
@media (min-width:782px){
.wp-block-rss__placeholder-form>*{
margin-bottom:0;
}
}
.wp-block-rss__placeholder-form .wp-block-rss__placeholder-input{
flex:1;
min-width:80%;
flex:1 1 auto;
}
.wp-block[data-align=center] .wp-block-search .wp-block-search__inside-wrapper{
@@ -2101,14 +1990,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
padding-bottom:.1px;
padding-top:.1px;
}
.block-editor-block-list__block[data-type="core/separator"].wp-block-separator.is-style-dots{
background:none !important;
border:none;
}
[data-type="core/shortcode"].components-placeholder{
min-height:0;
}
.blocks-shortcode__textarea{
background:#fff !important;
@@ -2149,14 +2030,24 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
.wp-block-site-logo .custom-logo-link:focus{
box-shadow:none;
}
.wp-block-site-logo .custom-logo-link.is-transient img{
opacity:.3;
}
.wp-block-site-logo img{
display:block;
height:auto;
max-width:100%;
}
.wp-block-site-logo.is-transient{
position:relative;
}
.wp-block-site-logo.is-transient img{
opacity:.3;
}
.wp-block-site-logo.is-transient .components-spinner{
left:50%;
margin:0;
position:absolute;
top:50%;
transform:translate(-50%, -50%);
}
.wp-block-site-logo.wp-block-site-logo.is-default-size .components-placeholder{
height:60px;
@@ -2189,6 +2080,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
display:flex;
height:48px;
justify-content:center;
margin:auto;
padding:0;
position:relative;
width:48px;
@@ -2245,28 +2137,39 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
padding:1em 0;
}
.editor-styles-wrapper .wp-block-site-title a{
.editor-styles-wrapper :where(.wp-block-site-title a){
color:inherit;
}
.wp-block-social-links .wp-social-link{
line-height:0;
}
.wp-block-social-links .wp-social-link button{
.wp-block-social-link-anchor{
align-items:center;
background:none;
border:0;
box-sizing:border-box;
color:currentColor;
cursor:pointer;
display:inline-flex;
font-size:inherit;
height:auto;
line-height:0;
opacity:1;
padding:.25em;
}
.wp-block-social-link-anchor:focus:not(:disabled){
border-radius:2px;
box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
outline:3px solid #0000;
}
.wp-block-social-links.is-style-pill-shape .wp-social-link button{
:root :where(.wp-block-social-links.is-style-pill-shape .wp-social-link button){
padding-left:.66667em;
padding-right:.66667em;
}
.wp-block-social-links.is-style-logos-only .wp-social-link button{
:root :where(.wp-block-social-links.is-style-logos-only .wp-social-link button){
padding:0;
}
@@ -2274,18 +2177,24 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
display:inline-block;
margin-left:8px;
}
.wp-block-social-links.wp-block-social-links{
background:none;
}
.wp-social-link:hover{
transform:none;
}
.editor-styles-wrapper .wp-block-social-links{
:root :where(.wp-block-social-links),:root :where(.wp-block-social-links.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link){
padding:0;
}
:root :where(.wp-block-social-links__social-placeholder .wp-social-link){
padding:.25em;
}
:root :where(.wp-block-social-links.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link){
padding-left:.66667em;
padding-right:.66667em;
}
.wp-block-social-links__social-placeholder{
display:flex;
list-style:none;
@@ -2302,16 +2211,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
.wp-block-social-links__social-placeholder>.wp-block-social-links__social-placeholder-icons{
display:flex;
}
.wp-block-social-links__social-placeholder .wp-social-link{
padding:.25em;
}
.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link{
padding-left:.66667em;
padding-right:.66667em;
}
.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link{
padding:0;
}
.wp-block-social-links__social-placeholder .wp-social-link:before{
border-radius:50%;
content:"";
@@ -2332,7 +2231,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
margin-bottom:auto;
margin-top:auto;
min-height:24px;
order:2;
padding-right:8px;
}
@@ -2459,15 +2357,15 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
top:0;
z-index:2;
}
.block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after,.block-editor-block-list__block:not(.remove-outline).is-reusable.is-highlighted:after,.block-editor-block-list__block:not(.remove-outline).is-reusable.is-selected:after,.block-editor-block-list__block:not(.remove-outline).wp-block-template-part.block-editor-block-list__block:not([contenteditable]):focus:after,.block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-highlighted:after,.block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-selected:after{
outline-color:var(--wp-block-synced-color);
}
.is-dark-theme .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after,.is-dark-theme .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.block-editor-block-list__block:not([contenteditable]):focus:after{
outline-color:#fff;
}
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.is-highlighted,.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.is-selected,.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-highlighted,.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-selected{
box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color);
}
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after,.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.block-editor-block-list__block:not([contenteditable]):focus:after{
box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color);
}
.is-dark-theme .is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus:after,.is-dark-theme .is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.block-editor-block-list__block:not([contenteditable]):focus:after{
box-shadow:0 0 0 var(--wp-admin-border-width-focus) #fff;
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.has-editable-outline:after{
border:none;
}
.wp-block-text-columns .block-editor-rich-text__editable:focus{
@@ -2593,10 +2491,11 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
}
.block-library-query-pattern__selection-modal .block-library-query-pattern__selection-search{
background:#fff;
margin-bottom:2px;
margin-bottom:-4px;
padding:16px 0;
position:sticky;
top:0;
transform:translateY(-4px);
z-index:2;
}
@@ -2670,6 +2569,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
display:flex;
height:48px;
justify-content:center;
margin:auto;
padding:0;
position:relative;
width:48px;
@@ -2720,6 +2620,18 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
opacity:1;
pointer-events:auto;
}
.wp-block-post-featured-image.is-transient{
position:relative;
}
.wp-block-post-featured-image.is-transient img{
opacity:.3;
}
.wp-block-post-featured-image.is-transient .components-spinner{
left:50%;
position:absolute;
top:50%;
transform:translate(-50%, -50%);
}
div[data-type="core/post-featured-image"] img{
display:block;
@@ -2778,11 +2690,6 @@ div[data-type="core/post-featured-image"] img{
background:linear-gradient(135deg, #020381, #2874fc);
}
:where(.editor-styles-wrapper){
--wp--preset--font-size--normal:16px;
--wp--preset--font-size--huge:42px;
}
:where(.editor-styles-wrapper) .has-regular-font-size{
font-size:16px;
}
@@ -2790,14 +2697,6 @@ div[data-type="core/post-featured-image"] img{
:where(.editor-styles-wrapper) .has-larger-font-size{
font-size:42px;
}
:where(.editor-styles-wrapper) .has-normal-font-size{
font-size:var(--wp--preset--font-size--normal);
}
:where(.editor-styles-wrapper) .has-huge-font-size{
font-size:var(--wp--preset--font-size--huge);
}
:where(.editor-styles-wrapper) iframe:not([frameborder]){
border:0;
}