Compare commits
77 Commits
6.4-branch
...
6.1.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c927cb503a | ||
|
|
0e5fcd6b0b | ||
|
|
db5f688eb1 | ||
|
|
6d319069b0 | ||
|
|
5041735c6b | ||
|
|
8e93232c37 | ||
|
|
410aedc35b | ||
|
|
4685bd0b15 | ||
|
|
63e2d9d0d7 | ||
|
|
4a20d03fba | ||
|
|
23546129a6 | ||
|
|
5a6761f54f | ||
|
|
726dfff138 | ||
|
|
f02ff374b2 | ||
|
|
8dadc6bb25 | ||
|
|
44981a9b9c | ||
|
|
93cac07625 | ||
|
|
d8cd75854d | ||
|
|
03af8a6e91 | ||
|
|
bc26f71bc1 | ||
|
|
15e9ecd961 | ||
|
|
309d6d1df8 | ||
|
|
bf169434a2 | ||
|
|
0609e60b70 | ||
|
|
78f74518f1 | ||
|
|
c5374bbbdc | ||
|
|
98d234aef0 | ||
|
|
c591c9f198 | ||
|
|
7d0e04dfd6 | ||
|
|
59ff3d2bb1 | ||
|
|
31e58d80b9 | ||
|
|
0bf82203fd | ||
|
|
e988ef55b7 | ||
|
|
2855b38359 | ||
|
|
73cd0d0c47 | ||
|
|
65a6a14ed6 | ||
|
|
f34c1f10d1 | ||
|
|
5024b6b781 | ||
|
|
d6ec0b0ae2 | ||
|
|
77dd4175a7 | ||
|
|
1d1a27971a | ||
|
|
847229f290 | ||
|
|
1e31240197 | ||
|
|
f4e379c341 | ||
|
|
1c2e7ce15d | ||
|
|
3fd42e6c72 | ||
|
|
e848e79e2f | ||
|
|
df15e9fb00 | ||
|
|
226776e4ee | ||
|
|
c73acbf2d4 | ||
|
|
fb2e1cfc1f | ||
|
|
cf0de36584 | ||
|
|
4a6edf83db | ||
|
|
b0d657e4ff | ||
|
|
968dc8b8be | ||
|
|
0fdfa8f786 | ||
|
|
77ca44c456 | ||
|
|
7bd82c4365 | ||
|
|
7eae5691ec | ||
|
|
73630df97f | ||
|
|
a2dd830e51 | ||
|
|
dd9429d051 | ||
|
|
92f0e31460 | ||
|
|
f2dce6114b | ||
|
|
0e34d61860 | ||
|
|
a505398b95 | ||
|
|
6aaf9c555c | ||
|
|
5e30597091 | ||
|
|
c86321e63e | ||
|
|
08087607bd | ||
|
|
940994d78d | ||
|
|
c46c60f71d | ||
|
|
0af9b6039c | ||
|
|
df05f8142f | ||
|
|
13ca935575 | ||
|
|
91a35303b4 | ||
|
|
90e37c849d |
@@ -42,6 +42,37 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="about__section changelog">
|
||||
<div class="column">
|
||||
<h2><?php _e( 'Maintenance and Security Releases' ); ?></h2>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: WordPress version number, 2: Plural number of bugs. */
|
||||
_n(
|
||||
'<strong>Version %1$s</strong> addressed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed %2$s bugs.',
|
||||
50
|
||||
),
|
||||
'6.1.1',
|
||||
'50'
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL. */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version. */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '6.1.1' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="about__section">
|
||||
<div class="column">
|
||||
<h2 class="aligncenter">
|
||||
@@ -62,7 +93,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
<div class="about__section has-2-columns">
|
||||
<div class="column">
|
||||
<div class="about__image" style="background-color:#353535;">
|
||||
<img src="https://make.wordpress.org/core/files/2022/10/about-61-style-variations.webp" alt="" />
|
||||
<img src="https://s.w.org/images/core/6.1/about-61-style-variations.webp" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="column is-vertically-aligned-center">
|
||||
@@ -96,7 +127,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
</div>
|
||||
<div class="column">
|
||||
<div class="about__image has-subtle-background-color">
|
||||
<img src="https://make.wordpress.org/core/files/2022/10/about-61-templates.webp" alt="" />
|
||||
<img src="https://s.w.org/images/core/6.1/about-61-templates.webp" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -104,7 +135,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
<div class="about__section has-2-columns">
|
||||
<div class="column">
|
||||
<div class="about__image has-subtle-background-color">
|
||||
<img src="https://make.wordpress.org/core/files/2022/10/about-61-design-tools.webp" alt="" />
|
||||
<img src="https://s.w.org/images/core/6.1/about-61-design-tools.webp" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="column is-vertically-aligned-center">
|
||||
@@ -136,7 +167,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
</div>
|
||||
<div class="column">
|
||||
<div class="about__image has-subtle-background-color">
|
||||
<img src="https://make.wordpress.org/core/files/2022/10/about-61-navigation.webp" alt="" />
|
||||
<img src="https://s.w.org/images/core/6.1/about-61-navigation.webp" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -144,14 +175,14 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
<div class="about__section has-2-columns">
|
||||
<div class="column">
|
||||
<div class="about__image has-accent-background-color">
|
||||
<img src="https://make.wordpress.org/core/files/2022/10/about-61-document-settings.webp" alt="" />
|
||||
<img src="https://s.w.org/images/core/6.1/about-61-document-settings.webp" alt="" />
|
||||
</div>
|
||||
<h3><?php _e( 'Improved layout and visualization of document settings' ); ?></h3>
|
||||
<p><?php _e( 'A cleaner, better-organized display helps you easily view and manage important post and page settings, especially the template picker and scheduler.' ); ?></p>
|
||||
</div>
|
||||
<div class="column">
|
||||
<div class="about__image has-accent-background-color">
|
||||
<img src="https://make.wordpress.org/core/files/2022/10/about-61-lock.webp" alt="" />
|
||||
<img src="https://s.w.org/images/core/6.1/about-61-lock.webp" alt="" />
|
||||
</div>
|
||||
<h3><?php _e( 'One-click lock settings for all inner blocks' ); ?></h3>
|
||||
<p><?php _e( 'When locking blocks, a new toggle lets you apply your lock settings to all the blocks in a containing block like the group, cover, and column blocks.' ); ?></p>
|
||||
@@ -161,21 +192,21 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
<div class="about__section has-3-columns">
|
||||
<div class="column">
|
||||
<div class="column about__image is-edge-to-edge has-accent-background-color">
|
||||
<img src="https://make.wordpress.org/core/files/2022/10/about-61-sub-feature-1.webp" alt="" />
|
||||
<img src="https://s.w.org/images/core/6.1/about-61-sub-feature-1.webp" alt="" />
|
||||
</div>
|
||||
<h3 class="is-smaller-heading"><?php _e( 'Improved block placeholders' ); ?></h3>
|
||||
<p><?php _e( 'Various blocks have improved placeholders that reflect customization options to help you design your site and its content. For example, the Image block placeholder displays custom borders and duotone filters even before selecting an image.' ); ?></p>
|
||||
</div>
|
||||
<div class="column">
|
||||
<div class="column about__image is-edge-to-edge has-accent-background-color">
|
||||
<img src="https://make.wordpress.org/core/files/2022/10/about-61-sub-feature-2.webp" alt="" />
|
||||
<img src="https://s.w.org/images/core/6.1/about-61-sub-feature-2.webp" alt="" />
|
||||
</div>
|
||||
<h3 class="is-smaller-heading"><?php _e( 'Compose richer lists and quotes with inner blocks' ); ?></h3>
|
||||
<p><?php _e( 'The List and Quote blocks now support inner blocks, allowing for more flexible and rich compositions like adding headings inside your Quote blocks.' ); ?></p>
|
||||
</div>
|
||||
<div class="column">
|
||||
<div class="column about__image is-edge-to-edge has-accent-background-color">
|
||||
<img src="https://make.wordpress.org/core/files/2022/10/about-61-sub-feature-3.webp" alt="" />
|
||||
<img src="https://s.w.org/images/core/6.1/about-61-sub-feature-3.webp" alt="" />
|
||||
</div>
|
||||
<h3 class="is-smaller-heading"><?php _e( 'More responsive text with fluid typography' ); ?></h3>
|
||||
<p>
|
||||
@@ -214,7 +245,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: Link to "full site editing" themes on WordPress.org. */
|
||||
/* translators: %s: Link to Block Themes on WordPress.org. */
|
||||
__( 'The Themes Directory has <a href="%s">a filter for block themes</a>, and a pattern preview gives a better sense of what the theme might look like while exploring different themes and patterns.' ),
|
||||
esc_url( __( 'https://wordpress.org/themes/tags/full-site-editing/' ) )
|
||||
);
|
||||
@@ -483,7 +514,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
|
||||
<div class="about__section has-2-columns is-wider-right">
|
||||
<div class="column about__image is-vertically-aligned-top">
|
||||
<a href="#">
|
||||
<a href="https://youtu.be/1w9oywSa6Hw">
|
||||
<img src="data:image/svg+xml,%3Csvg width='269' height='163' viewBox='0 0 269 163' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23a)'%3E%3Crect width='269' height='163' rx='4' fill='%23FDFF85'/%3E%3Cpath d='M238.84 130.043a1 1 0 0 0-1.524.852v8.21a1 1 0 0 0 1.524.852l6.671-4.105a1 1 0 0 0 0-1.703l-6.671-4.106Z' fill='%231E1E1E'/%3E%3Crect x='226.25' y='120.25' width='29.5' height='29.5' rx='2.75' stroke='%231E1E1E' stroke-width='1.5'/%3E%3Cpath d='M99.597 127.44c-6.16 0-11.36-1.16-15.6-3.48-4.24-2.32-7.68-5.4-10.32-9.24-2.56-3.84-4.4-8.16-5.52-12.96A64.74 64.74 0 0 1 66.477 87c0-9.28 1.28-17.4 3.84-24.36 2.64-6.96 6.4-12.36 11.28-16.2 4.88-3.92 10.8-5.88 17.76-5.88 5.521 0 10.241 1.08 14.161 3.24s6.96 5.04 9.12 8.64c2.24 3.6 3.6 7.52 4.08 11.76h-11.88c-.72-4.16-2.44-7.36-5.16-9.6-2.72-2.24-6.2-3.36-10.44-3.36-5.84 0-10.68 2.76-14.52 8.28-3.76 5.44-5.76 13.84-6 25.2 1.92-3.52 4.88-6.52 8.88-9 4.08-2.48 8.76-3.72 14.04-3.72 4.72 0 9.12 1.12 13.2 3.36 4.16 2.24 7.52 5.4 10.08 9.48 2.64 4 3.96 8.76 3.96 14.28 0 4.88-1.2 9.48-3.6 13.8-2.4 4.32-5.8 7.84-10.2 10.56-4.32 2.64-9.48 3.96-15.48 3.96Zm-.72-11.04c3.361 0 6.361-.72 9.001-2.16 2.64-1.44 4.72-3.4 6.24-5.88 1.52-2.56 2.28-5.44 2.28-8.64 0-5.12-1.68-9.2-5.04-12.24-3.28-3.04-7.48-4.56-12.6-4.56-3.36 0-6.4.76-9.12 2.28-2.64 1.52-4.72 3.56-6.24 6.12-1.52 2.48-2.28 5.24-2.28 8.28 0 3.28.76 6.2 2.28 8.76 1.6 2.48 3.72 4.44 6.36 5.88 2.72 1.44 5.76 2.16 9.12 2.16Zm45.925 10.32c-2.4 0-4.4-.76-6-2.28-1.52-1.6-2.28-3.48-2.28-5.64 0-2.24.76-4.12 2.28-5.64 1.6-1.6 3.6-2.4 6-2.4s4.36.8 5.88 2.4c1.52 1.52 2.28 3.4 2.28 5.64 0 2.16-.76 4.04-2.28 5.64-1.52 1.52-3.48 2.28-5.88 2.28Zm26.814-.72V56.4l-13.56 3.12v-9.36l18.6-8.16h8.16v84h-13.2Z' fill='%231E1E1E'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Crect width='269' height='163' rx='4' fill='%23fff'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A" alt="<?php echo esc_attr( __( 'Exploring WordPress 6.1 video' ) ); ?>" />
|
||||
</a>
|
||||
</div>
|
||||
@@ -502,7 +533,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
printf(
|
||||
/* translators: %s: 6.1 overview video link. */
|
||||
__( 'See WordPress 6.1 in action! <a href="%s">Watch a brief overview video</a> highlighting some of the major features debuting in WordPress 6.1.' ),
|
||||
'#'
|
||||
'https://youtu.be/1w9oywSa6Hw'
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
1.3 Header
|
||||
2.0 Credits Page
|
||||
3.0 Freedoms Page
|
||||
4.0 Privacy Page
|
||||
x.2.0 Legacy About Styles: Global
|
||||
x.2.1 Typography
|
||||
x.2.2 Structure
|
||||
@@ -946,7 +947,19 @@
|
||||
|
||||
.about__section .column .freedom-image {
|
||||
margin-bottom: var(--gap);
|
||||
max-height: 140px;
|
||||
max-height: 180px;
|
||||
}
|
||||
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
4.0 - Privacy Page
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
.about__section .column .privacy-image {
|
||||
display: block;
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
max-width: 25rem;
|
||||
}
|
||||
|
||||
|
||||
|
||||
2
wp-admin/css/about-rtl.min.css
vendored
@@ -7,6 +7,7 @@
|
||||
1.3 Header
|
||||
2.0 Credits Page
|
||||
3.0 Freedoms Page
|
||||
4.0 Privacy Page
|
||||
x.2.0 Legacy About Styles: Global
|
||||
x.2.1 Typography
|
||||
x.2.2 Structure
|
||||
@@ -945,7 +946,19 @@
|
||||
|
||||
.about__section .column .freedom-image {
|
||||
margin-bottom: var(--gap);
|
||||
max-height: 140px;
|
||||
max-height: 180px;
|
||||
}
|
||||
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
4.0 - Privacy Page
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
.about__section .column .privacy-image {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
max-width: 25rem;
|
||||
}
|
||||
|
||||
|
||||
|
||||
2
wp-admin/css/about.min.css
vendored
@@ -788,7 +788,7 @@ div#wp-responsive-toggle a:before {
|
||||
background-color: $dashboard-accent-1;
|
||||
}
|
||||
|
||||
.welcome-panel-header-image path {
|
||||
.welcome-panel-header-image circle {
|
||||
stroke: $dashboard-accent-2;
|
||||
fill: $dashboard-accent-1;
|
||||
}
|
||||
|
||||
@@ -710,7 +710,7 @@ div#wp-responsive-toggle a:before {
|
||||
background-color: #096484;
|
||||
}
|
||||
|
||||
.welcome-panel-header-image path {
|
||||
.welcome-panel-header-image circle {
|
||||
stroke: rgba(255, 255, 255, 0.5);
|
||||
fill: #096484;
|
||||
}
|
||||
|
||||
2
wp-admin/css/colors/blue/colors-rtl.min.css
vendored
@@ -710,7 +710,7 @@ div#wp-responsive-toggle a:before {
|
||||
background-color: #096484;
|
||||
}
|
||||
|
||||
.welcome-panel-header-image path {
|
||||
.welcome-panel-header-image circle {
|
||||
stroke: rgba(255, 255, 255, 0.5);
|
||||
fill: #096484;
|
||||
}
|
||||
|
||||
2
wp-admin/css/colors/blue/colors.min.css
vendored
@@ -677,7 +677,7 @@ div#wp-responsive-toggle a:before {
|
||||
background-color: #c7a589;
|
||||
}
|
||||
|
||||
.welcome-panel-header-image path {
|
||||
.welcome-panel-header-image circle {
|
||||
stroke: rgba(255, 255, 255, 0.5);
|
||||
fill: #c7a589;
|
||||
}
|
||||
|
||||
@@ -677,7 +677,7 @@ div#wp-responsive-toggle a:before {
|
||||
background-color: #c7a589;
|
||||
}
|
||||
|
||||
.welcome-panel-header-image path {
|
||||
.welcome-panel-header-image circle {
|
||||
stroke: rgba(255, 255, 255, 0.5);
|
||||
fill: #c7a589;
|
||||
}
|
||||
|
||||
2
wp-admin/css/colors/coffee/colors.min.css
vendored
@@ -710,7 +710,7 @@ div#wp-responsive-toggle a:before {
|
||||
background-color: #523f6d;
|
||||
}
|
||||
|
||||
.welcome-panel-header-image path {
|
||||
.welcome-panel-header-image circle {
|
||||
stroke: rgba(255, 255, 255, 0.5);
|
||||
fill: #523f6d;
|
||||
}
|
||||
|
||||
@@ -710,7 +710,7 @@ div#wp-responsive-toggle a:before {
|
||||
background-color: #523f6d;
|
||||
}
|
||||
|
||||
.welcome-panel-header-image path {
|
||||
.welcome-panel-header-image circle {
|
||||
stroke: rgba(255, 255, 255, 0.5);
|
||||
fill: #523f6d;
|
||||
}
|
||||
|
||||
2
wp-admin/css/colors/ectoplasm/colors.min.css
vendored
@@ -710,7 +710,7 @@ div#wp-responsive-toggle a:before {
|
||||
background-color: #04a4cc;
|
||||
}
|
||||
|
||||
.welcome-panel-header-image path {
|
||||
.welcome-panel-header-image circle {
|
||||
stroke: rgba(255, 255, 255, 0.5);
|
||||
fill: #04a4cc;
|
||||
}
|
||||
|
||||
2
wp-admin/css/colors/light/colors-rtl.min.css
vendored
@@ -710,7 +710,7 @@ div#wp-responsive-toggle a:before {
|
||||
background-color: #04a4cc;
|
||||
}
|
||||
|
||||
.welcome-panel-header-image path {
|
||||
.welcome-panel-header-image circle {
|
||||
stroke: rgba(255, 255, 255, 0.5);
|
||||
fill: #04a4cc;
|
||||
}
|
||||
|
||||
2
wp-admin/css/colors/light/colors.min.css
vendored
@@ -710,7 +710,7 @@ div#wp-responsive-toggle a:before {
|
||||
background-color: #69a8bb;
|
||||
}
|
||||
|
||||
.welcome-panel-header-image path {
|
||||
.welcome-panel-header-image circle {
|
||||
stroke: rgba(255, 255, 255, 0.5);
|
||||
fill: #69a8bb;
|
||||
}
|
||||
|
||||
@@ -710,7 +710,7 @@ div#wp-responsive-toggle a:before {
|
||||
background-color: #69a8bb;
|
||||
}
|
||||
|
||||
.welcome-panel-header-image path {
|
||||
.welcome-panel-header-image circle {
|
||||
stroke: rgba(255, 255, 255, 0.5);
|
||||
fill: #69a8bb;
|
||||
}
|
||||
|
||||
2
wp-admin/css/colors/midnight/colors.min.css
vendored
@@ -710,7 +710,7 @@ div#wp-responsive-toggle a:before {
|
||||
background-color: #273fcc;
|
||||
}
|
||||
|
||||
.welcome-panel-header-image path {
|
||||
.welcome-panel-header-image circle {
|
||||
stroke: #627eff;
|
||||
fill: #273fcc;
|
||||
}
|
||||
|
||||
@@ -710,7 +710,7 @@ div#wp-responsive-toggle a:before {
|
||||
background-color: #273fcc;
|
||||
}
|
||||
|
||||
.welcome-panel-header-image path {
|
||||
.welcome-panel-header-image circle {
|
||||
stroke: #627eff;
|
||||
fill: #273fcc;
|
||||
}
|
||||
|
||||
2
wp-admin/css/colors/modern/colors.min.css
vendored
@@ -677,7 +677,7 @@ div#wp-responsive-toggle a:before {
|
||||
background-color: #9ebaa0;
|
||||
}
|
||||
|
||||
.welcome-panel-header-image path {
|
||||
.welcome-panel-header-image circle {
|
||||
stroke: rgba(255, 255, 255, 0.5);
|
||||
fill: #9ebaa0;
|
||||
}
|
||||
|
||||
2
wp-admin/css/colors/ocean/colors-rtl.min.css
vendored
@@ -677,7 +677,7 @@ div#wp-responsive-toggle a:before {
|
||||
background-color: #9ebaa0;
|
||||
}
|
||||
|
||||
.welcome-panel-header-image path {
|
||||
.welcome-panel-header-image circle {
|
||||
stroke: rgba(255, 255, 255, 0.5);
|
||||
fill: #9ebaa0;
|
||||
}
|
||||
|
||||
2
wp-admin/css/colors/ocean/colors.min.css
vendored
@@ -710,7 +710,7 @@ div#wp-responsive-toggle a:before {
|
||||
background-color: #dd823b;
|
||||
}
|
||||
|
||||
.welcome-panel-header-image path {
|
||||
.welcome-panel-header-image circle {
|
||||
stroke: rgba(255, 255, 255, 0.5);
|
||||
fill: #dd823b;
|
||||
}
|
||||
|
||||
@@ -710,7 +710,7 @@ div#wp-responsive-toggle a:before {
|
||||
background-color: #dd823b;
|
||||
}
|
||||
|
||||
.welcome-panel-header-image path {
|
||||
.welcome-panel-header-image circle {
|
||||
stroke: rgba(255, 255, 255, 0.5);
|
||||
fill: #dd823b;
|
||||
}
|
||||
|
||||
2
wp-admin/css/colors/sunrise/colors.min.css
vendored
@@ -57,22 +57,22 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
|
||||
<div class="about__section has-2-columns">
|
||||
<div class="column aligncenter">
|
||||
<img class="freedom-image" src="<?php echo esc_url( admin_url( 'images/freedom-1.svg' ) ); ?>" alt="" />
|
||||
<img class="freedom-image" src="<?php echo esc_url( admin_url( 'images/freedom-1.svg?ver=6.1' ) ); ?>" alt="" />
|
||||
<h2 class="is-smaller-heading"><?php _e( 'The 1st Freedom' ); ?></h2>
|
||||
<p><?php _e( 'To run the program for any purpose.' ); ?></p>
|
||||
</div>
|
||||
<div class="column aligncenter">
|
||||
<img class="freedom-image" src="<?php echo esc_url( admin_url( 'images/freedom-2.svg' ) ); ?>" alt="" />
|
||||
<img class="freedom-image" src="<?php echo esc_url( admin_url( 'images/freedom-2.svg?ver=6.1' ) ); ?>" alt="" />
|
||||
<h2 class="is-smaller-heading"><?php _e( 'The 2nd Freedom' ); ?></h2>
|
||||
<p><?php _e( 'To study how the program works and change it to make it do what you wish.' ); ?></p>
|
||||
</div>
|
||||
<div class="column aligncenter">
|
||||
<img class="freedom-image" src="<?php echo esc_url( admin_url( 'images/freedom-3.svg' ) ); ?>" alt="" />
|
||||
<img class="freedom-image" src="<?php echo esc_url( admin_url( 'images/freedom-3.svg?ver=6.1' ) ); ?>" alt="" />
|
||||
<h2 class="is-smaller-heading"><?php _e( 'The 3rd Freedom' ); ?></h2>
|
||||
<p><?php _e( 'To redistribute.' ); ?></p>
|
||||
</div>
|
||||
<div class="column aligncenter">
|
||||
<img class="freedom-image" src="<?php echo esc_url( admin_url( 'images/freedom-4.svg' ) ); ?>" alt="" />
|
||||
<img class="freedom-image" src="<?php echo esc_url( admin_url( 'images/freedom-4.svg?ver=6.1' ) ); ?>" alt="" />
|
||||
<h2 class="is-smaller-heading"><?php _e( 'The 4th Freedom' ); ?></h2>
|
||||
<p><?php _e( 'To distribute copies of your modified versions to others.' ); ?></p>
|
||||
</div>
|
||||
|
||||
@@ -1,5 +1 @@
|
||||
<svg width="521" height="504" viewBox="0 0 521 504" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
|
||||
<path class="about-six" d="M265.692 238.093c0 17.061-3.506 33.055-10.518 47.984-6.707 14.928-16.006 28.028-27.895 39.301-11.89 10.968-25.914 19.651-42.072 26.048-15.853 6.398-32.926 9.597-51.218 9.597-19.816 0-37.956-3.808-54.419-11.425-16.462-7.921-30.639-18.889-42.529-32.903-11.585-14.014-20.73-30.618-27.438-49.812C3.201 247.385 0 225.906 0 202.447c0-27.724 4.268-53.772 12.804-78.145 8.537-24.678 20.122-46.157 34.755-64.436 14.634-18.584 31.707-33.208 51.218-43.871C118.289 5.332 139.172 0 161.427 0c12.195 0 23.628 1.371 34.298 4.113 10.67 2.437 19.816 5.94 27.438 10.51 7.927 4.57 14.176 10.054 18.749 16.452 4.573 6.094 6.86 12.796 6.86 20.108 0 8.835-2.744 15.842-8.232 21.022-5.487 4.874-12.804 7.311-21.95 7.311-6.402 0-11.433-1.37-15.091-4.112-3.658-2.742-6.86-6.094-9.603-10.054-2.439-3.96-4.726-8.226-6.86-12.796-2.134-4.875-4.878-9.292-8.231-13.253-3.049-3.96-7.012-7.312-11.89-10.054-4.878-2.741-11.433-4.113-19.664-4.113-10.061 0-19.359 3.352-27.895 10.054-8.537 6.398-16.006 15.386-22.408 26.963-6.097 11.272-10.975 24.677-14.634 40.215-3.658 15.538-5.487 32.446-5.487 50.726l1.371.914c9.756-10.968 19.97-19.041 30.64-24.22 10.975-5.18 23.779-7.769 38.413-7.769 16.768 0 32.316 3.046 46.645 9.14 14.633 5.788 27.133 13.862 37.498 24.22 10.671 10.359 19.055 22.697 25.152 37.016 6.097 14.015 9.146 29.248 9.146 45.7Zm-189.78-10.968c0 35.95 5.03 63.065 15.09 81.344 10.366 18.28 25.305 27.42 44.816 27.42 19.207 0 33.383-7.769 42.529-23.307 9.146-15.538 13.719-39.758 13.719-72.661 0-29.857-4.42-52.402-13.261-67.635-8.537-15.538-21.189-23.307-37.956-23.307-13.414 0-25.152 4.265-35.212 12.796-10.061 8.53-19.97 22.088-29.725 40.672v24.678Z" fill="#3858E9" style="mix-blend-mode:multiply"/>
|
||||
<path d="M156.25 398.381c0-8.068 2.648-14.877 7.943-20.424 5.547-5.799 12.355-8.699 20.424-8.699 8.321 0 15.255 2.9 20.803 8.699 5.547 5.547 8.321 12.356 8.321 20.424 0 7.817-2.774 14.499-8.321 20.047-5.548 5.295-12.482 7.942-20.803 7.942-8.069 0-14.877-2.647-20.424-7.942-5.295-5.548-7.943-12.23-7.943-20.047Z" fill="#2F2F2F" style="mix-blend-mode:multiply"/>
|
||||
<path class="about-zero" d="M369.361 142.207c20.947 0 40.528 4.722 58.743 14.167 18.519 9.444 34.608 22.392 48.269 38.844 13.662 16.452 24.439 35.798 32.332 58.038 8.196 22.24 12.295 46.308 12.295 72.205 0 24.677-4.099 47.831-12.295 69.462-7.893 21.631-18.67 40.52-32.332 56.667-13.661 15.843-29.75 28.486-48.269 37.931-18.215 9.139-37.796 13.709-58.743 13.709-20.643 0-40.072-4.57-58.287-13.709-17.911-9.445-33.697-22.088-47.358-37.931-13.358-16.147-23.983-35.036-31.876-56.667-7.893-21.631-11.84-44.785-11.84-69.462 0-25.897 3.947-49.965 11.84-72.205 7.893-22.24 18.518-41.586 31.876-58.038 13.661-16.452 29.447-29.4 47.358-38.844 18.215-9.445 37.644-14.167 58.287-14.167Zm0 334.518c10.929 0 20.644-2.285 29.144-6.855 8.804-4.875 16.242-13.101 22.313-24.678 6.072-11.577 10.626-26.962 13.661-46.156 3.34-19.193 5.009-43.262 5.009-72.204 0-30.162-1.669-55.296-5.009-75.404-3.035-20.412-7.589-36.712-13.661-48.898-6.071-12.187-13.509-20.869-22.313-26.049-8.5-5.179-18.215-7.768-29.144-7.768-10.928 0-20.795 2.589-29.599 7.768-8.5 5.18-15.786 13.862-21.857 26.049-6.072 12.186-10.778 28.486-14.117 48.898-3.036 20.108-4.554 45.242-4.554 75.404 0 28.942 1.518 53.011 4.554 72.204 3.339 19.194 8.045 34.579 14.117 46.156 6.071 11.577 13.357 19.803 21.857 24.678 8.804 4.57 18.671 6.855 29.599 6.855Z" fill="#1B8362" style="mix-blend-mode:multiply"/>
|
||||
</svg>
|
||||
<svg width="780" height="550" viewBox="0 0 780 550" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><g opacity=".5" fill="#273FCC" stroke="#627EFF" stroke-width="2" stroke-miterlimit="10"><circle cx="434.757" cy="71.524" r="66.1" /><circle cx="432.587" cy="43.138" r="66.1" /><circle cx="426.277" cy="16.14" r="66.1" /><circle cx="416.143" cy="-9.165" r="66.1" /><circle cx="402.53" cy="-32.447" r="66.1" /><circle cx="385.755" cy="-53.376" r="66.1" /><circle cx="116.864" cy="-53.072" r="66.1" /><circle cx="99.984" cy="-32.183" r="66.1" /><circle cx="86.278" cy="-8.953" r="66.1" /><circle cx="76.078" cy="16.3" r="66.1" /><circle cx="69.714" cy="43.23" r="66.1" /><circle cx="67.518" cy="71.524" r="66.1" /><circle cx="67.518" cy="71.524" r="66.1" /><circle cx="67.518" cy="99.05" r="66.1" /><circle cx="67.518" cy="126.577" r="66.1" /><circle cx="67.518" cy="154.09" r="66.1" /><circle cx="67.518" cy="181.617" r="66.1" /><circle cx="67.518" cy="209.143" r="66.1" /><circle cx="67.518" cy="236.67" r="66.1" /><circle cx="67.518" cy="264.196" r="66.1" /><circle cx="67.518" cy="291.722" r="66.1" /><circle cx="67.518" cy="319.236" r="66.1" /><circle cx="67.518" cy="346.762" r="66.1" /><circle cx="67.518" cy="374.289" r="66.1" /><circle cx="67.518" cy="374.831" r="66.1" /><circle cx="68.471" cy="393.565" r="66.1" /><circle cx="71.249" cy="411.757" r="66.1" /><circle cx="75.76" cy="429.315" r="66.1" /><circle cx="81.925" cy="446.146" r="66.1" /><circle cx="89.651" cy="462.17" r="66.1" /><circle cx="411.579" cy="464.073" r="66.1" /><circle cx="423.208" cy="438.98" r="66.1" /><circle cx="430.986" cy="412.008" r="66.1" /><circle cx="434.558" cy="383.517" r="66.1" /><circle cx="433.831" cy="354.43" r="66.1" /><circle cx="428.777" cy="326.428" r="66.1" /><circle cx="419.635" cy="300.078" r="66.1" /><circle cx="406.763" cy="275.725" r="66.1" /><circle cx="390.491" cy="253.698" r="66.1" /><circle cx="371.189" cy="234.369" r="66.1" /><circle cx="349.188" cy="218.054" r="66.1" /><circle cx="324.846" cy="205.124" r="66.1" /><circle cx="298.506" cy="195.896" r="66.1" /><circle cx="270.512" cy="190.739" r="66.1" /><circle cx="241.368" cy="189.986" r="66.1" /><circle cx="213.003" cy="193.754" r="66.1" /><circle cx="186.147" cy="201.739" r="66.1" /><circle cx="161.157" cy="213.559" r="66.1" /><circle cx="138.389" cy="228.882" r="66.1" /><circle cx="118.174" cy="247.352" r="66.1" /><circle cx="100.857" cy="268.599" r="66.1" /><circle cx="86.794" cy="292.264" r="66.1" /><circle cx="76.316" cy="318.019" r="66.1" /><circle cx="69.781" cy="345.466" r="66.1" /><circle cx="67.518" cy="374.289" r="66.1" /><circle cx="712.577" cy="449.729" r="66.1" /><circle cx="712.577" cy="428.072" r="66.1" /><circle cx="712.577" cy="406.403" r="66.1" /><circle cx="712.577" cy="384.733" r="66.1" /><circle cx="712.577" cy="363.077" r="66.1" /><circle cx="712.577" cy="341.408" r="66.1" /><circle cx="712.577" cy="319.738" r="66.1" /><circle cx="712.577" cy="298.069" r="66.1" /><circle cx="712.577" cy="276.412" r="66.1" /><circle cx="712.577" cy="254.743" r="66.1" /><circle cx="712.577" cy="233.073" r="66.1" /><circle cx="712.577" cy="211.417" r="66.1" /><circle cx="712.577" cy="189.748" r="66.1" /><circle cx="712.577" cy="168.078" r="66.1" /><circle cx="712.577" cy="146.422" r="66.1" /><circle cx="712.577" cy="124.753" r="66.1" /><circle cx="712.577" cy="103.083" r="66.1" /><circle cx="712.577" cy="81.413" r="66.1" /><circle cx="712.577" cy="59.757" r="66.1" /><circle cx="712.577" cy="38.088" r="66.1" /><circle cx="712.577" cy="16.418" r="66.1" /><circle cx="712.577" cy="-5.238" r="66.1" /><circle cx="712.577" cy="-26.907" r="66.1" /><circle cx="712.577" cy="-48.577" r="66.1" /><circle cx="662.966" cy="-44.161" r="66.1" /><circle cx="646.429" cy="-21.024" r="66.1" /><circle cx="629.893" cy="2.113" r="66.1" /><circle cx="613.356" cy="25.25" r="66.1" /><circle cx="596.819" cy="48.387" r="66.1" /><circle cx="580.282" cy="71.524" r="66.1" /><circle cx="580.282" cy="465.515" r="66.1" /></g></svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 4.0 KiB |
@@ -1,12 +1 @@
|
||||
<svg width="157" height="148" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M146.643 77.521c.122-1.213.122-2.547.122-3.76C146.765 33.622 114.143 1 74.003 1S1.24 33.621 1.24 73.762c0 40.14 32.622 72.761 72.762 72.761 33.713 0 62.09-22.919 70.336-53.965" fill="#fff"/>
|
||||
<path d="M146.643 77.521c.122-1.213.122-2.547.122-3.76C146.765 33.622 114.143 1 74.003 1S1.24 33.621 1.24 73.762c0 40.14 32.622 72.761 72.762 72.761 33.713 0 62.09-22.919 70.336-53.965" stroke="#3858E9" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M156.224 67.941l-9.517 10.182-9.401-10.182" stroke="#3858E9" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M74.003 124.694c28.129 0 50.933-22.803 50.933-50.933s-22.804-50.933-50.933-50.933c-28.13 0-50.934 22.804-50.934 50.933 0 28.13 22.804 50.933 50.934 50.933z" fill="url(#paint0_linear)" stroke="#3858E9" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear" x1="74.003" y1="22.828" x2="74.003" y2="124.694" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#ECF5FF"/>
|
||||
<stop offset="1" stop-color="#fff"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
<svg width="180" height="180" viewBox="0 0 180 180" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><g fill="#FFFFFF" stroke="#3858E9" stroke-width="1.2" stroke-miterlimit="10"><circle cx="36.3" cy="90" r="35.8"/><circle cx="37.5" cy="101.2" r="35.8"/><circle cx="40.8" cy="111.5" r="35.8"/><circle cx="46.1" cy="120.8" r="35.8"/><circle cx="53" cy="128.9" r="35.8"/><circle cx="61.4" cy="135.5" r="35.8"/><circle cx="71" cy="140.3" r="35.8"/><circle cx="81.6" cy="143.1" r="35.8"/><circle cx="92.9" cy="143.7" r="35.8"/><circle cx="103.9" cy="141.9" r="35.8"/><circle cx="114" cy="138.1" r="35.8"/><circle cx="123.1" cy="132.4" r="35.8"/><circle cx="130.8" cy="125.1" r="35.8"/><circle cx="136.9" cy="116.4" r="35.8"/><circle cx="141.2" cy="106.5" r="35.8"/><circle cx="143.5" cy="95.7" r="35.8"/><circle cx="143.5" cy="84.3" r="35.8"/><circle cx="141.2" cy="73.6" r="35.8"/><circle cx="136.9" cy="63.7" r="35.8"/><circle cx="130.8" cy="55" r="35.8"/><circle cx="123.1" cy="47.6" r="35.8"/><circle cx="114" cy="41.9" r="35.8"/><circle cx="103.9" cy="38.1" r="35.8"/><circle cx="92.9" cy="36.4" r="35.8"/><circle cx="81.6" cy="37" r="35.8"/><circle cx="71" cy="39.7" r="35.8"/><circle cx="61.4" cy="44.5" r="35.8"/><circle cx="53" cy="51.1" r="35.8"/><circle cx="46.1" cy="59.2" r="35.8"/><circle cx="40.8" cy="68.5" r="35.8"/><circle cx="37.5" cy="78.9" r="35.8"/><circle cx="36.4" cy="90" r="35.8"/></g></svg>
|
||||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 7.9 KiB |
@@ -1,37 +1 @@
|
||||
<svg width="193" height="213" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M96.591 47.235c12.623 0 22.856-10.233 22.856-22.856 0-12.623-10.233-22.856-22.856-22.856-12.623 0-22.856 10.233-22.856 22.856 0 12.623 10.233 22.856 22.856 22.856z" fill="url(#paint0_linear)" stroke="#3858E9" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M22.402 89.438c12.193 3.267 24.726-3.969 27.993-16.162 3.267-12.193-3.969-24.725-16.162-27.992-12.192-3.267-24.725 3.968-27.992 16.161-3.267 12.193 3.968 24.726 16.161 27.993z" fill="url(#paint1_linear)" stroke="#3858E9" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M170.78 89.438c12.193-3.267 19.428-15.8 16.161-27.992-3.267-12.193-15.8-19.43-27.992-16.162-12.193 3.267-19.429 15.8-16.162 27.992 3.267 12.193 15.8 19.43 27.993 16.162z" fill="url(#paint2_linear)" stroke="#3858E9" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M34.234 167.57c12.193-3.268 19.428-15.8 16.161-27.993-3.267-12.193-15.8-19.429-27.992-16.162-12.193 3.267-19.429 15.8-16.162 27.993 3.267 12.193 15.8 19.429 27.993 16.162z" fill="url(#paint3_linear)" stroke="#3858E9" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M157.423 167.569c12.193 3.267 24.726-3.968 27.993-16.161 3.267-12.193-3.969-24.726-16.162-27.993-12.193-3.267-24.725 3.969-27.992 16.162-3.267 12.193 3.968 24.725 16.161 27.992z" fill="url(#paint4_linear)" stroke="#3858E9" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M95.83 211.329c12.622 0 22.855-10.233 22.855-22.855 0-12.623-10.233-22.856-22.856-22.856-12.622 0-22.855 10.233-22.855 22.856 0 12.622 10.233 22.855 22.855 22.855z" fill="url(#paint5_linear)" stroke="#3858E9" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M96.59 144.377c21.073 0 38.158-17.158 38.158-38.324 0-21.165-17.085-38.323-38.159-38.323-21.074 0-38.158 17.157-38.158 38.323s17.084 38.324 38.158 38.324z" fill="#fff" stroke="#3858E9" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M79.243 108.789c0 9.705 7.93 17.42 17.345 17.42 9.416 0 17.345-7.964 17.345-17.42" stroke="#3858E9" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M90.883 95.351a3.72 3.72 0 01-3.71 3.73 3.72 3.72 0 01-3.71-3.73 3.72 3.72 0 013.71-3.729 3.72 3.72 0 013.71 3.73zM109.715 95.351a3.72 3.72 0 01-3.71 3.73 3.72 3.72 0 01-3.71-3.73 3.72 3.72 0 013.71-3.729 3.72 3.72 0 013.71 3.73z" fill="#3858E9" stroke="#3858E9" stroke-width="1.5"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear" x1="96.591" y1="1.523" x2="96.591" y2="47.235" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#ECF5FF"/>
|
||||
<stop offset="1" stop-color="#fff"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear" x1="34.233" y1="45.284" x2="22.402" y2="89.438" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#ECF5FF"/>
|
||||
<stop offset="1" stop-color="#fff"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint2_linear" x1="158.949" y1="45.284" x2="170.78" y2="89.438" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#ECF5FF"/>
|
||||
<stop offset="1" stop-color="#fff"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint3_linear" x1="22.403" y1="123.415" x2="34.234" y2="167.57" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#ECF5FF"/>
|
||||
<stop offset="1" stop-color="#fff"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint4_linear" x1="169.254" y1="123.415" x2="157.423" y2="167.569" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#ECF5FF"/>
|
||||
<stop offset="1" stop-color="#fff"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint5_linear" x1="95.829" y1="165.618" x2="95.829" y2="211.329" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#ECF5FF"/>
|
||||
<stop offset="1" stop-color="#fff"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
<svg width="181" height="180" viewBox="0 0 181 180" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><g fill="#FFF" stroke-miterlimit="10" stroke-width="1.2"><g stroke="#D8DEF8"><circle cx="143.2" cy="78.9" r="35.8"/><circle cx="139.9" cy="68.5" r="35.8"/><circle cx="134.6" cy="59.2" r="35.8"/><circle cx="127.7" cy="51.1" r="35.8"/><circle cx="119.3" cy="44.6" r="35.8"/><circle cx="109.7" cy="39.8" r="35.8"/><circle cx="99.1" cy="37" r="35.8"/><circle cx="87.8" cy="36.4" r="35.8"/><circle cx="76.8" cy="38.1" r="35.8"/><circle cx="66.7" cy="41.9" r="35.8"/><circle cx="57.6" cy="47.6" r="35.8"/><circle cx="49.9" cy="55" r="35.8"/><circle cx="43.8" cy="63.7" r="35.8"/><circle cx="39.4" cy="73.6" r="35.8"/><circle cx="37.2" cy="84.3" r="35.8"/><circle cx="37.2" cy="95.7" r="35.8"/><circle cx="39.5" cy="106.5" r="35.8"/><circle cx="43.8" cy="116.4" r="35.8"/><circle cx="49.9" cy="125.1" r="35.8"/><circle cx="57.6" cy="132.4" r="35.8"/><circle cx="66.7" cy="138.1" r="35.8"/><circle cx="76.9" cy="141.9" r="35.8"/></g><circle cx="87.8" cy="143.7" r="35.8" stroke="#C5CDF4"/><circle cx="99.1" cy="143.1" r="35.8" stroke="#B1BCF1"/><circle cx="109.7" cy="140.3" r="35.8" stroke="#9EAAEE"/><circle cx="119.3" cy="135.5" r="35.8" stroke="#8C9AEC"/><circle cx="127.7" cy="128.9" r="35.8" stroke="#7789E9"/><g stroke="#3858E9"><circle cx="134.9" cy="120.9" r="35.8"/><circle cx="140.2" cy="111.5" r="35.8"/><circle cx="143.2" cy="101.2" r="35.8"/><circle cx="144.4" cy="89.8" r="35.8"/><path d="m154.5 74.8-10.1 10.1-10.1-10.1m25.3 25.3L149.4 90l10.1-10.1m-30.3 0L139.3 90l-10.1 10.1m5 5.1 10.1-10.1 10.1 10.1"/><circle cx="90.6" cy="90" r="17.9"/><path d="M76.9 101.5a14.3 14.3 0 0 1 27.4 0M90.6 91.4c4 0 7.2-3.2 7.2-7.2S94.6 77 90.6 77s-7.2 3.2-7.2 7.2 3.3 7.2 7.2 7.2z"/></g></g></svg>
|
||||
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 1.8 KiB |
@@ -1,28 +1 @@
|
||||
<svg width="245" height="155" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M66.54 55.02L39.693 9.126 12.96 55.02h53.58z" fill="url(#paint0_linear)" stroke="#3858E9" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M39.75 153.084c21.074 0 38.158-17.158 38.158-38.324 0-21.165-17.084-38.323-38.159-38.323-21.074 0-38.158 17.158-38.158 38.323 0 21.166 17.084 38.324 38.158 38.324z" fill="#fff" stroke="#3858E9" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M22.404 117.499c0 9.706 7.929 17.42 17.345 17.42 9.415 0 17.344-7.963 17.344-17.42" stroke="#3858E9" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M34.044 104.061c0 2.063-1.664 3.73-3.71 3.73-2.046 0-3.71-1.667-3.71-3.73a3.72 3.72 0 013.71-3.729 3.72 3.72 0 013.71 3.729zM52.872 104.061a3.72 3.72 0 01-3.71 3.729 3.72 3.72 0 01-3.71-3.729c0-2.063 1.664-3.73 3.71-3.73 2.046 0 3.71 1.667 3.71 3.73z" fill="#3858E9" stroke="#3858E9" stroke-width="1.5"/>
|
||||
<path d="M122.734 85.772c21.074 0 38.158-17.158 38.158-38.324 0-21.165-17.084-38.323-38.158-38.323-21.075 0-38.159 17.158-38.159 38.323 0 21.166 17.084 38.324 38.159 38.324z" fill="#fff" stroke="#3858E9" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M105.392 50.188c0 9.705 7.929 17.42 17.344 17.42 9.416 0 17.345-7.964 17.345-17.42" stroke="#3858E9" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M117.031 36.75a3.72 3.72 0 01-3.71 3.728 3.72 3.72 0 01-3.71-3.729 3.72 3.72 0 013.71-3.73 3.72 3.72 0 013.71 3.73zM135.864 36.748a3.72 3.72 0 01-3.711 3.73 3.72 3.72 0 01-3.71-3.73 3.72 3.72 0 013.71-3.729 3.72 3.72 0 013.711 3.73z" fill="#3858E9" stroke="#3858E9" stroke-width="1.5"/>
|
||||
<path fill="url(#paint1_linear)" stroke="#3858E9" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round" d="M99.782 107.435h45.894v45.894H99.782z"/>
|
||||
<path d="M218.946 37.371l17.518-5.453-17.518-5.454 8.494-16.284-16.229 8.483-5.536-17.496-5.46 17.496-16.305-8.483 8.57 16.284-17.518 5.454 17.518 5.453-8.57 16.285 16.305-8.483 5.46 17.496 5.536-17.496 16.229 8.483-8.494-16.285z" fill="url(#paint2_linear)" stroke="#3858E9" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M205.714 153.083c21.074 0 38.159-17.158 38.159-38.323 0-21.166-17.085-38.324-38.159-38.324-21.074 0-38.158 17.158-38.158 38.324 0 21.165 17.084 38.323 38.158 38.323z" fill="#fff" stroke="#3858E9" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M188.368 117.499c0 9.705 7.929 17.419 17.344 17.419 9.416 0 17.345-7.963 17.345-17.419" stroke="#3858E9" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M200.008 104.06a3.72 3.72 0 01-3.711 3.73c-2.046 0-3.71-1.667-3.71-3.73a3.72 3.72 0 013.71-3.729 3.72 3.72 0 013.711 3.729zM218.839 104.06a3.72 3.72 0 01-3.71 3.729 3.72 3.72 0 01-3.71-3.729 3.72 3.72 0 013.71-3.729 3.72 3.72 0 013.71 3.729z" fill="#3858E9" stroke="#3858E9" stroke-width="1.5"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear" x1="39.749" y1="55.02" x2="39.749" y2="9.126" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#ECF5FF"/>
|
||||
<stop offset="1" stop-color="#fff"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear" x1="122.729" y1="107.435" x2="122.729" y2="153.329" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#ECF5FF"/>
|
||||
<stop offset="1" stop-color="#fff"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint2_linear" x1="205.713" y1="1.167" x2="205.713" y2="62.669" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#ECF5FF"/>
|
||||
<stop offset="1" stop-color="#fff"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
<svg width="181" height="180" viewBox="0 0 181 180" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><g fill="#FFFFFF" stroke="#3858E9" stroke-width="1.2" stroke-miterlimit="10"><path d="M32.8,144c-4.3,0-8.4,0.6-12.2,1.6c11.6,14.6,27.8,25.6,46.3,30.6c0.6-1.9,0.9-3.9,0.9-5.9C67.9,155.8,52.2,144,32.8,144z"/><path d="M32.8,133.5c-6.6,0-12.8,1.4-18.1,3.8c10.8,17.3,27.4,30.7,47,37.4c3.9-4.2,6.1-9.3,6.1-14.9C67.9,145.3,52.2,133.5,32.8,133.5z"/><path d="M67.9,149.3c0-14.5-15.7-26.3-35.1-26.3c-8.6,0-16.5,2.3-22.6,6.2c9,18.4,23.9,33.1,42.4,41.8C6.9,158.3,67.9,149.3z"/><path d="M67.9,138.8c0-14.5-15.7-26.3-35.1-26.3c-10.3,0-19.6,3.3-26,8.7c6.6,17.8,18.7,32.9,34.2,43.3C56.4,161.6,67.9,151.2,67.9,138.8L67.9,138.8L67.9,138.8z"/><path d="M67.9,128.2c0-14.5-15.7-26.3-35.1-26.3c-11.8,0-22.2,4.4-28.6,11.1c4.2,16,12.8,30.2,24.3,41.4c1.4,0.1,2.8,0.2,4.2,0.2C52.2,154.6,67.9,142.8,67.9,128.2z"/><path d="M67.9,117.7c0-14.5-15.7-26.3-35.1-26.3c-13,0-24.3,5.3-30.4,13.2c2.2,13.3,7.3,25.8,15,36.8c4.6,1.7,9.8,2.6,15.4,2.6C52.2,144,67.9,132.3,67.9,117.7z"/><path d="M67.9,107.2c0-14.5-15.7-26.3-35.1-26.3C19,80.9,7.1,86.8,1.4,95.5c0.6,10.7,3.2,21.2,7.6,31c6.3,4.3,14.6,7,23.8,7C52.2,133.5,67.9,121.7,67.9,107.2L67.9,107.2z"/><path d="M20.6,98l24.8,18.6 M20.6,116.6L45.4,98 M33,94.2v26.3 M15.4,107.3h35.1"/><ellipse cx="103" cy="128.2" rx="35.1" ry="26.3"/><ellipse cx="103" cy="118.2" rx="35.1" ry="26.3"/><ellipse cx="103" cy="108.1" rx="35.1" ry="26.3"/><ellipse cx="103" cy="98" rx="35.1" ry="26.3"/><ellipse cx="103" cy="87.9" rx="35.1" ry="26.3"/><ellipse cx="103" cy="77.8" rx="35.1" ry="26.3"/><ellipse cx="103" cy="67.7" rx="35.1" ry="26.3"/><ellipse cx="103" cy="57.6" rx="35.1" ry="26.3"/><ellipse cx="103" cy="47.5" rx="35.1" ry="26.3"/><path d="M112.9,36.4l-9.9,7.4l-9.9-7.4 M117.9,55l-9.9-7.4l9.9-7.4 M88.1,40.1l9.9,7.4L88.1,55 M93.1,58.7l9.9-7.4l9.9,7.4"/><path d="M103,140.5c-19.4,0-35.1,11.8-35.1,26.3c0,3.7,1,7.2,2.8,10.4c6.5,1.5,13.2,2.2,20,2.2c17.4,0,33.6-5,47.3-13.5C137.4,151.8,122,140.5,103,140.5z"/><path d="M134.4,168.1c2.4-3.5,3.7-7.6,3.7-11.8c0-14.5-15.7-26.3-35.1-26.3s-35.1,11.8-35.1,26.3c0,9.9,7.3,18.6,18.1,23c1.6,0.1,3.1,0.1,4.7,0.1C106.6,179.5,121.5,175.3,134.4,168.1L134.4,168.1z"/><ellipse cx="103" cy="145.8" rx="35.1" ry="26.3"/><ellipse cx="103" cy="145.8" rx="17.5" ry="13.2"/><line x1="103" y1="132.8" x2="103" y2="159"/><path d="M172.4,126.5c-19,0.3-34.3,12-34.3,26.3c0,3.9,1.2,7.7,3.2,11C154.8,154.5,165.7,141.6,172.4,126.5L172.4,126.5z"/><path d="M138.1,142.3c0,6.7,3.3,12.8,8.8,17.4c13.8-11.1,24.2-26.2,29.5-43.6c-1-0.1-2.1-0.1-3.2-0.1C153.8,116,138.1,127.7,138.1,142.3z"/><path d="M138.1,131.8c0,9.1,6.2,17.1,15.5,21.9c12.8-12.7,21.9-29.3,25.2-47.8c-1.9-0.2-3.7-0.3-5.6-0.3C153.8,105.4,138.1,117.2,138.1,131.8L138.1,131.8z"/><path d="M138.1,121.2c0,11.2,9.4,20.8,22.6,24.6c11.2-14,18.2-31.4,19.4-50.4c-2.3-0.3-4.6-0.5-6.8-0.5C153.8,94.9,138.1,106.7,138.1,121.2z"/><path d="M155.8,108.2v26.3 M155.8,134.5h12.6 M155.8,108.2h22.5 M173.3,108.2v16.4 M155.8,121.4h18.9"/></g><path fill="none" stroke="#3858E9" stroke-width="1.2" stroke-miterlimit="10" d="M90.7,179.5c49.4,0,89.5-40.1,89.5-89.5S140.1,0.5,90.7,0.5S1.2,40.6,1.2,90S41.3,179.5,90.7,179.5z"/></svg>
|
||||
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.1 KiB |
@@ -1,30 +1 @@
|
||||
<svg width="322" height="370" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M209.004 97.757c-.11-1.762-.328-3.523-.547-5.285a86.978 86.978 0 00-1.314-7.707c-.547-2.533-1.094-5.065-1.86-7.597-.219-.881-.438-1.652-.766-2.423-13.024-42.61-52.532-73.548-99.154-73.548S19.233 32.136 6.1 74.745c-.328.771-.547 1.542-.766 2.423a79.772 79.772 0 00-2.298 10.13c-.329 1.76-.548 3.412-.766 5.174-.22 1.762-.438 3.523-.548 5.285a96.67 96.67 0 00-.328 8.037v223.178h207.938V105.794c0-2.752-.109-5.395-.328-8.037zm-186.16 44.041v-36.004h.11c0-45.802 36.882-82.907 82.519-83.017 45.527 0 82.409 37.105 82.409 83.017h.109v36.004H22.844z" fill="url(#paint0_linear)" stroke="#3858E9" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M141.808 294.4l-28.455-58.355c9.631-3.083 16.526-12.111 16.526-22.681 0-13.212-10.616-23.892-23.749-23.892s-23.749 10.68-23.749 23.892c0 10.68 7.004 19.709 16.526 22.681L70.452 294.4h71.356z" fill="#3858E9" stroke="#3858E9" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M209.332 329.082H1.394v12.882h207.938v-12.882z" fill="url(#paint1_linear)" stroke="#3858E9" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M209.332 341.854H1.394v12.882h207.938v-12.882z" fill="url(#paint2_linear)" stroke="#3858E9" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M209.332 354.735H1.394c0 7.115 5.767 12.882 12.881 12.882H196.45c7.114 0 12.882-5.767 12.882-12.882z" fill="url(#paint3_linear)" stroke="#3858E9" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M285.509 278.325v-76.301h25.28V186.94h-25.28v-9.579h32.285v-15.084h-32.285v-6.936h32.285v-15.085h-32.285v-8.257h-21.013v146.326c-21.013 4.955-36.444 24.553-35.131 47.564 1.314 22.902 19.59 41.619 42.354 43.271 26.813 1.871 49.139-19.378 49.139-45.913-.109-21.911-15.103-40.077-35.349-44.922zM275.002 347.8c-13.461 0-24.515-11.01-24.515-24.663s10.945-24.663 24.515-24.663c13.461 0 24.515 11.01 24.515 24.663S288.573 347.8 275.002 347.8z" fill="url(#paint4_linear)" stroke="#3858E9" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear" x1="105.363" y1="1.197" x2="105.363" y2="328.972" gradientUnits="userSpaceOnUse">
|
||||
<stop offset=".099" stop-color="#ECF5FF"/>
|
||||
<stop offset="1" stop-color="#ECF5FF" stop-opacity="0"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear" x1="105.363" y1="329.082" x2="105.363" y2="341.964" gradientUnits="userSpaceOnUse">
|
||||
<stop offset=".099" stop-color="#ECF5FF"/>
|
||||
<stop offset="1" stop-color="#ECF5FF" stop-opacity="0"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint2_linear" x1="105.363" y1="341.854" x2="105.363" y2="354.736" gradientUnits="userSpaceOnUse">
|
||||
<stop offset=".099" stop-color="#ECF5FF"/>
|
||||
<stop offset="1" stop-color="#ECF5FF" stop-opacity="0"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint3_linear" x1="105.363" y1="354.735" x2="105.363" y2="367.617" gradientUnits="userSpaceOnUse">
|
||||
<stop offset=".099" stop-color="#ECF5FF"/>
|
||||
<stop offset="1" stop-color="#ECF5FF" stop-opacity="0"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint4_linear" x1="275.073" y1="131.999" x2="275.073" y2="369.275" gradientUnits="userSpaceOnUse">
|
||||
<stop offset=".099" stop-color="#ECF5FF"/>
|
||||
<stop offset="1" stop-color="#ECF5FF" stop-opacity="0"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
<svg width="320" height="320" viewBox="0 0 320 320" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false"><g fill="#FFFFFF" stroke="#3858E9" stroke-width="1.2" stroke-miterlimit="10"><path d="M256.7.9H63.3C28.9.9.9 28.9.9 63.3V160a159.1 159.1 0 0 0 318.2 0V63.3c0-34.4-28-62.4-62.4-62.4z"/><circle cx="231.7" cy="104.2" r="35.1"/><circle cx="221.1" cy="114.8" r="35.1"/><circle cx="210.5" cy="125.4" r="35.1"/><circle cx="199.9" cy="136" r="35.1"/><circle cx="189.3" cy="146.6" r="35.1"/><circle cx="178.7" cy="157.2" r="35.1"/><circle cx="168.1" cy="167.8" r="35.1"/><circle cx="158.1" cy="177.8" r="35.1"/><circle cx="146.9" cy="189" r="35.1"/><circle cx="136.3" cy="199.6" r="35.1"/><circle cx="126.2" cy="189.5" r="35.1"/><circle cx="116.1" cy="179.4" r="35.1"/><circle cx="106" cy="169.3" r="35.1"/><circle cx="95.9" cy="159.2" r="35.1"/><circle cx="85.8" cy="149.1" r="35.1"/></g></svg>
|
||||
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 922 B |
@@ -13,7 +13,9 @@ if ( ! defined( 'WP_ADMIN' ) ) {
|
||||
* some setup was skipped. Make sure the admin message catalog is loaded since
|
||||
* load_default_textdomain() will not have done so in this context.
|
||||
*/
|
||||
load_textdomain( 'default', WP_LANG_DIR . '/admin-' . get_locale() . '.mo' );
|
||||
$admin_locale = get_locale();
|
||||
load_textdomain( 'default', WP_LANG_DIR . '/admin-' . $admin_locale . '.mo', $admin_locale );
|
||||
unset( $admin_locale );
|
||||
}
|
||||
|
||||
/** WordPress Administration Hooks */
|
||||
|
||||
@@ -412,18 +412,18 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base {
|
||||
* Checks if a file or directory exists.
|
||||
*
|
||||
* @since 2.5.0
|
||||
* @since 6.1.0 Uses WP_Filesystem_FTPext::is_dir() to check for directory existence
|
||||
* and ftp_rawlist() to check for file existence.
|
||||
*
|
||||
* @param string $path Path to file or directory.
|
||||
* @return bool Whether $path exists or not.
|
||||
*/
|
||||
public function exists( $path ) {
|
||||
if ( $this->is_dir( $path ) ) {
|
||||
return true;
|
||||
$list = ftp_nlist( $this->link, $path );
|
||||
|
||||
if ( empty( $list ) && $this->is_dir( $path ) ) {
|
||||
return true; // File is an empty directory.
|
||||
}
|
||||
|
||||
return ! empty( ftp_rawlist( $this->link, $path ) );
|
||||
return ! empty( $list ); // Empty list = no file, so invert.
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -414,18 +414,19 @@ class WP_Filesystem_ftpsockets extends WP_Filesystem_Base {
|
||||
* Checks if a file or directory exists.
|
||||
*
|
||||
* @since 2.5.0
|
||||
* @since 6.1.0 Uses WP_Filesystem_ftpsockets::is_dir() to check for directory existence
|
||||
* and file size to check for file existence.
|
||||
*
|
||||
* @param string $path Path to file or directory.
|
||||
* @return bool Whether $path exists or not.
|
||||
*/
|
||||
public function exists( $path ) {
|
||||
if ( $this->is_dir( $path ) ) {
|
||||
return true;
|
||||
$list = $this->ftp->nlist( $path );
|
||||
|
||||
if ( empty( $list ) && $this->is_dir( $path ) ) {
|
||||
return true; // File is an empty directory.
|
||||
}
|
||||
|
||||
return is_numeric( $this->size( $path ) );
|
||||
return ! empty( $list ); // Empty list = no file, so invert.
|
||||
// Return $this->ftp->is_exists($file); has issues with ABOR+426 responses on the ncFTPd server.
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -299,6 +299,7 @@ function get_theme_update_available( $theme ) {
|
||||
* and 'Full Site Editing' features.
|
||||
* @since 5.5.0 Added 'Wide Blocks' layout option.
|
||||
* @since 5.8.1 Added 'Template Editing' feature.
|
||||
* @since 6.1.1 Replaced 'Full Site Editing' feature name with 'Site Editor'.
|
||||
*
|
||||
* @param bool $api Optional. Whether try to fetch tags from the WordPress.org API. Defaults to true.
|
||||
* @return array Array of features keyed by category with translations keyed by slug.
|
||||
@@ -331,7 +332,7 @@ function get_theme_feature_list( $api = true ) {
|
||||
'featured-image-header' => __( 'Featured Image Header' ),
|
||||
'featured-images' => __( 'Featured Images' ),
|
||||
'footer-widgets' => __( 'Footer Widgets' ),
|
||||
'full-site-editing' => __( 'Full Site Editing' ),
|
||||
'full-site-editing' => __( 'Site Editor' ),
|
||||
'full-width-template' => __( 'Full Width Template' ),
|
||||
'post-formats' => __( 'Post Formats' ),
|
||||
'sticky-post' => __( 'Sticky Post' ),
|
||||
|
||||
@@ -845,6 +845,26 @@ $_old_files = array(
|
||||
'wp-includes/blocks/tag-cloud/editor-rtl.min.css',
|
||||
// 6.0
|
||||
'wp-content/themes/twentytwentytwo/assets/fonts/LICENSE.md',
|
||||
// 6.1
|
||||
'wp-content/themes/twentytwentyone/assets/sass/05-blocks/spacer/_style.scss',
|
||||
'wp-content/themes/twentytwentyone/assets/sass/05-blocks/spacer',
|
||||
'wp-includes/blocks/post-comments.php',
|
||||
'wp-includes/blocks/post-comments/block.json',
|
||||
'wp-includes/blocks/post-comments/editor.css',
|
||||
'wp-includes/blocks/post-comments/editor.min.css',
|
||||
'wp-includes/blocks/post-comments/editor-rtl.css',
|
||||
'wp-includes/blocks/post-comments/editor-rtl.min.css',
|
||||
'wp-includes/blocks/post-comments/style.css',
|
||||
'wp-includes/blocks/post-comments/style.min.css',
|
||||
'wp-includes/blocks/post-comments/style-rtl.css',
|
||||
'wp-includes/blocks/post-comments/style-rtl.min.css',
|
||||
'wp-includes/blocks/post-comments',
|
||||
'wp-includes/blocks/comments-query-loop/block.json',
|
||||
'wp-includes/blocks/comments-query-loop/editor.css',
|
||||
'wp-includes/blocks/comments-query-loop/editor.min.css',
|
||||
'wp-includes/blocks/comments-query-loop/editor-rtl.css',
|
||||
'wp-includes/blocks/comments-query-loop/editor-rtl.min.css',
|
||||
'wp-includes/blocks/comments-query-loop',
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -1418,8 +1438,8 @@ function update_core( $from, $to ) {
|
||||
// Deactivate the REST API plugin if its version is 2.0 Beta 4 or lower.
|
||||
_upgrade_440_force_deactivate_incompatible_plugins();
|
||||
|
||||
// Deactivate the Gutenberg plugin if its version is 11.8 or lower.
|
||||
_upgrade_590_force_deactivate_incompatible_plugins();
|
||||
// Deactivate incompatible plugins.
|
||||
_upgrade_core_deactivate_incompatible_plugins();
|
||||
|
||||
// Upgrade DB with separate request.
|
||||
/** This filter is documented in wp-admin/includes/update-core.php */
|
||||
@@ -1618,14 +1638,16 @@ function _upgrade_440_force_deactivate_incompatible_plugins() {
|
||||
/**
|
||||
* @access private
|
||||
* @ignore
|
||||
* @since 5.9.0
|
||||
* @since 5.8.0
|
||||
* @since 5.9.0 The minimum compatible version of Gutenberg is 11.9.
|
||||
* @since 6.1.1 The minimum compatible version of Gutenberg is 14.1.
|
||||
*/
|
||||
function _upgrade_590_force_deactivate_incompatible_plugins() {
|
||||
if ( defined( 'GUTENBERG_VERSION' ) && version_compare( GUTENBERG_VERSION, '11.9', '<' ) ) {
|
||||
function _upgrade_core_deactivate_incompatible_plugins() {
|
||||
if ( defined( 'GUTENBERG_VERSION' ) && version_compare( GUTENBERG_VERSION, '14.1', '<' ) ) {
|
||||
$deactivated_gutenberg['gutenberg'] = array(
|
||||
'plugin_name' => 'Gutenberg',
|
||||
'version_deactivated' => GUTENBERG_VERSION,
|
||||
'version_compatible' => '11.9',
|
||||
'version_compatible' => '14.1',
|
||||
);
|
||||
if ( is_plugin_active_for_network( 'gutenberg/gutenberg.php' ) ) {
|
||||
$deactivated_plugins = get_site_option( 'wp_force_deactivated_plugins', array() );
|
||||
|
||||
@@ -39,7 +39,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
|
||||
<div class="about__section has-2-columns is-wider-right">
|
||||
<div class="column about__image">
|
||||
<img class="privacy-image" src="<?php echo esc_url( admin_url( 'images/privacy.svg' ) ); ?>" alt="" />
|
||||
<img class="privacy-image" src="<?php echo esc_url( admin_url( 'images/privacy.svg?ver=6.1' ) ); ?>" alt="" />
|
||||
</div>
|
||||
<div class="column is-vertically-aligned-center">
|
||||
<p><?php _e( 'From time to time, your WordPress site may send data to WordPress.org — including, but not limited to — the version of WordPress you are using, and a list of installed plugins and themes.' ); ?></p>
|
||||
|
||||
@@ -20,7 +20,7 @@ if ( ! current_user_can( 'edit_theme_options' ) ) {
|
||||
}
|
||||
|
||||
if ( ! ( current_theme_supports( 'block-template-parts' ) || wp_is_block_theme() ) ) {
|
||||
wp_die( __( 'The theme you are currently using is not compatible with Full Site Editing.' ) );
|
||||
wp_die( __( 'The theme you are currently using is not compatible with the Site Editor.' ) );
|
||||
}
|
||||
|
||||
$is_template_part_editor = isset( $_GET['postType'] ) && 'wp_template_part' === sanitize_key( $_GET['postType'] );
|
||||
@@ -101,7 +101,7 @@ if ( isset( $_GET['postType'] ) && ! isset( $_GET['postId'] ) ) {
|
||||
}
|
||||
|
||||
$active_global_styles_id = WP_Theme_JSON_Resolver::get_user_global_styles_post_id();
|
||||
$active_theme = wp_get_theme()->get_stylesheet();
|
||||
$active_theme = get_stylesheet();
|
||||
$preload_paths = array(
|
||||
array( '/wp/v2/media', 'OPTIONS' ),
|
||||
'/wp/v2/types?context=view',
|
||||
|
||||
@@ -369,6 +369,7 @@ p.has-drop-cap:not(:focus)::first-letter {
|
||||
background-image: -o-linear-gradient(top, #f4f4f4, #e6e6e6);
|
||||
background-image: linear-gradient(to bottom, #f4f4f4, #e6e6e6);
|
||||
background-repeat: repeat-x;
|
||||
color: #7c7c7c;
|
||||
}
|
||||
|
||||
/* Separator */
|
||||
|
||||
@@ -920,8 +920,8 @@ hr.wp-block-separator.is-style-dots::before {
|
||||
|
||||
/* Block: Button ----------------------------- */
|
||||
|
||||
.editor-styles-wrapper .wp-block-button__link,
|
||||
.editor-styles-wrapper .wp-block-file__button {
|
||||
:root .editor-styles-wrapper .wp-block-button__link,
|
||||
:root .editor-styles-wrapper .wp-block-file__button {
|
||||
background: #cd2653;
|
||||
border-radius: 0;
|
||||
color: #fff;
|
||||
@@ -937,6 +937,11 @@ hr.wp-block-separator.is-style-dots::before {
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper .wp-block-button__link:hover,
|
||||
.editor-styles-wrapper .wp-block-file__button:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* BUTTON STYLE: OUTLINE */
|
||||
|
||||
.editor-styles-wrapper .is-style-outline .wp-block-button__link,
|
||||
@@ -1301,8 +1306,8 @@ hr.wp-block-separator.is-style-dots::before {
|
||||
|
||||
/* BLOCK: BUTTON */
|
||||
|
||||
.editor-styles-wrapper .wp-block-button__link,
|
||||
.editor-styles-wrapper .wp-block-file__button {
|
||||
:root .editor-styles-wrapper .wp-block-button__link,
|
||||
:root .editor-styles-wrapper .wp-block-file__button {
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
|
||||
@@ -924,8 +924,8 @@ hr.wp-block-separator.is-style-dots::before {
|
||||
|
||||
/* Block: Button ----------------------------- */
|
||||
|
||||
.editor-styles-wrapper .wp-block-button__link,
|
||||
.editor-styles-wrapper .wp-block-file__button {
|
||||
:root .editor-styles-wrapper .wp-block-button__link,
|
||||
:root .editor-styles-wrapper .wp-block-file__button {
|
||||
background: #cd2653;
|
||||
border-radius: 0;
|
||||
color: #fff;
|
||||
@@ -941,6 +941,11 @@ hr.wp-block-separator.is-style-dots::before {
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper .wp-block-button__link:hover,
|
||||
.editor-styles-wrapper .wp-block-file__button:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* BUTTON STYLE: OUTLINE */
|
||||
|
||||
.editor-styles-wrapper .is-style-outline .wp-block-button__link,
|
||||
@@ -1305,8 +1310,8 @@ hr.wp-block-separator.is-style-dots::before {
|
||||
|
||||
/* BLOCK: BUTTON */
|
||||
|
||||
.editor-styles-wrapper .wp-block-button__link,
|
||||
.editor-styles-wrapper .wp-block-file__button {
|
||||
:root .editor-styles-wrapper .wp-block-button__link,
|
||||
:root .editor-styles-wrapper .wp-block-file__button {
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ Description: Twenty Twenty-One is a blank canvas for your ideas and it makes the
|
||||
Requires at least: 5.3
|
||||
Tested up to: 6.0
|
||||
Requires PHP: 5.6
|
||||
Version: 1.6
|
||||
Version: 1.7
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Text Domain: twentytwentyone
|
||||
|
||||
@@ -7,7 +7,7 @@ Description: Twenty Twenty-One is a blank canvas for your ideas and it makes the
|
||||
Requires at least: 5.3
|
||||
Tested up to: 6.0
|
||||
Requires PHP: 5.6
|
||||
Version: 1.6
|
||||
Version: 1.7
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Text Domain: twentytwentyone
|
||||
|
||||
@@ -9,7 +9,7 @@ Description: Twenty Twenty-One is a blank canvas for your ideas and it makes the
|
||||
Requires at least: 5.3
|
||||
Tested up to: 6.0
|
||||
Requires PHP: 5.6
|
||||
Version: 1.6
|
||||
Version: 1.7
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Text Domain: twentytwentyone
|
||||
|
||||
@@ -9,7 +9,7 @@ Description: Twenty Twenty-One is a blank canvas for your ideas and it makes the
|
||||
Requires at least: 5.3
|
||||
Tested up to: 6.0
|
||||
Requires PHP: 5.6
|
||||
Version: 1.6
|
||||
Version: 1.7
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Text Domain: twentytwentyone
|
||||
|
||||
@@ -6,9 +6,11 @@
|
||||
* Block Types: core/template-part/footer
|
||||
*/
|
||||
?>
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|40"}}},"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--40)"><!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|40"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--40)"><!-- wp:site-title {"level":0} /-->
|
||||
<!-- wp:group {"layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-group">
|
||||
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|40"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--40)">
|
||||
<!-- wp:site-title {"level":0} /-->
|
||||
<!-- wp:paragraph {"align":"right"} -->
|
||||
<p class="has-text-align-right">
|
||||
<?php
|
||||
|
||||
@@ -9,11 +9,9 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
== Description ==
|
||||
|
||||
Twenty Twenty-Three is a diverse, collaborative effort designed with the expansion of the possibilities of the block editor in mind. With a blank, unopinionated base as a starting point, this year’s default theme has minimal demo content to get in your way.
|
||||
Twenty Twenty-Three is designed to take advantage of the new design tools introduced in WordPress 6.1. With a clean, blank base as a starting point, this default theme includes ten diverse style variations created by members of the WordPress community.
|
||||
|
||||
It embraces aesthetic diversity with a collection of style variations created by members of the WordPress Community, and it is built to take advantage of the new tools introduced in WordPress 6.1.
|
||||
|
||||
Whether you want to build a complex or incredibly simple website, you can style it the way you want it, and you can do it quickly and intuitively through the bundled styles or dive into creation and full customisation yourself.
|
||||
Whether you want to build a complex or incredibly simple website, you can do it quickly and intuitively through the bundled styles or dive into creation and full customization yourself.
|
||||
|
||||
== Changelog ==
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ Theme Name: Twenty Twenty-Three
|
||||
Theme URI: https://wordpress.org/themes/twentytwentythree
|
||||
Author: the WordPress team
|
||||
Author URI: https://wordpress.org
|
||||
Description: Twenty Twenty-Three is a diverse, collaborative effort designed with the expansion of the possibilities of the block editor in mind. With a blank, unopinionated base as a starting point, this year’s default theme has minimal demo content to get in your way. It embraces aesthetic diversity with a collection of style variations created by members of the WordPress Community, and it is built to take advantage of the new tools introduced in WordPress 6.1. Whether you want to build a complex or incredibly simple website, you can style it the way you want it, and you can do it quickly and intuitively through the bundled styles or dive into creation and full customisation yourself.
|
||||
Description: Twenty Twenty-Three is designed to take advantage of the new design tools introduced in WordPress 6.1. With a clean, blank base as a starting point, this default theme includes ten diverse style variations created by members of the WordPress community. Whether you want to build a complex or incredibly simple website, you can do it quickly and intuitively through the bundled styles or dive into creation and full customization yourself.
|
||||
Requires at least: 6.1
|
||||
Tested up to: 6.1
|
||||
Requires PHP: 5.6
|
||||
@@ -11,5 +11,5 @@ Version: 1.0
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
||||
Text Domain: twentytwentythree
|
||||
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, accessibility-ready, blog, portfolio, news
|
||||
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, accessibility-ready, blog, portfolio, news
|
||||
*/
|
||||
|
||||
@@ -265,6 +265,11 @@
|
||||
"gradient": "none",
|
||||
"text": "var(--wp--preset--color--secondary)"
|
||||
}
|
||||
},
|
||||
":visited": {
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--base)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"heading": {
|
||||
|
||||
@@ -189,6 +189,11 @@
|
||||
"width": "2px"
|
||||
}
|
||||
},
|
||||
":visited": {
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--base)"
|
||||
}
|
||||
},
|
||||
"border": {
|
||||
"radius": "5px",
|
||||
"color": "var(--wp--preset--color--contrast)",
|
||||
|
||||
@@ -73,6 +73,11 @@
|
||||
"background": "var(--wp--preset--color--base)",
|
||||
"text": "var(--wp--preset--color--contrast)"
|
||||
}
|
||||
},
|
||||
":visited": {
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--base)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"link": {
|
||||
|
||||
@@ -72,6 +72,11 @@
|
||||
"color": {
|
||||
"background": "var(--wp--preset--color--primary)",
|
||||
"text": "var(--wp--preset--color--base)"
|
||||
},
|
||||
":visited": {
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--base)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"heading": {
|
||||
|
||||
@@ -250,6 +250,11 @@
|
||||
"gradient": "var(--wp--preset--gradient--secondary-primary)"
|
||||
}
|
||||
},
|
||||
":visited": {
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--base)"
|
||||
}
|
||||
},
|
||||
"border": {
|
||||
"radius": "5px"
|
||||
},
|
||||
|
||||
@@ -196,6 +196,11 @@
|
||||
"background": "var(--wp--preset--color--contrast)",
|
||||
"text": "var(--wp--preset--color--tertiary)"
|
||||
}
|
||||
},
|
||||
":visited": {
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--base)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"h1": {
|
||||
|
||||
@@ -421,6 +421,11 @@
|
||||
"bottom": "min(calc(1rem + 2px), 3vw) !important"
|
||||
}
|
||||
}
|
||||
},
|
||||
":visited": {
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--primary)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"cite": {
|
||||
|
||||
@@ -619,6 +619,11 @@
|
||||
"background": "var(--wp--preset--color--secondary)",
|
||||
"text": "var(--wp--preset--color--base)"
|
||||
}
|
||||
},
|
||||
":visited": {
|
||||
"color": {
|
||||
"text": "var(--wp--preset--color--contrast)"
|
||||
}
|
||||
}
|
||||
},
|
||||
"h1": {
|
||||
|
||||
@@ -11,7 +11,7 @@ License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Built on a solidly designed foundation, Twenty Twenty-Two embraces the idea that everyone deserves a truly unique website. The theme’s subtle styles are inspired by the diversity and versatility of birds: its typography is lightweight yet strong, its color palette is drawn from nature, and its layout elements sit gently on the page.
|
||||
|
||||
The true richness of Twenty Twenty-Two lies in its opportunity for customization. The theme is built to take advantage of the Full Site Editing features introduced in WordPress 5.9, which means that colors, typography, and the layout of every single page on your site can be customized to suit your vision. It also includes dozens of block patterns, opening the door to a wide range of professionally designed layouts in just a few clicks.
|
||||
The true richness of Twenty Twenty-Two lies in its opportunity for customization. The theme is built to take advantage of the Site Editor features introduced in WordPress 5.9, which means that colors, typography, and the layout of every single page on your site can be customized to suit your vision. It also includes dozens of block patterns, opening the door to a wide range of professionally designed layouts in just a few clicks.
|
||||
|
||||
Whether you’re building a single-page website, a blog, a business website, or a portfolio, Twenty Twenty-Two will help you create a site that is uniquely yours.
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ Theme Name: Twenty Twenty-Two
|
||||
Theme URI: https://wordpress.org/themes/twentytwentytwo/
|
||||
Author: the WordPress team
|
||||
Author URI: https://wordpress.org/
|
||||
Description: Built on a solidly designed foundation, Twenty Twenty-Two embraces the idea that everyone deserves a truly unique website. The theme’s subtle styles are inspired by the diversity and versatility of birds: its typography is lightweight yet strong, its color palette is drawn from nature, and its layout elements sit gently on the page. The true richness of Twenty Twenty-Two lies in its opportunity for customization. The theme is built to take advantage of the Full Site Editing features introduced in WordPress 5.9, which means that colors, typography, and the layout of every single page on your site can be customized to suit your vision. It also includes dozens of block patterns, opening the door to a wide range of professionally designed layouts in just a few clicks. Whether you’re building a single-page website, a blog, a business website, or a portfolio, Twenty Twenty-Two will help you create a site that is uniquely yours.
|
||||
Description: Built on a solidly designed foundation, Twenty Twenty-Two embraces the idea that everyone deserves a truly unique website. The theme’s subtle styles are inspired by the diversity and versatility of birds: its typography is lightweight yet strong, its color palette is drawn from nature, and its layout elements sit gently on the page. The true richness of Twenty Twenty-Two lies in its opportunity for customization. The theme is built to take advantage of the Site Editor features introduced in WordPress 5.9, which means that colors, typography, and the layout of every single page on your site can be customized to suit your vision. It also includes dozens of block patterns, opening the door to a wide range of professionally designed layouts in just a few clicks. Whether you’re building a single-page website, a blog, a business website, or a portfolio, Twenty Twenty-Two will help you create a site that is uniquely yours.
|
||||
Requires at least: 5.9
|
||||
Tested up to: 6.1
|
||||
Requires PHP: 5.6
|
||||
|
||||
@@ -153,9 +153,14 @@ function get_allowed_block_types( $block_editor_context ) {
|
||||
*/
|
||||
function get_default_block_editor_settings() {
|
||||
// Media settings.
|
||||
$max_upload_size = wp_max_upload_size();
|
||||
if ( ! $max_upload_size ) {
|
||||
$max_upload_size = 0;
|
||||
|
||||
// wp_max_upload_size() can be expensive, so only call it when relevant for the current user.
|
||||
$max_upload_size = 0;
|
||||
if ( current_user_can( 'upload_files' ) ) {
|
||||
$max_upload_size = wp_max_upload_size();
|
||||
if ( ! $max_upload_size ) {
|
||||
$max_upload_size = 0;
|
||||
}
|
||||
}
|
||||
|
||||
/** This filter is documented in wp-admin/includes/media.php */
|
||||
|
||||
@@ -119,11 +119,11 @@ function wp_apply_typography_support( $block_type, $block_attributes ) {
|
||||
$custom_font_size = isset( $block_attributes['style']['typography']['fontSize'] )
|
||||
? $block_attributes['style']['typography']['fontSize']
|
||||
: null;
|
||||
$typography_block_styles['fontSize'] = $preset_font_size ? $preset_font_size : wp_get_typography_font_size_value(
|
||||
array(
|
||||
'size' => $custom_font_size,
|
||||
)
|
||||
);
|
||||
$typography_block_styles['fontSize'] = $preset_font_size ? $preset_font_size : wp_get_typography_font_size_value(
|
||||
array(
|
||||
'size' => $custom_font_size,
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
if ( $has_font_family_support && ! $should_skip_font_family ) {
|
||||
@@ -348,8 +348,17 @@ function wp_get_typography_value_and_unit( $raw_value, $options = array() ) {
|
||||
$unit = $options['coerce_to'];
|
||||
}
|
||||
|
||||
/*
|
||||
* No calculation is required if swapping between em and rem yet,
|
||||
* since we assume a root size value. Later we might like to differentiate between
|
||||
* :root font size (rem) and parent element font size (em) relativity.
|
||||
*/
|
||||
if ( ( 'em' === $options['coerce_to'] || 'rem' === $options['coerce_to'] ) && ( 'em' === $unit || 'rem' === $unit ) ) {
|
||||
$unit = $options['coerce_to'];
|
||||
}
|
||||
|
||||
return array(
|
||||
'value' => $value,
|
||||
'value' => round( $value, 3 ),
|
||||
'unit' => $unit,
|
||||
);
|
||||
}
|
||||
@@ -380,13 +389,16 @@ function wp_get_computed_fluid_typography_value( $args = array() ) {
|
||||
$minimum_font_size_raw = isset( $args['minimum_font_size'] ) ? $args['minimum_font_size'] : null;
|
||||
$scale_factor = isset( $args['scale_factor'] ) ? $args['scale_factor'] : null;
|
||||
|
||||
// Grab the minimum font size and normalize it in order to use the value for calculations.
|
||||
// Normalizes the minimum font size in order to use the value for calculations.
|
||||
$minimum_font_size = wp_get_typography_value_and_unit( $minimum_font_size_raw );
|
||||
|
||||
// We get a 'preferred' unit to keep units consistent when calculating, otherwise the result will not be accurate.
|
||||
/*
|
||||
* We get a 'preferred' unit to keep units consistent when calculating,
|
||||
* otherwise the result will not be accurate.
|
||||
*/
|
||||
$font_size_unit = isset( $minimum_font_size['unit'] ) ? $minimum_font_size['unit'] : 'rem';
|
||||
|
||||
// Grab the maximum font size and normalize it in order to use the value for calculations.
|
||||
// Normalizes the maximum font size in order to use the value for calculations.
|
||||
$maximum_font_size = wp_get_typography_value_and_unit(
|
||||
$maximum_font_size_raw,
|
||||
array(
|
||||
@@ -394,12 +406,12 @@ function wp_get_computed_fluid_typography_value( $args = array() ) {
|
||||
)
|
||||
);
|
||||
|
||||
// Protect against unsupported units.
|
||||
// Checks for mandatory min and max sizes, and protects against unsupported units.
|
||||
if ( ! $maximum_font_size || ! $minimum_font_size ) {
|
||||
return null;
|
||||
}
|
||||
|
||||
// Use rem for accessible fluid target font scaling.
|
||||
// Uses rem for accessible fluid target font scaling.
|
||||
$minimum_font_size_rem = wp_get_typography_value_and_unit(
|
||||
$minimum_font_size_raw,
|
||||
array(
|
||||
@@ -427,8 +439,9 @@ function wp_get_computed_fluid_typography_value( $args = array() ) {
|
||||
*/
|
||||
$view_port_width_offset = round( $minimum_viewport_width['value'] / 100, 3 ) . $font_size_unit;
|
||||
$linear_factor = 100 * ( ( $maximum_font_size['value'] - $minimum_font_size['value'] ) / ( $maximum_viewport_width['value'] - $minimum_viewport_width['value'] ) );
|
||||
$linear_factor = round( $linear_factor, 3 ) * $scale_factor;
|
||||
$fluid_target_font_size = implode( '', $minimum_font_size_rem ) . " + ((1vw - $view_port_width_offset) * $linear_factor)";
|
||||
$linear_factor_scaled = round( $linear_factor * $scale_factor, 3 );
|
||||
$linear_factor_scaled = empty( $linear_factor_scaled ) ? 1 : $linear_factor_scaled;
|
||||
$fluid_target_font_size = implode( '', $minimum_font_size_rem ) . " + ((1vw - $view_port_width_offset) * $linear_factor_scaled)";
|
||||
|
||||
return "clamp($minimum_font_size_raw, $fluid_target_font_size, $maximum_font_size_raw)";
|
||||
}
|
||||
@@ -439,6 +452,7 @@ function wp_get_computed_fluid_typography_value( $args = array() ) {
|
||||
* formula depending on available, valid values.
|
||||
*
|
||||
* @since 6.1.0
|
||||
* @since 6.1.1 Adjusted rules for min and max font sizes.
|
||||
*
|
||||
* @param array $preset {
|
||||
* Required. fontSizes preset value as seen in theme.json.
|
||||
@@ -476,8 +490,8 @@ function wp_get_typography_font_size_value( $preset, $should_use_fluid_typograph
|
||||
$default_maximum_viewport_width = '1600px';
|
||||
$default_minimum_viewport_width = '768px';
|
||||
$default_minimum_font_size_factor = 0.75;
|
||||
$default_maximum_font_size_factor = 1.5;
|
||||
$default_scale_factor = 1;
|
||||
$default_minimum_font_size_limit = '14px';
|
||||
|
||||
// Font sizes.
|
||||
$fluid_font_size_settings = isset( $preset['fluid'] ) ? $preset['fluid'] : null;
|
||||
@@ -494,18 +508,55 @@ function wp_get_typography_font_size_value( $preset, $should_use_fluid_typograph
|
||||
// Font sizes.
|
||||
$preferred_size = wp_get_typography_value_and_unit( $preset['size'] );
|
||||
|
||||
// Protect against unsupported units.
|
||||
// Protects against unsupported units.
|
||||
if ( empty( $preferred_size['unit'] ) ) {
|
||||
return $preset['size'];
|
||||
}
|
||||
|
||||
// If no fluid min or max font sizes are available, create some using min/max font size factors.
|
||||
if ( ! $minimum_font_size_raw ) {
|
||||
$minimum_font_size_raw = ( $preferred_size['value'] * $default_minimum_font_size_factor ) . $preferred_size['unit'];
|
||||
/*
|
||||
* Normalizes the minimum font size limit according to the incoming unit,
|
||||
* in order to perform comparative checks.
|
||||
*/
|
||||
$minimum_font_size_limit = wp_get_typography_value_and_unit(
|
||||
$default_minimum_font_size_limit,
|
||||
array(
|
||||
'coerce_to' => $preferred_size['unit'],
|
||||
)
|
||||
);
|
||||
|
||||
// Don't enforce minimum font size if a font size has explicitly set a min and max value.
|
||||
if ( ! empty( $minimum_font_size_limit ) && ( ! $minimum_font_size_raw && ! $maximum_font_size_raw ) ) {
|
||||
/*
|
||||
* If a minimum size was not passed to this function
|
||||
* and the user-defined font size is lower than $minimum_font_size_limit,
|
||||
* do not calculate a fluid value.
|
||||
*/
|
||||
if ( $preferred_size['value'] <= $minimum_font_size_limit['value'] ) {
|
||||
return $preset['size'];
|
||||
}
|
||||
}
|
||||
|
||||
// If no fluid max font size is available use the incoming value.
|
||||
if ( ! $maximum_font_size_raw ) {
|
||||
$maximum_font_size_raw = ( $preferred_size['value'] * $default_maximum_font_size_factor ) . $preferred_size['unit'];
|
||||
$maximum_font_size_raw = $preferred_size['value'] . $preferred_size['unit'];
|
||||
}
|
||||
|
||||
/*
|
||||
* If no minimumFontSize is provided, create one using
|
||||
* the given font size multiplied by the min font size scale factor.
|
||||
*/
|
||||
if ( ! $minimum_font_size_raw ) {
|
||||
$calculated_minimum_font_size = round(
|
||||
$preferred_size['value'] * $default_minimum_font_size_factor,
|
||||
3
|
||||
);
|
||||
|
||||
// Only use calculated min font size if it's > $minimum_font_size_limit value.
|
||||
if ( ! empty( $minimum_font_size_limit ) && $calculated_minimum_font_size <= $minimum_font_size_limit['value'] ) {
|
||||
$minimum_font_size_raw = $minimum_font_size_limit['value'] . $minimum_font_size_limit['unit'];
|
||||
} else {
|
||||
$minimum_font_size_raw = $calculated_minimum_font_size . $preferred_size['unit'];
|
||||
}
|
||||
}
|
||||
|
||||
$fluid_font_size_value = wp_get_computed_fluid_typography_value(
|
||||
|
||||
@@ -437,7 +437,7 @@ function _inject_theme_attribute_in_block_template_content( $template_content )
|
||||
'core/template-part' === $block['blockName'] &&
|
||||
! isset( $block['attrs']['theme'] )
|
||||
) {
|
||||
$block['attrs']['theme'] = wp_get_theme()->get_stylesheet();
|
||||
$block['attrs']['theme'] = get_stylesheet();
|
||||
$has_updated_content = true;
|
||||
}
|
||||
}
|
||||
@@ -499,7 +499,7 @@ function _remove_theme_attribute_in_block_template_content( $template_content )
|
||||
function _build_block_template_result_from_file( $template_file, $template_type ) {
|
||||
$default_template_types = get_default_block_template_types();
|
||||
$template_content = file_get_contents( $template_file['path'] );
|
||||
$theme = wp_get_theme()->get_stylesheet();
|
||||
$theme = get_stylesheet();
|
||||
|
||||
$template = new WP_Block_Template();
|
||||
$template->id = $theme . '//' . $template_file['slug'];
|
||||
@@ -637,7 +637,7 @@ function _wp_build_title_and_description_for_taxonomy_block_template( $taxonomy,
|
||||
$args = wp_parse_args( $args, $default_args );
|
||||
$terms_query = $term_query->query( $args );
|
||||
|
||||
if ( empty( $terms_query->terms ) ) {
|
||||
if ( empty( $terms_query ) ) {
|
||||
$template->title = sprintf(
|
||||
/* translators: Custom template title in the Site Editor, referencing a taxonomy term that was not found. 1: Taxonomy singular name, 2: Term slug. */
|
||||
__( 'Not found: %1$s (%2$s)' ),
|
||||
@@ -647,7 +647,7 @@ function _wp_build_title_and_description_for_taxonomy_block_template( $taxonomy,
|
||||
return false;
|
||||
}
|
||||
|
||||
$term_title = $terms_query->terms[0]->name;
|
||||
$term_title = $terms_query[0]->name;
|
||||
|
||||
$template->title = sprintf(
|
||||
/* translators: Custom template title in the Site Editor. 1: Taxonomy singular name, 2: Term title. */
|
||||
@@ -671,7 +671,7 @@ function _wp_build_title_and_description_for_taxonomy_block_template( $taxonomy,
|
||||
$args = wp_parse_args( $args, $default_args );
|
||||
$terms_with_same_title_query = $term_query->query( $args );
|
||||
|
||||
if ( count( $terms_with_same_title_query->terms ) > 1 ) {
|
||||
if ( count( $terms_with_same_title_query ) > 1 ) {
|
||||
$template->title = sprintf(
|
||||
/* translators: Custom template title in the Site Editor. 1: Template title, 2: Term slug. */
|
||||
__( '%1$s (%2$s)' ),
|
||||
@@ -706,7 +706,7 @@ function _build_block_template_result_from_post( $post ) {
|
||||
|
||||
$theme = $terms[0]->name;
|
||||
$template_file = _get_block_template_file( $post->post_type, $post->post_name );
|
||||
$has_theme_file = wp_get_theme()->get_stylesheet() === $theme && null !== $template_file;
|
||||
$has_theme_file = get_stylesheet() === $theme && null !== $template_file;
|
||||
|
||||
$origin = get_post_meta( $post->ID, 'origin', true );
|
||||
$is_wp_suggestion = get_post_meta( $post->ID, 'is_wp_suggestion', true );
|
||||
@@ -903,7 +903,7 @@ function get_block_templates( $query = array(), $template_type = 'wp_template' )
|
||||
array(
|
||||
'taxonomy' => 'wp_theme',
|
||||
'field' => 'name',
|
||||
'terms' => wp_get_theme()->get_stylesheet(),
|
||||
'terms' => get_stylesheet(),
|
||||
),
|
||||
),
|
||||
);
|
||||
@@ -969,7 +969,7 @@ function get_block_templates( $query = array(), $template_type = 'wp_template' )
|
||||
}
|
||||
|
||||
$is_not_custom = false === array_search(
|
||||
wp_get_theme()->get_stylesheet() . '//' . $template_file['slug'],
|
||||
get_stylesheet() . '//' . $template_file['slug'],
|
||||
wp_list_pluck( $query_result, 'id' ),
|
||||
true
|
||||
);
|
||||
@@ -1110,7 +1110,7 @@ function get_block_file_template( $id, $template_type = 'wp_template' ) {
|
||||
}
|
||||
list( $theme, $slug ) = $parts;
|
||||
|
||||
if ( wp_get_theme()->get_stylesheet() !== $theme ) {
|
||||
if ( get_stylesheet() !== $theme ) {
|
||||
/** This filter is documented in wp-includes/block-template-utils.php */
|
||||
return apply_filters( 'get_block_file_template', null, $id, $template_type );
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ function _add_template_loader_filters() {
|
||||
* @param string $template Path to the template. See locate_template().
|
||||
* @param string $type Sanitized filename without extension.
|
||||
* @param string[] $templates A list of template candidates, in descending order of priority.
|
||||
* @return string The path to the Full Site Editing template canvas file, or the fallback PHP template.
|
||||
* @return string The path to the Site Editor template canvas file, or the fallback PHP template.
|
||||
*/
|
||||
function locate_block_template( $template, $type, array $templates ) {
|
||||
global $_wp_current_template_content;
|
||||
@@ -145,7 +145,7 @@ function resolve_block_template( $template_type, $template_hierarchy, $fallback_
|
||||
|
||||
// Find all potential templates 'wp_template' post matching the hierarchy.
|
||||
$query = array(
|
||||
'theme' => wp_get_theme()->get_stylesheet(),
|
||||
'theme' => get_stylesheet(),
|
||||
'slug__in' => $slugs,
|
||||
);
|
||||
$templates = get_block_templates( $query );
|
||||
|
||||
@@ -156,4 +156,5 @@
|
||||
.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background),
|
||||
.wp-block-button .wp-block-button__link.is-style-outline:not(.has-background) {
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
}
|
||||
2
wp-includes/blocks/button/style-rtl.min.css
vendored
@@ -1 +1 @@
|
||||
.wp-block-button__link{cursor:pointer;display:inline-block;text-align:center;word-break:break-word;box-sizing:border-box}.wp-block-button__link.aligncenter{text-align:center}.wp-block-button__link.alignright{text-align:right}:where(.wp-block-button__link){box-shadow:none;text-decoration:none;border-radius:9999px;padding:calc(.667em + 2px) calc(1.333em + 2px)}.wp-block-button[style*=text-decoration] .wp-block-button__link{text-decoration:inherit}.wp-block-buttons>.wp-block-button.has-custom-width{max-width:none}.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{width:100%}.wp-block-buttons>.wp-block-button.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-buttons>.wp-block-button.wp-block-button__width-25{width:calc(25% - var(--wp--style--block-gap, .5em)*0.75)}.wp-block-buttons>.wp-block-button.wp-block-button__width-50{width:calc(50% - var(--wp--style--block-gap, .5em)*0.5)}.wp-block-buttons>.wp-block-button.wp-block-button__width-75{width:calc(75% - var(--wp--style--block-gap, .5em)*0.25)}.wp-block-buttons>.wp-block-button.wp-block-button__width-100{width:100%;flex-basis:100%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-25{width:25%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-50{width:50%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-75{width:75%}.wp-block-button.is-style-squared,.wp-block-button__link.wp-block-button.is-style-squared{border-radius:0}.wp-block-button.no-border-radius,.wp-block-button__link.no-border-radius{border-radius:0!important}.wp-block-button.is-style-outline>.wp-block-button__link,.wp-block-button .wp-block-button__link.is-style-outline{border:2px solid;padding:.667em 1.333em}.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-text-color),.wp-block-button .wp-block-button__link.is-style-outline:not(.has-text-color){color:currentColor}.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background),.wp-block-button .wp-block-button__link.is-style-outline:not(.has-background){background-color:transparent}
|
||||
.wp-block-button__link{cursor:pointer;display:inline-block;text-align:center;word-break:break-word;box-sizing:border-box}.wp-block-button__link.aligncenter{text-align:center}.wp-block-button__link.alignright{text-align:right}:where(.wp-block-button__link){box-shadow:none;text-decoration:none;border-radius:9999px;padding:calc(.667em + 2px) calc(1.333em + 2px)}.wp-block-button[style*=text-decoration] .wp-block-button__link{text-decoration:inherit}.wp-block-buttons>.wp-block-button.has-custom-width{max-width:none}.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{width:100%}.wp-block-buttons>.wp-block-button.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-buttons>.wp-block-button.wp-block-button__width-25{width:calc(25% - var(--wp--style--block-gap, .5em)*0.75)}.wp-block-buttons>.wp-block-button.wp-block-button__width-50{width:calc(50% - var(--wp--style--block-gap, .5em)*0.5)}.wp-block-buttons>.wp-block-button.wp-block-button__width-75{width:calc(75% - var(--wp--style--block-gap, .5em)*0.25)}.wp-block-buttons>.wp-block-button.wp-block-button__width-100{width:100%;flex-basis:100%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-25{width:25%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-50{width:50%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-75{width:75%}.wp-block-button.is-style-squared,.wp-block-button__link.wp-block-button.is-style-squared{border-radius:0}.wp-block-button.no-border-radius,.wp-block-button__link.no-border-radius{border-radius:0!important}.wp-block-button.is-style-outline>.wp-block-button__link,.wp-block-button .wp-block-button__link.is-style-outline{border:2px solid;padding:.667em 1.333em}.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-text-color),.wp-block-button .wp-block-button__link.is-style-outline:not(.has-text-color){color:currentColor}.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background),.wp-block-button .wp-block-button__link.is-style-outline:not(.has-background){background-color:transparent;background-image:none}
|
||||
@@ -157,4 +157,5 @@
|
||||
.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background),
|
||||
.wp-block-button .wp-block-button__link.is-style-outline:not(.has-background) {
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
}
|
||||
2
wp-includes/blocks/button/style.min.css
vendored
@@ -1 +1 @@
|
||||
.wp-block-button__link{cursor:pointer;display:inline-block;text-align:center;word-break:break-word;box-sizing:border-box}.wp-block-button__link.aligncenter{text-align:center}.wp-block-button__link.alignright{text-align:right}:where(.wp-block-button__link){box-shadow:none;text-decoration:none;border-radius:9999px;padding:calc(.667em + 2px) calc(1.333em + 2px)}.wp-block-button[style*=text-decoration] .wp-block-button__link{text-decoration:inherit}.wp-block-buttons>.wp-block-button.has-custom-width{max-width:none}.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{width:100%}.wp-block-buttons>.wp-block-button.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-buttons>.wp-block-button.wp-block-button__width-25{width:calc(25% - var(--wp--style--block-gap, .5em)*0.75)}.wp-block-buttons>.wp-block-button.wp-block-button__width-50{width:calc(50% - var(--wp--style--block-gap, .5em)*0.5)}.wp-block-buttons>.wp-block-button.wp-block-button__width-75{width:calc(75% - var(--wp--style--block-gap, .5em)*0.25)}.wp-block-buttons>.wp-block-button.wp-block-button__width-100{width:100%;flex-basis:100%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-25{width:25%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-50{width:50%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-75{width:75%}.wp-block-button.is-style-squared,.wp-block-button__link.wp-block-button.is-style-squared{border-radius:0}.wp-block-button.no-border-radius,.wp-block-button__link.no-border-radius{border-radius:0!important}.wp-block-button.is-style-outline>.wp-block-button__link,.wp-block-button .wp-block-button__link.is-style-outline{border:2px solid;padding:.667em 1.333em}.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-text-color),.wp-block-button .wp-block-button__link.is-style-outline:not(.has-text-color){color:currentColor}.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background),.wp-block-button .wp-block-button__link.is-style-outline:not(.has-background){background-color:transparent}
|
||||
.wp-block-button__link{cursor:pointer;display:inline-block;text-align:center;word-break:break-word;box-sizing:border-box}.wp-block-button__link.aligncenter{text-align:center}.wp-block-button__link.alignright{text-align:right}:where(.wp-block-button__link){box-shadow:none;text-decoration:none;border-radius:9999px;padding:calc(.667em + 2px) calc(1.333em + 2px)}.wp-block-button[style*=text-decoration] .wp-block-button__link{text-decoration:inherit}.wp-block-buttons>.wp-block-button.has-custom-width{max-width:none}.wp-block-buttons>.wp-block-button.has-custom-width .wp-block-button__link{width:100%}.wp-block-buttons>.wp-block-button.has-custom-font-size .wp-block-button__link{font-size:inherit}.wp-block-buttons>.wp-block-button.wp-block-button__width-25{width:calc(25% - var(--wp--style--block-gap, .5em)*0.75)}.wp-block-buttons>.wp-block-button.wp-block-button__width-50{width:calc(50% - var(--wp--style--block-gap, .5em)*0.5)}.wp-block-buttons>.wp-block-button.wp-block-button__width-75{width:calc(75% - var(--wp--style--block-gap, .5em)*0.25)}.wp-block-buttons>.wp-block-button.wp-block-button__width-100{width:100%;flex-basis:100%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-25{width:25%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-50{width:50%}.wp-block-buttons.is-vertical>.wp-block-button.wp-block-button__width-75{width:75%}.wp-block-button.is-style-squared,.wp-block-button__link.wp-block-button.is-style-squared{border-radius:0}.wp-block-button.no-border-radius,.wp-block-button__link.no-border-radius{border-radius:0!important}.wp-block-button.is-style-outline>.wp-block-button__link,.wp-block-button .wp-block-button__link.is-style-outline{border:2px solid;padding:.667em 1.333em}.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-text-color),.wp-block-button .wp-block-button__link.is-style-outline:not(.has-text-color){color:currentColor}.wp-block-button.is-style-outline>.wp-block-button__link:not(.has-background),.wp-block-button .wp-block-button__link.is-style-outline:not(.has-background){background-color:transparent;background-image:none}
|
||||
@@ -29,11 +29,18 @@ function render_block_core_post_featured_image( $attributes, $content, $block )
|
||||
$attr['alt'] = $post_title;
|
||||
}
|
||||
|
||||
if ( ! empty( $attributes['height'] ) ) {
|
||||
$extra_styles = "height:{$attributes['height']};";
|
||||
if ( ! empty( $attributes['scale'] ) ) {
|
||||
$extra_styles .= "object-fit:{$attributes['scale']};";
|
||||
}
|
||||
$attr['style'] = empty( $attr['style'] ) ? $extra_styles : $attr['style'] . $extra_styles;
|
||||
}
|
||||
|
||||
$featured_image = get_the_post_thumbnail( $post_ID, $size_slug, $attr );
|
||||
if ( ! $featured_image ) {
|
||||
return '';
|
||||
}
|
||||
$wrapper_attributes = get_block_wrapper_attributes();
|
||||
if ( $is_link ) {
|
||||
$link_target = $attributes['linkTarget'];
|
||||
$rel = ! empty( $attributes['rel'] ) ? 'rel="' . esc_attr( $attributes['rel'] ) . '"' : '';
|
||||
@@ -49,23 +56,9 @@ function render_block_core_post_featured_image( $attributes, $content, $block )
|
||||
$featured_image = $featured_image . $overlay_markup;
|
||||
}
|
||||
|
||||
$has_width = ! empty( $attributes['width'] );
|
||||
$has_height = ! empty( $attributes['height'] );
|
||||
if ( ! $has_height && ! $has_width ) {
|
||||
return "<figure {$wrapper_attributes}>{$featured_image}</figure>";
|
||||
}
|
||||
|
||||
if ( $has_width ) {
|
||||
$wrapper_attributes = get_block_wrapper_attributes( array( 'style' => "width:{$attributes['width']};" ) );
|
||||
}
|
||||
|
||||
if ( $has_height ) {
|
||||
$image_styles = "height:{$attributes['height']};";
|
||||
if ( ! empty( $attributes['scale'] ) ) {
|
||||
$image_styles .= "object-fit:{$attributes['scale']};";
|
||||
}
|
||||
$featured_image = str_replace( 'src=', 'style="' . esc_attr( $image_styles ) . '" src=', $featured_image );
|
||||
}
|
||||
$wrapper_attributes = empty( $attributes['width'] )
|
||||
? get_block_wrapper_attributes()
|
||||
: get_block_wrapper_attributes( array( 'style' => "width:{$attributes['width']};" ) );
|
||||
|
||||
return "<figure {$wrapper_attributes}>{$featured_image}</figure>";
|
||||
}
|
||||
|
||||
@@ -98,6 +98,7 @@
|
||||
.wp-block-table td,
|
||||
.wp-block-table th {
|
||||
border: 1px solid;
|
||||
padding: 0.5em;
|
||||
}
|
||||
.wp-block-table td.is-selected,
|
||||
.wp-block-table th.is-selected {
|
||||
|
||||
2
wp-includes/blocks/table/editor-rtl.min.css
vendored
@@ -1 +1 @@
|
||||
.wp-block-table{margin:0}.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{height:auto}.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{width:auto}.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{word-break:break-word}.wp-block[data-align=center]>.wp-block-table{text-align:initial}.wp-block[data-align=center]>.wp-block-table table{margin:0 auto}.wp-block-table td,.wp-block-table th{border:1px solid}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:var(--wp-admin-theme-color);box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);border-style:double}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)}.wp-block-table table.has-individual-borders>*,.wp-block-table table.has-individual-borders td,.wp-block-table table.has-individual-borders th,.wp-block-table table.has-individual-borders tr{border:1px solid}.blocks-table__placeholder-form.blocks-table__placeholder-form{display:flex;flex-direction:column;align-items:flex-start}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.blocks-table__placeholder-form.blocks-table__placeholder-form{flex-direction:row;align-items:flex-end}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:0}}.blocks-table__placeholder-input{width:112px;margin-left:8px;margin-bottom:0}.blocks-table__placeholder-input input{height:36px}.blocks-table__placeholder-input .components-base-control__field{margin-bottom:0}
|
||||
.wp-block-table{margin:0}.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{height:auto}.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{width:auto}.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{word-break:break-word}.wp-block[data-align=center]>.wp-block-table{text-align:initial}.wp-block[data-align=center]>.wp-block-table table{margin:0 auto}.wp-block-table td,.wp-block-table th{border:1px solid;padding:.5em}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:var(--wp-admin-theme-color);box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);border-style:double}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)}.wp-block-table table.has-individual-borders>*,.wp-block-table table.has-individual-borders td,.wp-block-table table.has-individual-borders th,.wp-block-table table.has-individual-borders tr{border:1px solid}.blocks-table__placeholder-form.blocks-table__placeholder-form{display:flex;flex-direction:column;align-items:flex-start}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.blocks-table__placeholder-form.blocks-table__placeholder-form{flex-direction:row;align-items:flex-end}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:0}}.blocks-table__placeholder-input{width:112px;margin-left:8px;margin-bottom:0}.blocks-table__placeholder-input input{height:36px}.blocks-table__placeholder-input .components-base-control__field{margin-bottom:0}
|
||||
@@ -98,6 +98,7 @@
|
||||
.wp-block-table td,
|
||||
.wp-block-table th {
|
||||
border: 1px solid;
|
||||
padding: 0.5em;
|
||||
}
|
||||
.wp-block-table td.is-selected,
|
||||
.wp-block-table th.is-selected {
|
||||
|
||||
2
wp-includes/blocks/table/editor.min.css
vendored
@@ -1 +1 @@
|
||||
.wp-block-table{margin:0}.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{height:auto}.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{width:auto}.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{word-break:break-word}.wp-block[data-align=center]>.wp-block-table{text-align:initial}.wp-block[data-align=center]>.wp-block-table table{margin:0 auto}.wp-block-table td,.wp-block-table th{border:1px solid}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:var(--wp-admin-theme-color);box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);border-style:double}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)}.wp-block-table table.has-individual-borders>*,.wp-block-table table.has-individual-borders td,.wp-block-table table.has-individual-borders th,.wp-block-table table.has-individual-borders tr{border:1px solid}.blocks-table__placeholder-form.blocks-table__placeholder-form{display:flex;flex-direction:column;align-items:flex-start}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.blocks-table__placeholder-form.blocks-table__placeholder-form{flex-direction:row;align-items:flex-end}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:0}}.blocks-table__placeholder-input{width:112px;margin-right:8px;margin-bottom:0}.blocks-table__placeholder-input input{height:36px}.blocks-table__placeholder-input .components-base-control__field{margin-bottom:0}
|
||||
.wp-block-table{margin:0}.wp-block[data-align=center]>.wp-block-table,.wp-block[data-align=left]>.wp-block-table,.wp-block[data-align=right]>.wp-block-table{height:auto}.wp-block[data-align=center]>.wp-block-table table,.wp-block[data-align=left]>.wp-block-table table,.wp-block[data-align=right]>.wp-block-table table{width:auto}.wp-block[data-align=center]>.wp-block-table td,.wp-block[data-align=center]>.wp-block-table th,.wp-block[data-align=left]>.wp-block-table td,.wp-block[data-align=left]>.wp-block-table th,.wp-block[data-align=right]>.wp-block-table td,.wp-block[data-align=right]>.wp-block-table th{word-break:break-word}.wp-block[data-align=center]>.wp-block-table{text-align:initial}.wp-block[data-align=center]>.wp-block-table table{margin:0 auto}.wp-block-table td,.wp-block-table th{border:1px solid;padding:.5em}.wp-block-table td.is-selected,.wp-block-table th.is-selected{border-color:var(--wp-admin-theme-color);box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);border-style:double}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)}.wp-block-table table.has-individual-borders>*,.wp-block-table table.has-individual-borders td,.wp-block-table table.has-individual-borders th,.wp-block-table table.has-individual-borders tr{border:1px solid}.blocks-table__placeholder-form.blocks-table__placeholder-form{display:flex;flex-direction:column;align-items:flex-start}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:8px}@media (min-width:782px){.blocks-table__placeholder-form.blocks-table__placeholder-form{flex-direction:row;align-items:flex-end}.blocks-table__placeholder-form.blocks-table__placeholder-form>*{margin-bottom:0}}.blocks-table__placeholder-input{width:112px;margin-right:8px;margin-bottom:0}.blocks-table__placeholder-input input{height:36px}.blocks-table__placeholder-input .components-base-control__field{margin-bottom:0}
|
||||
@@ -81,6 +81,11 @@
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
.wp-block-table td,
|
||||
.wp-block-table th {
|
||||
border: 1px solid;
|
||||
padding: 0.5em;
|
||||
}
|
||||
.wp-block-table .has-fixed-layout {
|
||||
table-layout: fixed;
|
||||
width: 100%;
|
||||
|
||||
2
wp-includes/blocks/table/style-rtl.min.css
vendored
@@ -1 +1 @@
|
||||
.wp-block-table{overflow-x:auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.wp-block-table .has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table .has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table .has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table .has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{border-spacing:0;border-collapse:inherit;background-color:transparent;border-bottom:1px solid #f0f0f0}.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:#f0f0f0}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{border-color:transparent}.wp-block-table .has-border-color>*,.wp-block-table .has-border-color td,.wp-block-table .has-border-color th,.wp-block-table .has-border-color tr{border-color:inherit}.wp-block-table table[style*=border-top-color]>*,.wp-block-table table[style*=border-top-color]>* td,.wp-block-table table[style*=border-top-color]>* th,.wp-block-table table[style*=border-top-color] tr:first-child,.wp-block-table table[style*=border-top-color] tr:first-child td,.wp-block-table table[style*=border-top-color] tr:first-child th{border-top-color:inherit}.wp-block-table table[style*=border-top-color] tr:not(:first-child){border-top-color:currentColor}.wp-block-table table[style*=border-right-color]>*,.wp-block-table table[style*=border-right-color] td:last-child,.wp-block-table table[style*=border-right-color] th,.wp-block-table table[style*=border-right-color] tr{border-left-color:inherit}.wp-block-table table[style*=border-bottom-color]>*,.wp-block-table table[style*=border-bottom-color]>* td,.wp-block-table table[style*=border-bottom-color]>* th,.wp-block-table table[style*=border-bottom-color] tr:last-child,.wp-block-table table[style*=border-bottom-color] tr:last-child td,.wp-block-table table[style*=border-bottom-color] tr:last-child th{border-bottom-color:inherit}.wp-block-table table[style*=border-bottom-color] tr:not(:last-child){border-bottom-color:currentColor}.wp-block-table table[style*=border-left-color]>*,.wp-block-table table[style*=border-left-color] td:first-child,.wp-block-table table[style*=border-left-color] th,.wp-block-table table[style*=border-left-color] tr{border-right-color:inherit}.wp-block-table table[style*=border-style]>*,.wp-block-table table[style*=border-style] td,.wp-block-table table[style*=border-style] th,.wp-block-table table[style*=border-style] tr{border-style:inherit}.wp-block-table table[style*=border-width]>*,.wp-block-table table[style*=border-width] td,.wp-block-table table[style*=border-width] th,.wp-block-table table[style*=border-width] tr{border-width:inherit;border-style:inherit}
|
||||
.wp-block-table{overflow-x:auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table td,.wp-block-table th{border:1px solid;padding:.5em}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.wp-block-table .has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table .has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table .has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table .has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{border-spacing:0;border-collapse:inherit;background-color:transparent;border-bottom:1px solid #f0f0f0}.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:#f0f0f0}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{border-color:transparent}.wp-block-table .has-border-color>*,.wp-block-table .has-border-color td,.wp-block-table .has-border-color th,.wp-block-table .has-border-color tr{border-color:inherit}.wp-block-table table[style*=border-top-color]>*,.wp-block-table table[style*=border-top-color]>* td,.wp-block-table table[style*=border-top-color]>* th,.wp-block-table table[style*=border-top-color] tr:first-child,.wp-block-table table[style*=border-top-color] tr:first-child td,.wp-block-table table[style*=border-top-color] tr:first-child th{border-top-color:inherit}.wp-block-table table[style*=border-top-color] tr:not(:first-child){border-top-color:currentColor}.wp-block-table table[style*=border-right-color]>*,.wp-block-table table[style*=border-right-color] td:last-child,.wp-block-table table[style*=border-right-color] th,.wp-block-table table[style*=border-right-color] tr{border-left-color:inherit}.wp-block-table table[style*=border-bottom-color]>*,.wp-block-table table[style*=border-bottom-color]>* td,.wp-block-table table[style*=border-bottom-color]>* th,.wp-block-table table[style*=border-bottom-color] tr:last-child,.wp-block-table table[style*=border-bottom-color] tr:last-child td,.wp-block-table table[style*=border-bottom-color] tr:last-child th{border-bottom-color:inherit}.wp-block-table table[style*=border-bottom-color] tr:not(:last-child){border-bottom-color:currentColor}.wp-block-table table[style*=border-left-color]>*,.wp-block-table table[style*=border-left-color] td:first-child,.wp-block-table table[style*=border-left-color] th,.wp-block-table table[style*=border-left-color] tr{border-right-color:inherit}.wp-block-table table[style*=border-style]>*,.wp-block-table table[style*=border-style] td,.wp-block-table table[style*=border-style] th,.wp-block-table table[style*=border-style] tr{border-style:inherit}.wp-block-table table[style*=border-width]>*,.wp-block-table table[style*=border-width] td,.wp-block-table table[style*=border-width] th,.wp-block-table table[style*=border-width] tr{border-width:inherit;border-style:inherit}
|
||||
@@ -81,6 +81,11 @@
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
.wp-block-table td,
|
||||
.wp-block-table th {
|
||||
border: 1px solid;
|
||||
padding: 0.5em;
|
||||
}
|
||||
.wp-block-table .has-fixed-layout {
|
||||
table-layout: fixed;
|
||||
width: 100%;
|
||||
|
||||
2
wp-includes/blocks/table/style.min.css
vendored
@@ -1 +1 @@
|
||||
.wp-block-table{overflow-x:auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.wp-block-table .has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table .has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table .has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table .has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{border-spacing:0;border-collapse:inherit;background-color:transparent;border-bottom:1px solid #f0f0f0}.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:#f0f0f0}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{border-color:transparent}.wp-block-table .has-border-color>*,.wp-block-table .has-border-color td,.wp-block-table .has-border-color th,.wp-block-table .has-border-color tr{border-color:inherit}.wp-block-table table[style*=border-top-color]>*,.wp-block-table table[style*=border-top-color]>* td,.wp-block-table table[style*=border-top-color]>* th,.wp-block-table table[style*=border-top-color] tr:first-child,.wp-block-table table[style*=border-top-color] tr:first-child td,.wp-block-table table[style*=border-top-color] tr:first-child th{border-top-color:inherit}.wp-block-table table[style*=border-top-color] tr:not(:first-child){border-top-color:currentColor}.wp-block-table table[style*=border-right-color]>*,.wp-block-table table[style*=border-right-color] td:last-child,.wp-block-table table[style*=border-right-color] th,.wp-block-table table[style*=border-right-color] tr{border-right-color:inherit}.wp-block-table table[style*=border-bottom-color]>*,.wp-block-table table[style*=border-bottom-color]>* td,.wp-block-table table[style*=border-bottom-color]>* th,.wp-block-table table[style*=border-bottom-color] tr:last-child,.wp-block-table table[style*=border-bottom-color] tr:last-child td,.wp-block-table table[style*=border-bottom-color] tr:last-child th{border-bottom-color:inherit}.wp-block-table table[style*=border-bottom-color] tr:not(:last-child){border-bottom-color:currentColor}.wp-block-table table[style*=border-left-color]>*,.wp-block-table table[style*=border-left-color] td:first-child,.wp-block-table table[style*=border-left-color] th,.wp-block-table table[style*=border-left-color] tr{border-left-color:inherit}.wp-block-table table[style*=border-style]>*,.wp-block-table table[style*=border-style] td,.wp-block-table table[style*=border-style] th,.wp-block-table table[style*=border-style] tr{border-style:inherit}.wp-block-table table[style*=border-width]>*,.wp-block-table table[style*=border-width] td,.wp-block-table table[style*=border-width] th,.wp-block-table table[style*=border-width] tr{border-width:inherit;border-style:inherit}
|
||||
.wp-block-table{overflow-x:auto}.wp-block-table table{border-collapse:collapse;width:100%}.wp-block-table td,.wp-block-table th{border:1px solid;padding:.5em}.wp-block-table .has-fixed-layout{table-layout:fixed;width:100%}.wp-block-table .has-fixed-layout td,.wp-block-table .has-fixed-layout th{word-break:break-word}.wp-block-table.aligncenter,.wp-block-table.alignleft,.wp-block-table.alignright{display:table;width:auto}.wp-block-table.aligncenter td,.wp-block-table.aligncenter th,.wp-block-table.alignleft td,.wp-block-table.alignleft th,.wp-block-table.alignright td,.wp-block-table.alignright th{word-break:break-word}.wp-block-table .has-subtle-light-gray-background-color{background-color:#f3f4f5}.wp-block-table .has-subtle-pale-green-background-color{background-color:#e9fbe5}.wp-block-table .has-subtle-pale-blue-background-color{background-color:#e7f5fe}.wp-block-table .has-subtle-pale-pink-background-color{background-color:#fcf0ef}.wp-block-table.is-style-stripes{border-spacing:0;border-collapse:inherit;background-color:transparent;border-bottom:1px solid #f0f0f0}.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color:#f0f0f0}.wp-block-table.is-style-stripes.has-subtle-light-gray-background-color tbody tr:nth-child(odd){background-color:#f3f4f5}.wp-block-table.is-style-stripes.has-subtle-pale-green-background-color tbody tr:nth-child(odd){background-color:#e9fbe5}.wp-block-table.is-style-stripes.has-subtle-pale-blue-background-color tbody tr:nth-child(odd){background-color:#e7f5fe}.wp-block-table.is-style-stripes.has-subtle-pale-pink-background-color tbody tr:nth-child(odd){background-color:#fcf0ef}.wp-block-table.is-style-stripes td,.wp-block-table.is-style-stripes th{border-color:transparent}.wp-block-table .has-border-color>*,.wp-block-table .has-border-color td,.wp-block-table .has-border-color th,.wp-block-table .has-border-color tr{border-color:inherit}.wp-block-table table[style*=border-top-color]>*,.wp-block-table table[style*=border-top-color]>* td,.wp-block-table table[style*=border-top-color]>* th,.wp-block-table table[style*=border-top-color] tr:first-child,.wp-block-table table[style*=border-top-color] tr:first-child td,.wp-block-table table[style*=border-top-color] tr:first-child th{border-top-color:inherit}.wp-block-table table[style*=border-top-color] tr:not(:first-child){border-top-color:currentColor}.wp-block-table table[style*=border-right-color]>*,.wp-block-table table[style*=border-right-color] td:last-child,.wp-block-table table[style*=border-right-color] th,.wp-block-table table[style*=border-right-color] tr{border-right-color:inherit}.wp-block-table table[style*=border-bottom-color]>*,.wp-block-table table[style*=border-bottom-color]>* td,.wp-block-table table[style*=border-bottom-color]>* th,.wp-block-table table[style*=border-bottom-color] tr:last-child,.wp-block-table table[style*=border-bottom-color] tr:last-child td,.wp-block-table table[style*=border-bottom-color] tr:last-child th{border-bottom-color:inherit}.wp-block-table table[style*=border-bottom-color] tr:not(:last-child){border-bottom-color:currentColor}.wp-block-table table[style*=border-left-color]>*,.wp-block-table table[style*=border-left-color] td:first-child,.wp-block-table table[style*=border-left-color] th,.wp-block-table table[style*=border-left-color] tr{border-left-color:inherit}.wp-block-table table[style*=border-style]>*,.wp-block-table table[style*=border-style] td,.wp-block-table table[style*=border-style] th,.wp-block-table table[style*=border-style] tr{border-style:inherit}.wp-block-table table[style*=border-width]>*,.wp-block-table table[style*=border-width] td,.wp-block-table table[style*=border-width] th,.wp-block-table table[style*=border-width] tr{border-width:inherit;border-style:inherit}
|
||||
@@ -85,8 +85,6 @@
|
||||
}
|
||||
.wp-block-table td,
|
||||
.wp-block-table th {
|
||||
padding: 0.5em;
|
||||
border: 1px solid;
|
||||
word-break: normal;
|
||||
}
|
||||
.wp-block-table figcaption {
|
||||
|
||||
2
wp-includes/blocks/table/theme-rtl.min.css
vendored
@@ -1 +1 @@
|
||||
.wp-block-table{margin:"0 0" 1em 0}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)}
|
||||
.wp-block-table{margin:"0 0" 1em 0}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{word-break:normal}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)}
|
||||
@@ -85,8 +85,6 @@
|
||||
}
|
||||
.wp-block-table td,
|
||||
.wp-block-table th {
|
||||
padding: 0.5em;
|
||||
border: 1px solid;
|
||||
word-break: normal;
|
||||
}
|
||||
.wp-block-table figcaption {
|
||||
|
||||
2
wp-includes/blocks/table/theme.min.css
vendored
@@ -1 +1 @@
|
||||
.wp-block-table{margin:"0 0 1em 0"}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{padding:.5em;border:1px solid;word-break:normal}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)}
|
||||
.wp-block-table{margin:"0 0 1em 0"}.wp-block-table thead{border-bottom:3px solid}.wp-block-table tfoot{border-top:3px solid}.wp-block-table td,.wp-block-table th{word-break:normal}.wp-block-table figcaption{color:#555;font-size:13px;text-align:center}.is-dark-theme .wp-block-table figcaption{color:hsla(0,0%,100%,.65)}
|
||||
@@ -193,6 +193,11 @@ function build_template_part_block_instance_variations() {
|
||||
if ( wp_installing() ) {
|
||||
return array();
|
||||
}
|
||||
|
||||
if ( ! current_theme_supports( 'block-templates' ) && ! current_theme_supports( 'block-template-parts' ) ) {
|
||||
return array();
|
||||
}
|
||||
|
||||
$variations = array();
|
||||
$template_parts = get_block_templates(
|
||||
array(
|
||||
|
||||
@@ -331,7 +331,9 @@ function redirect_canonical( $requested_url = null, $do_redirect = true ) {
|
||||
$term_count = 0;
|
||||
|
||||
foreach ( $wp_query->tax_query->queried_terms as $tax_query ) {
|
||||
$term_count += count( $tax_query['terms'] );
|
||||
if ( isset( $tax_query['terms'] ) && is_countable( $tax_query['terms'] ) ) {
|
||||
$term_count += count( $tax_query['terms'] );
|
||||
}
|
||||
}
|
||||
|
||||
$obj = $wp_query->get_queried_object();
|
||||
|
||||
@@ -1030,30 +1030,6 @@ function add_role( $role, $display_name, $capabilities = array() ) {
|
||||
return wp_roles()->add_role( $role, $display_name, $capabilities );
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates an existing role. Creates a new role if it doesn't exist.
|
||||
*
|
||||
* Modifies the display name and/or capabilities for an existing role.
|
||||
* If the role does not exist then a new role is created.
|
||||
*
|
||||
* The capabilities are defined in the following format: `array( 'read' => true )`.
|
||||
* To explicitly deny the role a capability, set the value for that capability to false.
|
||||
*
|
||||
* @since 6.1.0
|
||||
*
|
||||
* @param string $role Role name.
|
||||
* @param string|null $display_name Optional. Role display name. If null, the display name
|
||||
* is not modified. Default null.
|
||||
* @param bool[]|null $capabilities Optional. List of capabilities keyed by the capability name,
|
||||
* e.g. `array( 'edit_posts' => true, 'delete_posts' => false )`.
|
||||
* If null, don't alter capabilities for the existing role and make
|
||||
* empty capabilities for the new one. Default null.
|
||||
* @return WP_Role|void WP_Role object, if the role is updated.
|
||||
*/
|
||||
function update_role( $role, $display_name = null, $capabilities = null ) {
|
||||
return wp_roles()->update_role( $role, $display_name, $capabilities );
|
||||
}
|
||||
|
||||
/**
|
||||
* Removes a role, if it exists.
|
||||
*
|
||||
|
||||
@@ -295,8 +295,8 @@ class WP_Block_Type {
|
||||
*
|
||||
* @param string $name Deprecated property name.
|
||||
*
|
||||
* @return string|null|void The value read from the new property if the first item in the array provided,
|
||||
* null when value not found, or void when unknown property name provided.
|
||||
* @return string|string[]|null|void The value read from the new property if the first item in the array provided,
|
||||
* null when value not found, or void when unknown property name provided.
|
||||
*/
|
||||
public function __get( $name ) {
|
||||
if ( ! in_array( $name, $this->deprecated_properties ) ) {
|
||||
@@ -304,6 +304,14 @@ class WP_Block_Type {
|
||||
}
|
||||
|
||||
$new_name = $name . '_handles';
|
||||
|
||||
if ( ! property_exists( $this, $new_name ) || ! is_array( $this->{$new_name} ) ) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if ( count( $this->{$new_name} ) > 1 ) {
|
||||
return $this->{$new_name};
|
||||
}
|
||||
return isset( $this->{$new_name}[0] ) ? $this->{$new_name}[0] : null;
|
||||
}
|
||||
|
||||
@@ -343,12 +351,32 @@ class WP_Block_Type {
|
||||
return;
|
||||
}
|
||||
|
||||
$new_name = $name . '_handles';
|
||||
|
||||
if ( is_array( $value ) ) {
|
||||
$filtered = array_filter( $value, 'is_string' );
|
||||
|
||||
if ( count( $filtered ) !== count( $value ) ) {
|
||||
_doing_it_wrong(
|
||||
__METHOD__,
|
||||
sprintf(
|
||||
/* translators: %s: The '$value' argument. */
|
||||
__( 'The %s argument must be a string or a string array.' ),
|
||||
'<code>$value</code>'
|
||||
),
|
||||
'6.1.0'
|
||||
);
|
||||
}
|
||||
|
||||
$this->{$new_name} = array_values( $filtered );
|
||||
return;
|
||||
}
|
||||
|
||||
if ( ! is_string( $value ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
$new_name = $name . '_handles';
|
||||
$this->{$new_name}[0] = $value;
|
||||
$this->{$new_name} = array( $value );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -80,8 +80,7 @@ class WP_oEmbed {
|
||||
'#https?://(www\.)?mixcloud\.com/.*#i' => array( 'https://www.mixcloud.com/oembed', true ),
|
||||
'#https?://(www\.|embed\.)?ted\.com/talks/.*#i' => array( 'https://www.ted.com/services/v1/oembed.{format}', true ),
|
||||
'#https?://(www\.)?(animoto|video214)\.com/play/.*#i' => array( 'https://animoto.com/oembeds/create', true ),
|
||||
'#https?://(.+)\.tumblr\.com/post/.*#i' => array( 'https://www.tumblr.com/oembed/1.0', true ),
|
||||
'#https?://(www\.)?tumblr\.com/blog/view/[^/]+/.*#i' => array( 'https://www.tumblr.com/oembed/1.0', true ),
|
||||
'#https?://(.+)\.tumblr\.com/.*#i' => array( 'https://www.tumblr.com/oembed/1.0', true ),
|
||||
'#https?://(www\.)?kickstarter\.com/projects/.*#i' => array( 'https://www.kickstarter.com/services/oembed', true ),
|
||||
'#https?://kck\.st/.*#i' => array( 'https://www.kickstarter.com/services/oembed', true ),
|
||||
'#https?://cloudup\.com/.*#i' => array( 'https://cloudup.com/oembed', true ),
|
||||
|
||||