01f7a082 by Jeremy Groot

wp core update

1 parent 254fa1fa
Showing 1000 changed files with 530 additions and 537 deletions

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

WordPress - Web publishing software
Copyright 2011-2022 by the contributors
Copyright 2011-2023 by the contributors
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......
......@@ -47,7 +47,7 @@
</ol>
<h2>Migrating from other systems</h2>
<p>WordPress can <a href="https://wordpress.org/support/article/importing-content/">import from a number of systems</a>. First you need to get WordPress installed and working as described above, before using <a href="wp-admin/import.php">our import tools</a>.</p>
<p>WordPress can <a href="https://wordpress.org/documentation/article/importing-content/">import from a number of systems</a>. First you need to get WordPress installed and working as described above, before using <a href="wp-admin/import.php">our import tools</a>.</p>
<h2>System Requirements</h2>
<ul>
......@@ -58,7 +58,7 @@
<h3>Recommendations</h3>
<ul>
<li><a href="https://secure.php.net/">PHP</a> version <strong>7.4</strong> or greater.</li>
<li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.7</strong> or greater OR <a href="https://mariadb.org/">MariaDB</a> version <strong>10.2</strong> or greater.</li>
<li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.7</strong> or greater OR <a href="https://mariadb.org/">MariaDB</a> version <strong>10.3</strong> or greater.</li>
<li>The <a href="https://httpd.apache.org/docs/2.2/mod/mod_rewrite.html">mod_rewrite</a> Apache module.</li>
<li><a href="https://wordpress.org/news/2016/12/moving-toward-ssl/">HTTPS</a> support.</li>
<li>A link to <a href="https://wordpress.org/">wordpress.org</a> on your site.</li>
......@@ -67,8 +67,8 @@
<h2>Online Resources</h2>
<p>If you have any questions that are not addressed in this document, please take advantage of WordPress&#8217; numerous online resources:</p>
<dl>
<dt><a href="https://codex.wordpress.org/">The WordPress Codex</a></dt>
<dd>The Codex is the encyclopedia of all things WordPress. It is the most comprehensive source of information for WordPress available.</dd>
<dt><a href="https://wordpress.org/documentation/">HelpHub</a></dt>
<dd>HelpHub is the encyclopedia of all things WordPress. It is the most comprehensive source of information for WordPress available.</dd>
<dt><a href="https://wordpress.org/news/">The WordPress Blog</a></dt>
<dd>This is where you&#8217;ll find the latest updates and news related to WordPress. Recent WordPress news appears in your administrative dashboard by default.</dd>
<dt><a href="https://planet.wordpress.org/">WordPress Planet</a></dt>
......@@ -88,7 +88,7 @@
<h2>Share the Love</h2>
<p>WordPress has no multi-million dollar marketing campaign or celebrity sponsors, but we do have something even better&#8212;you. If you enjoy WordPress please consider telling a friend, setting it up for someone less knowledgeable than yourself, or writing the author of a media article that overlooks us.</p>
<p>WordPress is the official continuation of <a href="http://cafelog.com/">b2/caf&#233;log</a>, which came from Michel V. The work has been continued by the <a href="https://wordpress.org/about/">WordPress developers</a>. If you would like to support WordPress, please consider <a href="https://wordpress.org/donate/">donating</a>.</p>
<p>WordPress is the official continuation of <a href="https://cafelog.com/">b2/caf&#233;log</a>, which came from Michel V. The work has been continued by the <a href="https://wordpress.org/about/">WordPress developers</a>. If you would like to support WordPress, please consider <a href="https://wordpress.org/donate/">donating</a>.</p>
<h2>License</h2>
<p>WordPress is free software, and is released under the terms of the <abbr>GPL</abbr> (GNU General Public License) version 2 or (at your option) any later version. See <a href="license.txt">license.txt</a>.</p>
......
......@@ -68,8 +68,8 @@ switch ( $action ) {
get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/comments-screen/">Documentation on Comments</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
'<p>' . __( '<a href="https://wordpress.org/documentation/article/comments-screen/">Documentation on Comments</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
);
wp_enqueue_script( 'comment' );
......
......@@ -37,15 +37,15 @@ $credits = wp_credits();
);
?>
</div>
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
<a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
<a href="credits.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Credits' ); ?></a>
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
</nav>
</div>
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
<a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
<a href="credits.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Credits' ); ?></a>
<a href="freedoms.php" class="nav-tab"><?php _e( 'Freedoms' ); ?></a>
<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
</nav>
<div class="about__section has-1-column has-gutters">
<div class="column aligncenter">
<?php if ( ! $credits ) : ?>
......
......@@ -22,7 +22,7 @@
.about__container {
/* Section backgrounds */
--background: #274acd;
--background: #1d35b4;
--subtle-background: #eff2ff;
/* Main text color */
......@@ -30,8 +30,8 @@
--text-light: #fff;
/* Accent colors: used in header, on special classes. */
--accent-1: #3858e9; /* Link color, credit image overlay */
--accent-2: #fffcb5; /* Accent background */
--accent-1: #1d35b4; /* Link color, credit image overlay */
--accent-2: #33f078; /* Accent background */
/* Navigation colors. */
--nav-background: #fff;
......@@ -221,76 +221,19 @@
grid-template-columns: 3fr 2fr;
}
.about__section.has-2-columns .is-section-header {
grid-column-start: 1;
-ms-grid-column-span: 2;
grid-column-end: span 2;
}
.about__section.has-2-columns .column:nth-of-type(2n+1) {
.about__section .is-section-header {
grid-column-start: 1;
}
.about__section.has-2-columns .column:nth-of-type(2n) {
grid-column-start: 2;
grid-column-end: -1;
}
.about__section.has-3-columns {
grid-template-columns: repeat(3, 1fr);
}
.about__section.has-3-columns .is-section-header {
grid-column-start: 1;
-ms-grid-column-span: 3;
grid-column-end: span 3;
}
.about__section.has-3-columns .column:nth-of-type(3n+1) {
grid-column-start: 1;
}
.about__section.has-3-columns .column:nth-of-type(3n+2) {
grid-column-start: 2;
}
.about__section.has-3-columns .column:nth-of-type(3n) {
grid-column-start: 3;
}
.about__section.has-4-columns {
grid-template-columns: repeat(4, 1fr);
}
.about__section.has-4-columns .is-section-header {
grid-column-start: 1;
-ms-grid-column-span: 4;
grid-column-end: span 4;
}
.about__section.has-4-columns .column:nth-of-type(4n+1) {
grid-column-start: 1;
}
.about__section.has-4-columns .column:nth-of-type(4n+2) {
grid-column-start: 2;
}
.about__section.has-4-columns .column:nth-of-type(4n+3) {
grid-column-start: 3;
}
.about__section.has-4-columns .column:nth-of-type(4n) {
grid-column-start: 4;
}
/* Any columns following a section header need to be expicitly put into the second row, for IE support. */
.about__section.has-2-columns .is-section-header ~ .column,
.about__section.has-3-columns .is-section-header ~ .column,
.about__section.has-4-columns .is-section-header ~ .column,
.about__section.has-overlap-style .is-section-header ~ .column {
grid-row-start: 2;
}
.about__section.has-overlap-style {
grid-template-columns: repeat(7, 1fr);
}
......@@ -301,13 +244,11 @@
.about__section.has-overlap-style .column:nth-of-type(2n+1) {
grid-column-start: 2;
-ms-grid-column-span: 3;
grid-column-end: span 3;
}
.about__section.has-overlap-style .column:nth-of-type(2n) {
grid-column-start: 4;
-ms-grid-column-span: 3;
grid-column-end: span 3;
}
......@@ -355,29 +296,6 @@
grid-template-columns: repeat(2, 1fr);
}
.about__section.has-4-columns .column:nth-of-type(2n+1) {
grid-column-start: 1;
}
.about__section.has-4-columns .column:nth-of-type(2n) {
grid-column-start: 2;
}
.about__section.has-4-columns .column:nth-of-type(4n+3),
.about__section.has-4-columns .column:nth-of-type(4n) {
grid-row-start: 2;
}
.about__section.has-4-columns .is-section-header {
-ms-grid-column-span: 2;
grid-column-end: span 2;
}
.about__section.has-4-columns .is-section-header ~ .column:nth-of-type(4n+3),
.about__section.has-4-columns .is-section-header ~ .column:nth-of-type(4n) {
grid-row-start: 3;
}
.about__section.has-overlap-style {
grid-template-columns: 1fr;
}
......@@ -385,10 +303,8 @@
/* At this size, the two columns fully overlap */
.about__section.has-overlap-style .column.column {
grid-column-start: 1;
-ms-grid-column-span: 1;
grid-column-end: 2;
grid-row-start: 1;
-ms-grid-row-span: 1;
grid-row-end: 2;
}
}
......@@ -476,7 +392,7 @@
.about__container h3.is-smaller-heading {
margin-top: 0;
font-size: 1.125rem;
font-weight: 700;
font-weight: 600;
line-height: 1.6;
}
......@@ -549,6 +465,10 @@
margin-left: auto;
}
.about__container .about__image svg {
vertical-align: middle;
}
.about__container .about__image + h3 {
margin-top: 1.5em;
}
......@@ -558,10 +478,10 @@
}
.about__container hr {
margin: 0;
margin: 0 var(--gap);
height: var(--gap);
border: none;
border-top: 4px solid #d9d9d9;
border-top: 4px solid var(--accent-2);
}
.about__container hr.is-small {
......@@ -588,6 +508,11 @@
font-size: 1.6em;
}
.about__section.has-3-columns,
.about__section.has-4-columns {
font-size: 1rem;
}
@media screen and (max-width: 480px) {
.about__section.is-feature {
font-size: 1.4em;
......@@ -603,41 +528,30 @@
/* 1.3 - Header */
.about__header {
--about-header-image-width: 780px;
--about-header-image-height: 550px;
--about-header-bg-width: var(--about-header-image-width);
--about-header-bg-height: var(--about-header-image-height);
--about-header-bg-offset-block: 0;
position: relative;
margin-bottom: var(--gap);
padding-top: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
box-sizing: border-box;
padding: calc(var(--gap) * 2) 0;
min-height: 420px;
color: var(--text-light);
background: var(--background) url('../images/about-header-about.svg?ver=6.1') no-repeat;
background-size: var(--about-header-bg-width) var(--about-header-bg-height);
background-position: center top var(--about-header-bg-offset-block);
background: var(--background) url('../images/about-header-about.svg?ver=6.2') no-repeat;
background-size: cover;
background-position: center;
}
.credits-php .about__header {
--about-header-image-width: 863px;
--about-header-image-height: 550px;
background-image: url('../images/about-header-credits.svg?ver=6.1');
background-image: url('../images/about-header-credits.svg?ver=6.2');
}
.freedoms-php .about__header {
--about-header-image-width: 782px;
--about-header-image-height: 510px;
background-image: url('../images/about-header-freedoms.svg?ver=6.1');
background-image: url('../images/about-header-freedoms.svg?ver=6.2');
}
.privacy-php .about__header {
--about-header-image-width: 1005px;
--about-header-image-height: 500px;
--about-header-bg-offset-block: calc(var(--gap) * -2);
background-image: url('../images/about-header-privacy.svg?ver=6.1');
background-image: url('../images/about-header-privacy.svg?ver=6.2');
}
.about__header-image {
......@@ -647,7 +561,7 @@
.about__header-title {
box-sizing: border-box;
margin: 0 var(--gap);
padding: 9rem 0 0;
padding: 0;
text-align: center;
}
......@@ -657,7 +571,7 @@
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(3rem, 20vw - 9rem, 6rem);
line-height: 1;
font-weight: 400;
font-weight: 600;
}
.credits-php .about__header-title h1,
......@@ -667,26 +581,27 @@
font-size: clamp(3rem, 10vw - 3rem, 4.5rem);
}
.about__header-title h1 span {
color: var(--accent-2);
}
.about__header-text {
box-sizing: border-box;
max-width: 22em;
margin: 0 auto 10rem;
margin: 0 auto;
padding: 0;
font-size: 1.6rem;
line-height: 1.15;
text-align: center;
}
.credits-php .about__header-text {
margin-bottom: 9rem;
}
.about__header-navigation {
position: relative;
z-index: 1;
display: flex;
justify-content: center;
padding-top: 0;
margin-bottom: var(--gap);
background: var(--nav-background);
color: var(--nav-color);
border-bottom: 3px solid var(--nav-border);
......@@ -726,15 +641,6 @@
}
@media screen and (max-width: 960px) {
.about__header {
--about-header-bg-width: calc(var(--about-header-image-width) * 0.85);
--about-header-bg-height: calc(var(--about-header-image-height) * 0.85);
}
.privacy-php .about__header {
--about-header-bg-offset-block: 0;
}
.about__header-title h1 {
/* Fluid font size scales on browser size 600px - 960px. */
font-size: clamp(3rem, 13.33vw - 2rem, 6rem);
......@@ -777,8 +683,7 @@
@media screen and (max-width: 600px) {
.about__header {
--about-header-bg-width: calc(var(--about-header-image-width) * 0.75);
--about-header-bg-height: calc(var(--about-header-image-height) * 0.75);
min-height: auto;
}
}
......@@ -794,15 +699,9 @@
font-size: 2.4em;
}
.about__header-title {
padding-top: 2rem;
}
.about__header-text,
.credits-php .about__header-text {
.about__header-text {
margin-right: calc(var(--gap) / 2);
margin-left: calc(var(--gap) / 2);
margin-bottom: 2rem;
}
.about__header-navigation {
......
......@@ -21,7 +21,7 @@
.about__container {
/* Section backgrounds */
--background: #274acd;
--background: #1d35b4;
--subtle-background: #eff2ff;
/* Main text color */
......@@ -29,8 +29,8 @@
--text-light: #fff;
/* Accent colors: used in header, on special classes. */
--accent-1: #3858e9; /* Link color, credit image overlay */
--accent-2: #fffcb5; /* Accent background */
--accent-1: #1d35b4; /* Link color, credit image overlay */
--accent-2: #33f078; /* Accent background */
/* Navigation colors. */
--nav-background: #fff;
......@@ -220,76 +220,19 @@
grid-template-columns: 3fr 2fr;
}
.about__section.has-2-columns .is-section-header {
grid-column-start: 1;
-ms-grid-column-span: 2;
grid-column-end: span 2;
}
.about__section.has-2-columns .column:nth-of-type(2n+1) {
.about__section .is-section-header {
grid-column-start: 1;
}
.about__section.has-2-columns .column:nth-of-type(2n) {
grid-column-start: 2;
grid-column-end: -1;
}
.about__section.has-3-columns {
grid-template-columns: repeat(3, 1fr);
}
.about__section.has-3-columns .is-section-header {
grid-column-start: 1;
-ms-grid-column-span: 3;
grid-column-end: span 3;
}
.about__section.has-3-columns .column:nth-of-type(3n+1) {
grid-column-start: 1;
}
.about__section.has-3-columns .column:nth-of-type(3n+2) {
grid-column-start: 2;
}
.about__section.has-3-columns .column:nth-of-type(3n) {
grid-column-start: 3;
}
.about__section.has-4-columns {
grid-template-columns: repeat(4, 1fr);
}
.about__section.has-4-columns .is-section-header {
grid-column-start: 1;
-ms-grid-column-span: 4;
grid-column-end: span 4;
}
.about__section.has-4-columns .column:nth-of-type(4n+1) {
grid-column-start: 1;
}
.about__section.has-4-columns .column:nth-of-type(4n+2) {
grid-column-start: 2;
}
.about__section.has-4-columns .column:nth-of-type(4n+3) {
grid-column-start: 3;
}
.about__section.has-4-columns .column:nth-of-type(4n) {
grid-column-start: 4;
}
/* Any columns following a section header need to be expicitly put into the second row, for IE support. */
.about__section.has-2-columns .is-section-header ~ .column,
.about__section.has-3-columns .is-section-header ~ .column,
.about__section.has-4-columns .is-section-header ~ .column,
.about__section.has-overlap-style .is-section-header ~ .column {
grid-row-start: 2;
}
.about__section.has-overlap-style {
grid-template-columns: repeat(7, 1fr);
}
......@@ -300,13 +243,11 @@
.about__section.has-overlap-style .column:nth-of-type(2n+1) {
grid-column-start: 2;
-ms-grid-column-span: 3;
grid-column-end: span 3;
}
.about__section.has-overlap-style .column:nth-of-type(2n) {
grid-column-start: 4;
-ms-grid-column-span: 3;
grid-column-end: span 3;
}
......@@ -354,29 +295,6 @@
grid-template-columns: repeat(2, 1fr);
}
.about__section.has-4-columns .column:nth-of-type(2n+1) {
grid-column-start: 1;
}
.about__section.has-4-columns .column:nth-of-type(2n) {
grid-column-start: 2;
}
.about__section.has-4-columns .column:nth-of-type(4n+3),
.about__section.has-4-columns .column:nth-of-type(4n) {
grid-row-start: 2;
}
.about__section.has-4-columns .is-section-header {
-ms-grid-column-span: 2;
grid-column-end: span 2;
}
.about__section.has-4-columns .is-section-header ~ .column:nth-of-type(4n+3),
.about__section.has-4-columns .is-section-header ~ .column:nth-of-type(4n) {
grid-row-start: 3;
}
.about__section.has-overlap-style {
grid-template-columns: 1fr;
}
......@@ -384,10 +302,8 @@
/* At this size, the two columns fully overlap */
.about__section.has-overlap-style .column.column {
grid-column-start: 1;
-ms-grid-column-span: 1;
grid-column-end: 2;
grid-row-start: 1;
-ms-grid-row-span: 1;
grid-row-end: 2;
}
}
......@@ -475,7 +391,7 @@
.about__container h3.is-smaller-heading {
margin-top: 0;
font-size: 1.125rem;
font-weight: 700;
font-weight: 600;
line-height: 1.6;
}
......@@ -548,6 +464,10 @@
margin-right: auto;
}
.about__container .about__image svg {
vertical-align: middle;
}
.about__container .about__image + h3 {
margin-top: 1.5em;
}
......@@ -557,10 +477,10 @@
}
.about__container hr {
margin: 0;
margin: 0 var(--gap);
height: var(--gap);
border: none;
border-top: 4px solid #d9d9d9;
border-top: 4px solid var(--accent-2);
}
.about__container hr.is-small {
......@@ -587,6 +507,11 @@
font-size: 1.6em;
}
.about__section.has-3-columns,
.about__section.has-4-columns {
font-size: 1rem;
}
@media screen and (max-width: 480px) {
.about__section.is-feature {
font-size: 1.4em;
......@@ -602,41 +527,30 @@
/* 1.3 - Header */
.about__header {
--about-header-image-width: 780px;
--about-header-image-height: 550px;
--about-header-bg-width: var(--about-header-image-width);
--about-header-bg-height: var(--about-header-image-height);
--about-header-bg-offset-block: 0;
position: relative;
margin-bottom: var(--gap);
padding-top: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
box-sizing: border-box;
padding: calc(var(--gap) * 2) 0;
min-height: 420px;
color: var(--text-light);
background: var(--background) url('../images/about-header-about.svg?ver=6.1') no-repeat;
background-size: var(--about-header-bg-width) var(--about-header-bg-height);
background-position: center top var(--about-header-bg-offset-block);
background: var(--background) url('../images/about-header-about.svg?ver=6.2') no-repeat;
background-size: cover;
background-position: center;
}
.credits-php .about__header {
--about-header-image-width: 863px;
--about-header-image-height: 550px;
background-image: url('../images/about-header-credits.svg?ver=6.1');
background-image: url('../images/about-header-credits.svg?ver=6.2');
}
.freedoms-php .about__header {
--about-header-image-width: 782px;
--about-header-image-height: 510px;
background-image: url('../images/about-header-freedoms.svg?ver=6.1');
background-image: url('../images/about-header-freedoms.svg?ver=6.2');
}
.privacy-php .about__header {
--about-header-image-width: 1005px;
--about-header-image-height: 500px;
--about-header-bg-offset-block: calc(var(--gap) * -2);
background-image: url('../images/about-header-privacy.svg?ver=6.1');
background-image: url('../images/about-header-privacy.svg?ver=6.2');
}
.about__header-image {
......@@ -646,7 +560,7 @@
.about__header-title {
box-sizing: border-box;
margin: 0 var(--gap);
padding: 9rem 0 0;
padding: 0;
text-align: center;
}
......@@ -656,7 +570,7 @@
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(3rem, 20vw - 9rem, 6rem);
line-height: 1;
font-weight: 400;
font-weight: 600;
}
.credits-php .about__header-title h1,
......@@ -666,26 +580,27 @@
font-size: clamp(3rem, 10vw - 3rem, 4.5rem);
}
.about__header-title h1 span {
color: var(--accent-2);
}
.about__header-text {
box-sizing: border-box;
max-width: 22em;
margin: 0 auto 10rem;
margin: 0 auto;
padding: 0;
font-size: 1.6rem;
line-height: 1.15;
text-align: center;
}
.credits-php .about__header-text {
margin-bottom: 9rem;
}
.about__header-navigation {
position: relative;
z-index: 1;
display: flex;
justify-content: center;
padding-top: 0;
margin-bottom: var(--gap);
background: var(--nav-background);
color: var(--nav-color);
border-bottom: 3px solid var(--nav-border);
......@@ -725,15 +640,6 @@
}
@media screen and (max-width: 960px) {
.about__header {
--about-header-bg-width: calc(var(--about-header-image-width) * 0.85);
--about-header-bg-height: calc(var(--about-header-image-height) * 0.85);
}
.privacy-php .about__header {
--about-header-bg-offset-block: 0;
}
.about__header-title h1 {
/* Fluid font size scales on browser size 600px - 960px. */
font-size: clamp(3rem, 13.33vw - 2rem, 6rem);
......@@ -776,8 +682,7 @@
@media screen and (max-width: 600px) {
.about__header {
--about-header-bg-width: calc(var(--about-header-image-width) * 0.75);
--about-header-bg-height: calc(var(--about-header-image-height) * 0.75);
min-height: auto;
}
}
......@@ -793,15 +698,9 @@
font-size: 2.4em;
}
.about__header-title {
padding-top: 2rem;
}
.about__header-text,
.credits-php .about__header-text {
.about__header-text {
margin-left: calc(var(--gap) / 2);
margin-right: calc(var(--gap) / 2);
margin-bottom: 2rem;
}
.about__header-navigation {
......
......@@ -2,6 +2,10 @@
@import 'variables';
@import 'mixins';
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
@function url-friendly-colour( $color ) {
@return '%23' + str-slice( '#{ $color }', 2, -1 );
}
......@@ -784,15 +788,17 @@ div#wp-responsive-toggle a:before {
}
/* Welcome Panel */
.welcome-panel {
background-color: $dashboard-accent-1;
}
@if ( $custom-welcome-panel == "true" ) {
.welcome-panel {
background-color: $dashboard-accent-1;
}
.welcome-panel-header-image circle {
stroke: $dashboard-accent-2;
fill: $dashboard-accent-1;
}
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: $dashboard-accent-2;
}
[class*="welcome-panel-icon"] {
background-color: $dashboard-icon-background;
[class*="welcome-panel-icon"] {
background-color: $dashboard-icon-background;
}
}
......
......@@ -65,8 +65,9 @@ $menu-customizer-text: mix( $base-color, $text-color, 40% ) !default;
// Dashboard Colors
$dashboard-accent-1: $highlight-color !default;
$dashboard-accent-2: rgba(255, 255, 255, 0.5) !default;
$custom-welcome-panel: "true" !default;
$dashboard-accent-1: $menu-submenu-background !default;
$dashboard-accent-2: $menu-background !default;
$dashboard-icon-background: $dashboard-accent-2 !default;
$low-contrast-theme: "false" !default;
......
......@@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
......@@ -707,12 +711,12 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #096484;
background-color: #4796b3;
}
.welcome-panel-header-image circle {
stroke: rgba(255, 255, 255, 0.5);
fill: #096484;
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #52accc;
}
[class*=welcome-panel-icon] {
......
......@@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
......@@ -707,12 +711,12 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #096484;
background-color: #4796b3;
}
.welcome-panel-header-image circle {
stroke: rgba(255, 255, 255, 0.5);
fill: #096484;
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #52accc;
}
[class*=welcome-panel-icon] {
......
......@@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
......@@ -674,14 +678,14 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #c7a589;
background-color: #46403c;
}
.welcome-panel-header-image circle {
stroke: rgba(255, 255, 255, 0.5);
fill: #c7a589;
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #59524c;
}
[class*=welcome-panel-icon] {
background-color: rgba(255, 255, 255, 0.5);
background-color: #59524c;
}
\ No newline at end of file
......
......@@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
......@@ -674,14 +678,14 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #c7a589;
background-color: #46403c;
}
.welcome-panel-header-image circle {
stroke: rgba(255, 255, 255, 0.5);
fill: #c7a589;
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #59524c;
}
[class*=welcome-panel-icon] {
background-color: rgba(255, 255, 255, 0.5);
background-color: #59524c;
}
\ No newline at end of file
......
......@@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
......@@ -707,14 +711,14 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #523f6d;
background-color: #413256;
}
.welcome-panel-header-image circle {
stroke: rgba(255, 255, 255, 0.5);
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #523f6d;
}
[class*=welcome-panel-icon] {
background-color: rgba(255, 255, 255, 0.5);
background-color: #523f6d;
}
\ No newline at end of file
......
......@@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
......@@ -707,14 +711,14 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #523f6d;
background-color: #413256;
}
.welcome-panel-header-image circle {
stroke: rgba(255, 255, 255, 0.5);
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #523f6d;
}
[class*=welcome-panel-icon] {
background-color: rgba(255, 255, 255, 0.5);
background-color: #523f6d;
}
\ No newline at end of file
......
......@@ -6,6 +6,4 @@ $notification-color: #d46f15;
$form-checked: $base-color;
$dashboard-accent-1: $base-color;
@import "../_admin.scss";
......
......@@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f5f5f5;
}
......@@ -710,9 +714,9 @@ div#wp-responsive-toggle a:before {
background-color: #04a4cc;
}
.welcome-panel-header-image circle {
stroke: rgba(255, 255, 255, 0.5);
fill: #04a4cc;
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #17b5dd;
}
[class*=welcome-panel-icon] {
......
......@@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f5f5f5;
}
......@@ -710,9 +714,9 @@ div#wp-responsive-toggle a:before {
background-color: #04a4cc;
}
.welcome-panel-header-image circle {
stroke: rgba(255, 255, 255, 0.5);
fill: #04a4cc;
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #17b5dd;
}
[class*=welcome-panel-icon] {
......
......@@ -18,6 +18,8 @@ $menu-submenu-background: #fff;
$menu-collapse-text: #777;
$menu-collapse-focus-icon: #555;
$dashboard-accent-1: $highlight-color;
$dashboard-accent-2: desaturate( lighten( $highlight-color, 7% ), 15% );
$dashboard-icon-background: $text-color;
@import "../_admin.scss";
......
......@@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
......@@ -707,14 +711,14 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #69a8bb;
background-color: #26292c;
}
.welcome-panel-header-image circle {
stroke: rgba(255, 255, 255, 0.5);
fill: #69a8bb;
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #3b464b;
}
[class*=welcome-panel-icon] {
background-color: #e14d43;
background-color: #3b464b;
}
\ No newline at end of file
......
......@@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
......@@ -707,14 +711,14 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #69a8bb;
background-color: #26292c;
}
.welcome-panel-header-image circle {
stroke: rgba(255, 255, 255, 0.5);
fill: #69a8bb;
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #3b464b;
}
[class*=welcome-panel-icon] {
background-color: #e14d43;
background-color: #3b464b;
}
\ No newline at end of file
......
......@@ -3,7 +3,6 @@ $base-color: #363b3f;
$highlight-color: #e14d43;
$notification-color: #69a8bb;
$dashboard-accent-1: $notification-color;
$dashboard-icon-background: $highlight-color;
$dashboard-accent-2: mix($base-color, $notification-color, 90%);
@import "../_admin.scss";
......
......@@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
......@@ -705,16 +709,4 @@ div#wp-responsive-toggle a:before {
color: #3858e9;
}
/* Welcome Panel */
.welcome-panel {
background-color: #273fcc;
}
.welcome-panel-header-image circle {
stroke: #627eff;
fill: #273fcc;
}
[class*=welcome-panel-icon] {
background-color: #1d2327;
}
\ No newline at end of file
/* Welcome Panel */
\ No newline at end of file
......
......@@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
......@@ -705,16 +709,4 @@ div#wp-responsive-toggle a:before {
color: #3858e9;
}
/* Welcome Panel */
.welcome-panel {
background-color: #273fcc;
}
.welcome-panel-header-image circle {
stroke: #627eff;
fill: #273fcc;
}
[class*=welcome-panel-icon] {
background-color: #1d2327;
}
\ No newline at end of file
/* Welcome Panel */
\ No newline at end of file
......
......@@ -7,8 +7,6 @@ $notification-color: $highlight-color;
$link: $highlight-color;
$link-focus: darken($highlight-color, 10%);
$dashboard-accent-1: #273fcc;
$dashboard-accent-2: #627eff;
$dashboard-icon-background: #1d2327;
$custom-welcome-panel: "false";
@import "../_admin.scss";
......
......@@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
......@@ -674,14 +678,14 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #9ebaa0;
background-color: #627c83;
}
.welcome-panel-header-image circle {
stroke: rgba(255, 255, 255, 0.5);
fill: #9ebaa0;
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #738e96;
}
[class*=welcome-panel-icon] {
background-color: rgba(255, 255, 255, 0.5);
background-color: #738e96;
}
\ No newline at end of file
......
......@@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
......@@ -674,14 +678,14 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #9ebaa0;
background-color: #627c83;
}
.welcome-panel-header-image circle {
stroke: rgba(255, 255, 255, 0.5);
fill: #9ebaa0;
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #738e96;
}
[class*=welcome-panel-icon] {
background-color: rgba(255, 255, 255, 0.5);
background-color: #738e96;
}
\ No newline at end of file
......
......@@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
......@@ -707,14 +711,14 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #dd823b;
background-color: #be3631;
}
.welcome-panel-header-image circle {
stroke: rgba(255, 255, 255, 0.5);
fill: #dd823b;
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #cf4944;
}
[class*=welcome-panel-icon] {
background-color: rgba(255, 255, 255, 0.5);
background-color: #cf4944;
}
\ No newline at end of file
......
......@@ -3,6 +3,10 @@
* Button mixin- creates a button effect with correct
* highlights/shadows, based on a base color.
*/
/**
* This function name uses British English to maintain backward compatibility, as developers
* may use the function in their own admin CSS files. See #56811.
*/
body {
background: #f1f1f1;
}
......@@ -707,14 +711,14 @@ div#wp-responsive-toggle a:before {
/* Welcome Panel */
.welcome-panel {
background-color: #dd823b;
background-color: #be3631;
}
.welcome-panel-header-image circle {
stroke: rgba(255, 255, 255, 0.5);
fill: #dd823b;
.welcome-panel-header-image .curve,
.welcome-panel-header-image .dot {
fill: #cf4944;
}
[class*=welcome-panel-icon] {
background-color: rgba(255, 255, 255, 0.5);
background-color: #cf4944;
}
\ No newline at end of file
......
......@@ -142,21 +142,24 @@
.screen-reader-shortcut {
position: absolute;
top: -1000em;
}
.screen-reader-shortcut:focus {
right: 6px;
top: -25px;
height: auto;
width: auto;
display: block;
font-size: 14px;
font-weight: 600;
padding: 15px 23px 14px;
/* Background and color set to prevent false positives in automated accessibility tests. */
background: #f0f0f1;
color: #2271b1;
z-index: 100000;
line-height: normal;
}
.screen-reader-shortcut:focus {
top: -25px;
/* Overrides a:focus in the admin. See ticket #56789. */
color: #2271b1;
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
text-decoration: none;
/* Only visible in Windows High Contrast mode */
......@@ -3031,11 +3034,17 @@ div.action-links {
.plugin-details-modal #TB_closeWindowButton:hover,
.plugin-details-modal #TB_closeWindowButton:focus {
color: #135e96;
outline: none;
box-shadow: none;
}
.plugin-details-modal #TB_closeWindowButton:hover::after,
.plugin-details-modal #TB_closeWindowButton:focus::after {
outline: 2px solid;
outline-offset: -4px;
border-radius: 4px;
}
.plugin-details-modal .tb-close-icon {
display: none;
}
......@@ -3155,7 +3164,6 @@ img {
font-family: Consolas, Monaco, monospace;
font-size: 13px;
background: #f6f7f7;
-o-tab-size: 4;
tab-size: 4;
}
......
......@@ -141,21 +141,24 @@
.screen-reader-shortcut {
position: absolute;
top: -1000em;
}
.screen-reader-shortcut:focus {
left: 6px;
top: -25px;
height: auto;
width: auto;
display: block;
font-size: 14px;
font-weight: 600;
padding: 15px 23px 14px;
/* Background and color set to prevent false positives in automated accessibility tests. */
background: #f0f0f1;
color: #2271b1;
z-index: 100000;
line-height: normal;
}
.screen-reader-shortcut:focus {
top: -25px;
/* Overrides a:focus in the admin. See ticket #56789. */
color: #2271b1;
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
text-decoration: none;
/* Only visible in Windows High Contrast mode */
......@@ -3030,11 +3033,17 @@ div.action-links {
.plugin-details-modal #TB_closeWindowButton:hover,
.plugin-details-modal #TB_closeWindowButton:focus {
color: #135e96;
outline: none;
box-shadow: none;
}
.plugin-details-modal #TB_closeWindowButton:hover::after,
.plugin-details-modal #TB_closeWindowButton:focus::after {
outline: 2px solid;
outline-offset: -4px;
border-radius: 4px;
}
.plugin-details-modal .tb-close-icon {
display: none;
}
......@@ -3154,7 +3163,6 @@ img {
font-family: Consolas, Monaco, monospace;
font-size: 13px;
background: #f6f7f7;
-o-tab-size: 4;
tab-size: 4;
}
......
......@@ -1605,7 +1605,6 @@ p.customize-section-description {
font-family: Consolas, Monaco, monospace;
font-size: 12px;
padding: 6px 8px;
-o-tab-size: 2;
tab-size: 2;
}
.customize-control-code_editor textarea,
......
This diff could not be displayed because it is too large.
......@@ -1604,7 +1604,6 @@ p.customize-section-description {
font-family: Consolas, Monaco, monospace;
font-size: 12px;
padding: 6px 8px;
-o-tab-size: 2;
tab-size: 2;
}
.customize-control-code_editor textarea,
......
This diff could not be displayed because it is too large.
......@@ -121,7 +121,7 @@
position: relative;
overflow: auto;
margin: 16px 0;
background-color: #273fcc;
background-color: #1d35b4;
font-size: 14px;
line-height: 1.3;
clear: both;
......@@ -147,8 +147,6 @@
}
.welcome-panel-header {
--about-header-bg-width: 780px;
position: relative;
color: #fff;
}
......@@ -166,10 +164,12 @@
.welcome-panel-header-image svg {
display: block;
margin: auto;
width: var(--about-header-bg-width);
height: auto;
transform: scale(0.75);
transform-origin: center top;
width: 100%;
height: 100%;
}
.rtl .welcome-panel-header-image svg {
transform: scaleX(-1);
}
.welcome-panel-header * {
......
......@@ -120,7 +120,7 @@
position: relative;
overflow: auto;
margin: 16px 0;
background-color: #273fcc;
background-color: #1d35b4;
font-size: 14px;
line-height: 1.3;
clear: both;
......@@ -146,8 +146,6 @@
}
.welcome-panel-header {
--about-header-bg-width: 780px;
position: relative;
color: #fff;
}
......@@ -165,10 +163,12 @@
.welcome-panel-header-image svg {
display: block;
margin: auto;
width: var(--about-header-bg-width);
height: auto;
transform: scale(0.75);
transform-origin: center top;
width: 100%;
height: 100%;
}
.rtl .welcome-panel-header-image svg {
transform: scaleX(-1);
}
.welcome-panel-header * {
......
......@@ -1070,7 +1070,9 @@ table.form-table td .updated p {
}
.settings-php .language-install-spinner,
.options-general-php .language-install-spinner {
.options-general-php .language-install-spinner,
.user-edit-php .language-install-spinner,
.profile-php .language-install-spinner {
display: inline-block;
float: none;
margin: -3px 5px 0;
......@@ -1081,9 +1083,18 @@ table.form-table td .updated p {
margin-top: 8px;
}
.form-table.permalink-structure .available-structure-tags ul {
display: flex;
flex-wrap: wrap;
margin: 8px 0 0;
}
.form-table.permalink-structure .available-structure-tags li {
float: right;
margin-left: 5px;
margin: 6px 0 0 5px;
}
.form-table.permalink-structure .available-structure-tags li:last-child {
margin-left: 0;
}
.form-table.permalink-structure .structure-selection .row {
......
......@@ -1069,7 +1069,9 @@ table.form-table td .updated p {
}
.settings-php .language-install-spinner,
.options-general-php .language-install-spinner {
.options-general-php .language-install-spinner,
.user-edit-php .language-install-spinner,
.profile-php .language-install-spinner {
display: inline-block;
float: none;
margin: -3px 5px 0;
......@@ -1080,9 +1082,18 @@ table.form-table td .updated p {
margin-top: 8px;
}
.form-table.permalink-structure .available-structure-tags ul {
display: flex;
flex-wrap: wrap;
margin: 8px 0 0;
}
.form-table.permalink-structure .available-structure-tags li {
float: left;
margin-right: 5px;
margin: 6px 5px 0 0;
}
.form-table.permalink-structure .available-structure-tags li:last-child {
margin-right: 0;
}
.form-table.permalink-structure .structure-selection .row {
......
......@@ -1637,6 +1637,7 @@ div.action-links,
font-style: normal;
margin: 0;
padding: 100px 0 0;
width: 100%;
text-align: center;
}
......
......@@ -1636,6 +1636,7 @@ div.action-links,
font-style: normal;
margin: 0;
padding: 100px 0 0;
width: 100%;
text-align: center;
}
......
......@@ -192,7 +192,7 @@
.media-item .original {
position: relative;
height: 34px;
min-height: 34px;
}
.media-item .progress {
......
......@@ -191,7 +191,7 @@
.media-item .original {
position: relative;
height: 34px;
min-height: 34px;
}
.media-item .progress {
......
......@@ -170,7 +170,7 @@ label.bulk-select-button:focus-within {
color: #0a4b78;
}
input.bulk-select-switcher:focus + .bulk-select-button-label{
input.bulk-select-switcher:focus + .bulk-select-button-label {
color: #0a4b78;
}
......@@ -192,9 +192,7 @@ input.bulk-select-switcher:focus + .bulk-select-button-label{
}
.bulk-actions input.menu-items-delete.disabled {
cursor: default;
color: #a7aaad;
box-shadow: none;
display: none;
}
.menu-settings {
......
......@@ -169,7 +169,7 @@ label.bulk-select-button:focus-within {
color: #0a4b78;
}
input.bulk-select-switcher:focus + .bulk-select-button-label{
input.bulk-select-switcher:focus + .bulk-select-button-label {
color: #0a4b78;
}
......@@ -191,9 +191,7 @@ input.bulk-select-switcher:focus + .bulk-select-button-label{
}
.bulk-actions input.menu-items-delete.disabled {
cursor: default;
color: #a7aaad;
box-shadow: none;
display: none;
}
.menu-settings {
......
......@@ -97,7 +97,7 @@ if ( ! empty( $autofocus ) && is_array( $autofocus ) ) {
}
$registered = $wp_scripts->registered;
$wp_scripts = new WP_Scripts;
$wp_scripts = new WP_Scripts();
$wp_scripts->registered = $registered;
add_action( 'customize_controls_print_scripts', 'print_head_scripts', 20 );
......@@ -207,7 +207,12 @@ do_action( 'customize_controls_head' );
<span class="preview"><?php _e( 'Preview' ); ?></span>
</button>
<a class="customize-controls-close" href="<?php echo esc_url( $wp_customize->get_return_url() ); ?>">
<span class="screen-reader-text"><?php _e( 'Close the Customizer and go back to the previous page' ); ?></span>
<span class="screen-reader-text">
<?php
/* translators: Hidden accessibility text. */
_e( 'Close the Customizer and go back to the previous page' );
?>
</span>
</a>
</div>
......@@ -230,7 +235,12 @@ do_action( 'customize_controls_head' );
printf( __( 'You are customizing %s' ), '<strong class="panel-title site-title">' . get_bloginfo( 'name', 'display' ) . '</strong>' );
?>
</span>
<button type="button" class="customize-help-toggle dashicons dashicons-editor-help" aria-expanded="false"><span class="screen-reader-text"><?php _e( 'Help' ); ?></span></button>
<button type="button" class="customize-help-toggle dashicons dashicons-editor-help" aria-expanded="false"><span class="screen-reader-text">
<?php
/* translators: Hidden accessibility text. */
_e( 'Help' );
?>
</span></button>
</div>
<div class="customize-panel-description">
<p>
......@@ -240,7 +250,7 @@ do_action( 'customize_controls_head' );
</p>
<p>
<?php
_e( '<a href="https://wordpress.org/support/article/appearance-customize-screen/">Documentation on Customizer</a>' );
_e( '<a href="https://wordpress.org/documentation/article/customizer/">Documentation on Customizer</a>' );
?>
</p>
</div>
......
......@@ -207,10 +207,10 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/comments-screen/">Documentation on Comments</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/comment-spam/">Documentation on Comment Spam</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/keyboard-shortcuts/">Documentation on Keyboard Shortcuts</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
'<p>' . __( '<a href="https://wordpress.org/documentation/article/comments-screen/">Documentation on Comments</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/documentation/article/understand-comment-spam/">Documentation on Comment Spam</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/documentation/article/keyboard-shortcuts-classic-editor/#keyboard-shortcuts-for-comments">Documentation on Keyboard Shortcuts</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
);
get_current_screen()->set_screen_reader_content(
......
......@@ -316,8 +316,8 @@ if ( 'post' === $post_type ) {
'tools.php'
) . '</p>' .
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/wordpress-editor/">Documentation on Writing and Editing Posts</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
'<p>' . __( '<a href="https://wordpress.org/documentation/article/write-posts-classic-editor/">Documentation on Writing and Editing Posts</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
);
} elseif ( 'page' === $post_type ) {
$about_pages = '<p>' . __( 'Pages are similar to posts in that they have a title, body text, and associated metadata, but they are different in that they are not part of the chronological blog stream, kind of like permanent posts. Pages are not categorized or tagged, but can have a hierarchy. You can nest pages under other pages by making one the &#8220;Parent&#8221; of the other, creating a group of pages.' ) . '</p>' .
......@@ -333,9 +333,9 @@ if ( 'post' === $post_type ) {
get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/pages-add-new-screen/">Documentation on Adding New Pages</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/pages-screen/">Documentation on Editing Pages</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
'<p>' . __( '<a href="https://wordpress.org/documentation/article/pages-add-new-screen/">Documentation on Adding New Pages</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/documentation/article/pages-screen/">Documentation on Editing Pages</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
);
} elseif ( 'attachment' === $post_type ) {
get_current_screen()->add_help_tab(
......@@ -346,20 +346,20 @@ if ( 'post' === $post_type ) {
'<p>' . __( 'This screen allows you to edit fields for metadata in a file within the media library.' ) . '</p>' .
'<p>' . __( 'For images only, you can click on Edit Image under the thumbnail to expand out an inline image editor with icons for cropping, rotating, or flipping the image as well as for undoing and redoing. The boxes on the right give you more options for scaling the image, for cropping it, and for cropping the thumbnail in a different way than you crop the original image. You can click on Help in those boxes to get more information.' ) . '</p>' .
'<p>' . __( 'Note that you crop the image by clicking on it (the Crop icon is already selected) and dragging the cropping frame to select the desired part. Then click Save to retain the cropping.' ) . '</p>' .
'<p>' . __( 'Remember to click Update Media to save metadata entered or changed.' ) . '</p>',
'<p>' . __( 'Remember to click Update to save metadata entered or changed.' ) . '</p>',
)
);
get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/edit-media/">Documentation on Edit Media</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
'<p>' . __( '<a href="https://wordpress.org/documentation/article/edit-media/">Documentation on Edit Media</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
);
}
if ( 'post' === $post_type || 'page' === $post_type ) {
$inserting_media = '<p>' . __( 'You can upload and insert media (images, audio, documents, etc.) by clicking the Add Media button. You can select from the images and files already uploaded to the Media Library, or upload new media to add to your page or post. To create an image gallery, select the images to add and click the &#8220;Create a new gallery&#8221; button.' ) . '</p>';
$inserting_media .= '<p>' . __( 'You can also embed media from many popular websites including Twitter, YouTube, Flickr and others by pasting the media URL on its own line into the content of your post/page. <a href="https://wordpress.org/support/article/embeds/">Learn more about embeds</a>.' ) . '</p>';
$inserting_media .= '<p>' . __( 'You can also embed media from many popular websites including Twitter, YouTube, Flickr and others by pasting the media URL on its own line into the content of your post/page. <a href="https://wordpress.org/documentation/article/embeds/">Learn more about embeds</a>.' ) . '</p>';
get_current_screen()->add_help_tab(
array(
......@@ -377,7 +377,7 @@ if ( 'post' === $post_type ) {
'</li>';
if ( current_theme_supports( 'post-formats' ) && post_type_supports( 'post', 'post-formats' ) ) {
$publish_box .= '<li>' . __( '<strong>Format</strong> &mdash; Post Formats designate how your theme will display a specific post. For example, you could have a <em>standard</em> blog post with a title and paragraphs, or a short <em>aside</em> that omits the title and contains a short text blurb. Your theme could enable all or some of 10 possible formats. <a href="https://wordpress.org/support/article/post-formats/#supported-formats">Learn more about each post format</a>.' ) . '</li>';
$publish_box .= '<li>' . __( '<strong>Format</strong> &mdash; Post Formats designate how your theme will display a specific post. For example, you could have a <em>standard</em> blog post with a title and paragraphs, or a short <em>aside</em> that omits the title and contains a short text blurb. Your theme could enable all or some of 10 possible formats. <a href="https://wordpress.org/documentation/article/post-formats/#supported-formats">Learn more about each post format</a>.' ) . '</li>';
}
if ( current_theme_supports( 'post-thumbnails' ) && post_type_supports( 'post', 'thumbnail' ) ) {
......
......@@ -203,7 +203,7 @@ $editor_settings = array(
'unlockNonce' => wp_create_nonce( 'update-post_' . $post->ID ),
'ajaxUrl' => admin_url( 'admin-ajax.php' ),
),
'supportsLayout' => WP_Theme_JSON_Resolver::theme_has_support(),
'supportsLayout' => wp_theme_has_theme_json(),
'supportsTemplateMode' => current_theme_supports( 'block-templates' ),
// Whether or not to load the 'postcustom' meta box is stored as a user meta
......@@ -271,7 +271,7 @@ wp_enqueue_style( 'wp-edit-post' );
*/
do_action( 'enqueue_block_editor_assets' );
// In order to duplicate classic meta box behaviour, we need to run the classic meta box actions.
// In order to duplicate classic meta box behavior, we need to run the classic meta box actions.
require_once ABSPATH . 'wp-admin/includes/meta-boxes.php';
register_and_do_post_meta_boxes( $post );
......
......@@ -47,7 +47,12 @@ if ( 'approved' === wp_get_comment_status( $comment ) && $comment->comment_post_
<div class="inside">
<h2 class="edit-comment-author"><?php _e( 'Author' ); ?></h2>
<fieldset>
<legend class="screen-reader-text"><?php _e( 'Comment Author' ); ?></legend>
<legend class="screen-reader-text">
<?php
/* translators: Hidden accessibility text. */
_e( 'Comment Author' );
?>
</legend>
<table class="form-table editcomment" role="presentation">
<tbody>
<tr>
......@@ -73,8 +78,13 @@ if ( 'approved' === wp_get_comment_status( $comment ) && $comment->comment_post_
</div>
<div id="postdiv" class="postarea">
<label for="content" class="screen-reader-text">
<?php
/* translators: Hidden accessibility text. */
_e( 'Comment' );
?>
</label>
<?php
echo '<label for="content" class="screen-reader-text">' . __( 'Comment' ) . '</label>';
$quicktags_settings = array( 'buttons' => 'strong,em,link,block,del,ins,img,ul,ol,li,code,close' );
wp_editor(
$comment->comment_content,
......@@ -117,7 +127,12 @@ switch ( $comment->comment_approved ) {
</span>
<fieldset id="comment-status-radio">
<legend class="screen-reader-text"><?php _e( 'Comment status' ); ?></legend>
<legend class="screen-reader-text">
<?php
/* translators: Hidden accessibility text. */
_e( 'Comment status' );
?>
</legend>
<label><input type="radio"<?php checked( $comment->comment_approved, '1' ); ?> name="comment_status" value="1" /><?php _ex( 'Approved', 'comment status' ); ?></label><br />
<label><input type="radio"<?php checked( $comment->comment_approved, '0' ); ?> name="comment_status" value="0" /><?php _ex( 'Pending', 'comment status' ); ?></label><br />
<label><input type="radio"<?php checked( $comment->comment_approved, 'spam' ); ?> name="comment_status" value="spam" /><?php _ex( 'Spam', 'comment status' ); ?></label>
......@@ -141,9 +156,19 @@ $submitted = sprintf(
printf( __( 'Submitted on: %s' ), '<b>' . $submitted . '</b>' );
?>
</span>
<a href="#edit_timestamp" class="edit-timestamp hide-if-no-js"><span aria-hidden="true"><?php _e( 'Edit' ); ?></span> <span class="screen-reader-text"><?php _e( 'Edit date and time' ); ?></span></a>
<a href="#edit_timestamp" class="edit-timestamp hide-if-no-js"><span aria-hidden="true"><?php _e( 'Edit' ); ?></span> <span class="screen-reader-text">
<?php
/* translators: Hidden accessibility text. */
_e( 'Edit date and time' );
?>
</span></a>
<fieldset id='timestampdiv' class='hide-if-js'>
<legend class="screen-reader-text"><?php _e( 'Date and time' ); ?></legend>
<legend class="screen-reader-text">
<?php
/* translators: Hidden accessibility text. */
_e( 'Date and time' );
?>
</legend>
<?php
/**
* @global string $action
......
......@@ -74,7 +74,7 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://codex.wordpress.org/Links_Add_New_Screen">Documentation on Creating Links</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
'<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
);
require_once ABSPATH . 'wp-admin/admin-header.php';
......
......@@ -302,14 +302,14 @@ if ( 'category' === $taxonomy || 'link_category' === $taxonomy || 'post_tag' ===
$help = '<p><strong>' . __( 'For more information:' ) . '</strong></p>';
if ( 'category' === $taxonomy ) {
$help .= '<p>' . __( '<a href="https://wordpress.org/support/article/posts-categories-screen/">Documentation on Categories</a>' ) . '</p>';
$help .= '<p>' . __( '<a href="https://wordpress.org/documentation/article/posts-categories-screen/">Documentation on Categories</a>' ) . '</p>';
} elseif ( 'link_category' === $taxonomy ) {
$help .= '<p>' . __( '<a href="https://codex.wordpress.org/Links_Link_Categories_Screen">Documentation on Link Categories</a>' ) . '</p>';
} else {
$help .= '<p>' . __( '<a href="https://wordpress.org/support/article/posts-tags-screen/">Documentation on Tags</a>' ) . '</p>';
$help .= '<p>' . __( '<a href="https://wordpress.org/documentation/article/posts-tags-screen/">Documentation on Tags</a>' ) . '</p>';
}
$help .= '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>';
$help .= '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>';
get_current_screen()->set_help_sidebar( $help );
......
......@@ -294,8 +294,8 @@ if ( 'post' === $post_type ) {
get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/posts-screen/">Documentation on Managing Posts</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
'<p>' . __( '<a href="https://wordpress.org/documentation/article/posts-screen/">Documentation on Managing Posts</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
);
} elseif ( 'page' === $post_type ) {
......@@ -319,8 +319,8 @@ if ( 'post' === $post_type ) {
get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/pages-screen/">Documentation on Managing Pages</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
'<p>' . __( '<a href="https://wordpress.org/documentation/article/pages-screen/">Documentation on Managing Pages</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
);
}
......
......@@ -13,6 +13,9 @@ if ( ! current_user_can( 'erase_others_personal_data' ) || ! current_user_can( '
wp_die( __( 'Sorry, you are not allowed to erase personal data on this site.' ) );
}
// Used in the HTML title tag.
$title = __( 'Erase Personal Data' );
// Contextual help - choose Help on the top right of admin panel to preview this.
get_current_screen()->add_help_tab(
array(
......@@ -59,8 +62,8 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/tools-erase-personal-data-screen/">Documentation on Erase Personal Data</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
'<p>' . __( '<a href="https://wordpress.org/documentation/article/tools-erase-personal-data-screen/">Documentation on Erase Personal Data</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
);
// Handle list table actions.
......
......@@ -13,6 +13,9 @@ if ( ! current_user_can( 'export_others_personal_data' ) ) {
wp_die( __( 'Sorry, you are not allowed to export personal data on this site.' ) );
}
// Used in the HTML title tag.
$title = __( 'Export Personal Data' );
// Contextual help - choose Help on the top right of admin panel to preview this.
get_current_screen()->add_help_tab(
array(
......@@ -59,8 +62,8 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/tools-export-personal-data-screen/">Documentation on Export Personal Data</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
'<p>' . __( '<a href="https://wordpress.org/documentation/article/tools-export-personal-data-screen/">Documentation on Export Personal Data</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
);
// Handle list table actions.
......
......@@ -56,8 +56,8 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/tools-export-screen/">Documentation on Export</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
'<p>' . __( '<a href="https://wordpress.org/documentation/article/tools-export-screen/">Documentation on Export</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
);
// If the 'download' URL parameter is set, a WXR export file is baked and returned.
......@@ -177,7 +177,12 @@ function export_date_options( $post_type = 'post' ) {
<h2><?php _e( 'Choose what to export' ); ?></h2>
<form method="get" id="export-filters">
<fieldset>
<legend class="screen-reader-text"><?php _e( 'Content to export' ); ?></legend>
<legend class="screen-reader-text">
<?php
/* translators: Hidden accessibility text. */
_e( 'Content to export' );
?>
</legend>
<input type="hidden" name="download" value="true" />
<p><label><input type="radio" name="content" value="all" checked="checked" aria-describedby="all-content-desc" /> <?php _e( 'All content' ); ?></label></p>
<p class="description" id="all-content-desc"><?php _e( 'This will contain all of your posts, pages, comments, custom fields, terms, navigation menus, and custom posts.' ); ?></p>
......@@ -207,7 +212,12 @@ function export_date_options( $post_type = 'post' ) {
</li>
<li>
<fieldset>
<legend class="screen-reader-text"><?php _e( 'Date range:' ); ?></legend>
<legend class="screen-reader-text">
<?php
/* translators: Hidden accessibility text. */
_e( 'Date range:' )
?>
</legend>
<label for="post-start-date" class="label-responsive"><?php _e( 'Start date:' ); ?></label>
<select name="post_start_date" id="post-start-date">
<option value="0"><?php _e( '&mdash; Select &mdash;' ); ?></option>
......@@ -254,7 +264,12 @@ function export_date_options( $post_type = 'post' ) {
</li>
<li>
<fieldset>
<legend class="screen-reader-text"><?php _e( 'Date range:' ); ?></legend>
<legend class="screen-reader-text">
<?php
/* translators: Hidden accessibility text. */
_e( 'Date range:' );
?>
</legend>
<label for="page-start-date" class="label-responsive"><?php _e( 'Start date:' ); ?></label>
<select name="page_start_date" id="page-start-date">
<option value="0"><?php _e( '&mdash; Select &mdash;' ); ?></option>
......@@ -294,7 +309,12 @@ foreach ( get_post_types(
<ul id="attachment-filters" class="export-filters">
<li>
<fieldset>
<legend class="screen-reader-text"><?php _e( 'Date range:' ); ?></legend>
<legend class="screen-reader-text">
<?php
/* translators: Hidden accessibility text. */
_e( 'Date range:' );
?>
</legend>
<label for="attachment-start-date" class="label-responsive"><?php _e( 'Start date:' ); ?></label>
<select name="attachment_start_date" id="attachment-start-date">
<option value="0"><?php _e( '&mdash; Select &mdash;' ); ?></option>
......
......@@ -34,15 +34,15 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<div class="about__header-text">
<?php _e( 'WordPress is free and open source software' ); ?>
</div>
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
<a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
<a href="freedoms.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Freedoms' ); ?></a>
<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
</nav>
</div>
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
<a href="about.php" class="nav-tab"><?php _e( 'What&#8217;s New' ); ?></a>
<a href="credits.php" class="nav-tab"><?php _e( 'Credits' ); ?></a>
<a href="freedoms.php" class="nav-tab nav-tab-active" aria-current="page"><?php _e( 'Freedoms' ); ?></a>
<a href="privacy.php" class="nav-tab"><?php _e( 'Privacy' ); ?></a>
</nav>
<div class="about__section is-feature">
<p class="about-description">
<?php
......
<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>
<svg width="936" height="400" viewBox="0 0 936 400" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill="#1D35B4" d="M0 0h936v400H0z"/>
<path d="M1333.98 1370.56H119.164V1481H1333.98v-110.44ZM1333.98 1186.5H119.164v110.44H1333.98V1186.5ZM1156.09 638.78c57.96-57.962 102.85-125.587 133.43-200.961 29.52-72.778 44.49-149.68 44.49-228.533 0-78.853-14.97-155.755-44.49-228.534-30.58-75.392-75.47-142.999-133.43-200.96-57.96-57.962-125.59-102.855-200.962-133.428-72.778-29.524-149.68-44.488-228.533-44.488-78.853 0-155.755 14.964-228.533 44.488-75.393 30.573-142.999 75.466-200.961 133.428-57.962 57.961-102.855 125.586-133.428 200.96-29.524 72.78-44.488 149.681-44.488 228.552 0 78.872 14.964 155.755 44.488 228.534 30.573 75.392 75.466 142.999 133.428 200.96a618.102 618.102 0 0 0 13.216 12.811l78.135-78.135a508.957 508.957 0 0 1-13.271-12.774c-93.873-93.872-145.558-218.667-145.558-351.414 0-132.747 51.685-257.542 145.558-351.414 93.872-93.873 218.667-145.558 351.414-145.558 132.747 0 257.542 51.685 351.415 145.558 93.87 93.872 145.56 218.667 145.56 351.414 0 132.747-51.69 257.542-145.56 351.414l-441.735 441.73H532.15l493.79-493.783c79.95-79.957 124-186.272 124-299.343 0-113.07-44.03-219.385-124-299.342-79.96-79.958-186.275-124.004-299.345-124.004-113.07 0-219.386 44.028-299.343 124.004-79.957 79.975-124.003 186.272-124.003 299.342 0 113.071 44.028 219.386 124.003 299.343 4.344 4.344 8.798 8.559 13.308 12.719l78.19-78.19c-4.583-4.087-9.074-8.283-13.418-12.627-121.997-121.998-121.997-320.51 0-442.526 121.998-121.997 320.51-121.997 442.526 0 59.102 59.103 91.642 137.68 91.642 221.263s-32.54 162.16-91.642 221.263L375.972 1002.43H271.847l623.958-623.934c93.302-93.302 93.302-245.1 0-338.401C850.617-5.093 790.52-29.997 726.613-29.997c-63.907 0-124.003 24.886-169.191 70.092-45.188 45.187-70.091 105.284-70.091 169.191s24.885 124.004 70.091 169.191a239.904 239.904 0 0 0 13.51 12.517l78.54-78.54a130.885 130.885 0 0 1-13.952-12.075c-24.333-24.333-37.733-56.692-37.733-91.112 0-34.419 13.4-66.778 37.733-91.111s56.692-37.733 91.112-37.733c34.42 0 66.778 13.4 91.111 37.733 50.231 50.231 50.231 131.974 0 182.223L119.222 998.901v113.949H1334.04v-110.43H792.49l363.64-363.64h-.04ZM-1277.19-91.013c-75.54 75.54-134.04 163.632-173.87 261.849-38.45 94.848-57.94 195.033-57.94 297.815 0 102.781 19.49 202.967 57.96 297.796 39.83 98.217 98.33 186.309 173.87 261.853 75.54 75.54 163.63 134.03 261.85 173.86 94.827 38.45 195.031 57.96 297.794 57.96 102.762 0 202.967-19.49 297.796-57.96 98.216-39.83 186.309-98.32 261.849-173.86 75.54-75.544 134.035-163.636 173.867-261.853 38.45-94.829 57.961-195.034 57.961-297.796 0-102.763-19.492-202.967-57.961-297.797-39.832-98.216-98.327-186.31-173.867-261.85-48.74-48.739-102.91-90.448-161.681-124.647l-81.228 81.227c60.52 31.788 115.85 72.54 164.829 121.52 128.624 128.623 199.47 299.655 199.47 481.565 0 181.91-70.846 352.942-199.47 481.566C-364.584 1078.86-535.616 1149.7-717.526 1149.7c-181.91 0-352.944-70.84-481.564-199.465-128.63-128.624-199.47-299.656-199.47-481.566 0-181.91 70.84-352.942 199.47-481.566L-593.007-619h-156.178L-1277.19-91.013Z" fill="#213FD4"/>
<path d="M-1147.02 39.138c-57.96 57.962-102.86 125.587-133.43 200.961-29.52 72.778-44.49 149.68-44.49 228.533 0 78.853 14.97 155.755 44.49 228.533 30.57 75.393 75.47 142.999 133.43 200.961 57.96 57.962 125.58 102.854 200.958 133.424 72.779 29.53 149.681 44.49 228.534 44.49 78.853 0 155.754-14.96 228.533-44.49 75.393-30.57 142.999-75.462 200.961-133.424 57.962-57.962 102.855-125.587 133.428-200.961 29.523-72.778 44.488-149.68 44.488-228.533 0-78.853-14.965-155.755-44.488-228.533-30.573-75.393-75.466-143-133.428-200.961C-336.903-9.731-393.815-49.875-455.716-79.51l-83.97 83.97c64.735 24.83 124.169 63.355 173.572 112.776 93.873 93.873 145.558 218.668 145.558 351.414 0 132.747-51.685 257.542-145.558 351.415-93.872 93.872-218.667 145.557-351.414 145.557-132.747 0-257.542-51.703-351.412-145.557-93.87-93.873-145.56-218.668-145.56-351.415 0-132.746 51.69-257.541 145.56-351.414L-332.706-619h-156.178L-1147.02 39.138Z" fill="#213FD4"/>
<path d="M-72.403-619h-156.178l-788.309 788.289c-79.96 79.958-124 186.273-124 299.343 0 113.07 44.03 219.386 124 299.343 79.958 79.957 186.273 124.004 299.343 124.004 113.071 0 219.404-44.047 299.343-124.004C-338.247 688.018-294.2 581.702-294.2 468.632c0-113.07-44.028-219.385-124.004-299.361-50.857-50.838-112.371-87.136-179.48-106.849l-94.333 94.333c73.957 5.926 142.686 37.567 195.733 90.614 59.103 59.103 91.646 137.68 91.646 221.263 0 83.584-32.543 162.16-91.646 221.263-59.102 59.103-137.679 91.645-221.263 91.645-83.583 0-162.16-32.542-221.262-91.645-59.103-59.103-91.641-137.679-91.641-221.263 0-83.583 32.538-162.16 91.641-221.263L-72.403-619Z" fill="#213FD4"/>
</svg>
......
<svg width="782" height="510" fill="none" xmlns="http://www.w3.org/2000/svg"><g opacity=".5" fill="#273FCC" stroke="#627EFF" stroke-width="2" stroke-miterlimit="10"><path d="M131 436.052c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 64.999 65 64.999 35.898 0 65-29.101 65-64.999z"/><path d="M131 404.609c0-35.898-29.102-64.999-65-64.999-35.899 0-65 29.101-65 64.999 0 35.899 29.101 65 65 65 35.898 0 65-29.101 65-65z"/><path d="M131 373.155c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M131 341.713c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M131 310.271c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 64.999 65 64.999 35.898 0 65-29.101 65-64.999z"/><path d="M131 278.815c0-35.898-29.102-65-65-65-35.899 0-65 29.102-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M131 247.373c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M131 215.931c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M131 184.475c0-35.898-29.102-65-65-65-35.899 0-65 29.102-65 65 0 35.899 29.101 65 65 65 35.898 0 65-29.101 65-65z"/><path d="M131 153.033c0-35.898-29.102-65-65-65-35.899 0-65 29.102-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M131 121.59c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M131 90.122c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M131 58.68c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M131 27.225c0-35.898-29.102-65-65-65-35.899 0-65 29.102-65 65 0 35.899 29.101 65 65 65 35.898 0 65-29.101 65-65z"/><path d="M131-4.217c0-35.898-29.102-65-65-65-35.899 0-65 29.102-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M131-35.66c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65zM347.667 436.052c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 64.999 65 64.999 35.898 0 65-29.101 65-64.999z"/><path d="M347.667 404.609c0-35.898-29.102-64.999-65-64.999-35.899 0-65 29.101-65 64.999 0 35.899 29.101 65 65 65 35.898 0 65-29.101 65-65z"/><path d="M347.667 373.155c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M347.667 341.713c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M347.667 310.271c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 64.999 65 64.999 35.898 0 65-29.101 65-64.999z"/><path d="M347.667 278.815c0-35.898-29.102-65-65-65-35.899 0-65 29.102-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M347.667 247.373c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M347.667 215.931c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M347.667 184.475c0-35.898-29.102-65-65-65-35.899 0-65 29.102-65 65 0 35.899 29.101 65 65 65 35.898 0 65-29.101 65-65z"/><path d="M347.667 153.033c0-35.898-29.102-65-65-65-35.899 0-65 29.102-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M347.667 121.59c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M347.667 90.122c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M347.667 58.68c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M347.667 27.225c0-35.898-29.102-65-65-65-35.899 0-65 29.102-65 65 0 35.899 29.101 65 65 65 35.898 0 65-29.101 65-65z"/><path d="M347.667-4.217c0-35.898-29.102-65-65-65-35.899 0-65 29.102-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M347.667-35.66c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65zM564.333 436.052c0-35.899-29.101-65-65-65-35.898 0-65 29.101-65 65 0 35.898 29.102 64.999 65 64.999 35.899 0 65-29.101 65-64.999z"/><path d="M564.333 404.609c0-35.898-29.101-64.999-65-64.999-35.898 0-65 29.101-65 64.999 0 35.899 29.102 65 65 65 35.899 0 65-29.101 65-65z"/><path d="M564.333 373.155c0-35.899-29.101-65-65-65-35.898 0-65 29.101-65 65 0 35.898 29.102 65 65 65 35.899 0 65-29.102 65-65z"/><path d="M564.333 341.713c0-35.899-29.101-65-65-65-35.898 0-65 29.101-65 65 0 35.898 29.102 65 65 65 35.899 0 65-29.102 65-65z"/><path d="M564.333 310.271c0-35.899-29.101-65-65-65-35.898 0-65 29.101-65 65 0 35.898 29.102 64.999 65 64.999 35.899 0 65-29.101 65-64.999z"/><path d="M564.333 278.815c0-35.898-29.101-65-65-65-35.898 0-65 29.102-65 65 0 35.898 29.102 65 65 65 35.899 0 65-29.102 65-65z"/><path d="M564.333 247.373c0-35.899-29.101-65-65-65-35.898 0-65 29.101-65 65 0 35.898 29.102 65 65 65 35.899 0 65-29.102 65-65z"/><path d="M564.333 215.931c0-35.899-29.101-65-65-65-35.898 0-65 29.101-65 65 0 35.898 29.102 65 65 65 35.899 0 65-29.102 65-65z"/><path d="M564.333 184.475c0-35.898-29.101-65-65-65-35.898 0-65 29.102-65 65 0 35.899 29.102 65 65 65 35.899 0 65-29.101 65-65z"/><path d="M564.333 153.033c0-35.898-29.101-65-65-65-35.898 0-65 29.102-65 65 0 35.898 29.102 65 65 65 35.899 0 65-29.102 65-65z"/><path d="M564.333 121.59c0-35.899-29.101-65-65-65-35.898 0-65 29.101-65 65 0 35.898 29.102 65 65 65 35.899 0 65-29.102 65-65z"/><path d="M564.333 90.122c0-35.899-29.101-65-65-65-35.898 0-65 29.101-65 65 0 35.898 29.102 65 65 65 35.899 0 65-29.102 65-65z"/><path d="M564.333 58.68c0-35.899-29.101-65-65-65-35.898 0-65 29.101-65 65 0 35.898 29.102 65 65 65 35.899 0 65-29.102 65-65z"/><path d="M564.333 27.225c0-35.898-29.101-65-65-65-35.898 0-65 29.102-65 65 0 35.899 29.102 65 65 65 35.899 0 65-29.101 65-65z"/><path d="M564.333-4.217c0-35.898-29.101-65-65-65-35.898 0-65 29.102-65 65 0 35.898 29.102 65 65 65 35.899 0 65-29.102 65-65z"/><path d="M564.333-35.66c0-35.899-29.101-65-65-65-35.898 0-65 29.101-65 65 0 35.898 29.102 65 65 65 35.899 0 65-29.102 65-65zM781 436.052c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 64.999 65 64.999 35.898 0 65-29.101 65-64.999z"/><path d="M781 404.609c0-35.898-29.102-64.999-65-64.999-35.899 0-65 29.101-65 64.999 0 35.899 29.101 65 65 65 35.898 0 65-29.101 65-65z"/><path d="M781 373.155c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M781 341.713c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M781 310.271c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 64.999 65 64.999 35.898 0 65-29.101 65-64.999z"/><path d="M781 278.815c0-35.898-29.102-65-65-65-35.899 0-65 29.102-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M781 247.373c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M781 215.931c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M781 184.475c0-35.898-29.102-65-65-65-35.899 0-65 29.102-65 65 0 35.899 29.101 65 65 65 35.898 0 65-29.101 65-65z"/><path d="M781 153.033c0-35.898-29.102-65-65-65-35.899 0-65 29.102-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M781 121.59c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M781 90.122c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M781 58.68c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M781 27.225c0-35.898-29.102-65-65-65-35.899 0-65 29.102-65 65 0 35.899 29.101 65 65 65 35.898 0 65-29.101 65-65z"/><path d="M781-4.217c0-35.898-29.102-65-65-65-35.899 0-65 29.102-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/><path d="M781-35.66c0-35.899-29.102-65-65-65-35.899 0-65 29.101-65 65 0 35.898 29.101 65 65 65 35.898 0 65-29.102 65-65z"/></g></svg>
<svg width="936" height="400" viewBox="0 0 936 400" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill="#1D35B4" d="M0 0h936v400H0z"/>
<path d="M31-26c0 220.91 179.09 400 400 400h1000" stroke="#213FD4" stroke-width="60" stroke-miterlimit="10"/>
<path d="M131-26c0 165.69 134.31 300 300 300h1000" stroke="#213FD4" stroke-width="60" stroke-miterlimit="10"/>
<path d="M231-26c0 110.46 89.54 200 200 200h1000" stroke="#213FD4" stroke-width="60" stroke-miterlimit="10"/>
<path d="M336-26c0 55.23 44.567 100 99.545 100H1431" stroke="#213FD4" stroke-width="60" stroke-miterlimit="10"/>
<path d="M132 27c16.569 0 30-13.431 30-30 0-16.569-13.431-30-30-30-16.569 0-30 13.431-30 30 0 16.569 13.431 30 30 30ZM474 104c16.569 0 30-13.431 30-30 0-16.569-13.431-30-30-30-16.569 0-30 13.431-30 30 0 16.569 13.431 30 30 30ZM936 204c16.569 0 30-13.431 30-30 0-16.569-13.431-30-30-30-16.569 0-30 13.431-30 30 0 16.569 13.431 30 30 30ZM755 404c16.569 0 30-13.431 30-30 0-16.569-13.431-30-30-30-16.569 0-30 13.431-30 30 0 16.569 13.431 30 30 30Z" fill="#33F078"/>
</svg>
......
<svg preserveAspectRatio="xMidYMin slice" viewBox="0 0 1232 240" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
<g clip-path="url(#a)">
<path class="curve" d="M1430.91 497.569c63.48-63.482 112.65-137.548 146.13-220.1 32.34-79.71 48.73-163.936 48.73-250.299 0-86.362-16.39-170.588-48.73-250.298-33.48-82.573-82.65-156.618-146.13-220.1-63.48-63.482-137.55-112.651-220.1-146.135-79.71-32.336-163.94-48.725-250.301-48.725-86.363 0-170.589 16.389-250.299 48.725-82.573 33.484-156.618 82.653-220.1 146.135-63.481 63.482-112.65 137.547-146.135 220.1C311.64-143.418 295.25-59.192 295.25 27.19c0 86.383 16.39 170.589 48.725 250.299 33.485 82.573 82.654 156.618 146.135 220.1a683.438 683.438 0 0 0 14.475 14.031l85.576-85.577a560.502 560.502 0 0 1-14.535-13.99C472.814 309.24 416.206 172.56 416.206 27.17c0-145.389 56.608-282.069 159.42-384.882 102.813-102.813 239.494-159.42 384.883-159.42 145.391 0 282.071 56.607 384.881 159.42 102.81 102.813 159.42 239.493 159.42 384.882 0 145.39-56.61 282.07-159.42 384.883L861.587 895.857H747.545l540.815-540.815c87.57-87.572 135.81-204.013 135.81-327.851 0-123.84-48.22-240.28-135.81-327.852-87.57-87.572-204.01-135.814-327.851-135.814-123.839 0-240.28 48.222-327.852 135.814C545.085-213.069 496.844-96.648 496.844 27.19c0 123.839 48.221 240.28 135.813 327.852 4.758 4.758 9.636 9.374 14.575 13.93l85.637-85.637c-5.019-4.475-9.938-9.072-14.696-13.829-133.616-133.616-133.616-351.035 0-484.671 133.616-133.616 351.037-133.616 484.667 0 64.74 64.731 100.38 150.792 100.38 242.335 0 91.544-35.64 177.604-100.38 242.336L576.493 895.857H462.452l683.378-683.362c102.19-102.188 102.19-268.442 0-370.629-49.49-49.492-115.31-76.767-185.301-76.767-69.993 0-135.814 27.255-185.305 76.767-49.491 49.491-76.767 115.311-76.767 185.304 0 69.994 27.256 135.814 76.767 185.305a262.783 262.783 0 0 0 14.797 13.708l86.02-86.02a143.305 143.305 0 0 1-15.281-13.224c-26.65-26.651-41.326-62.09-41.326-99.789 0-37.698 14.676-73.138 41.326-99.789 26.651-26.65 62.091-41.326 99.789-41.326s73.141 14.676 99.791 41.326c55.01 55.015 55.01 144.543 0 199.578L295.29 891.986v124.804h1330.52V895.837h-593.13l398.27-398.268h-.04ZM-1234.11-301.729c-82.74 82.734-146.8 179.217-190.43 286.787-42.11 103.881-63.46 213.608-63.46 326.178s21.35 222.297 63.48 326.158c43.63 107.571 107.69 204.053 190.43 286.787 82.73 82.739 179.21 146.799 286.784 190.429 103.861 42.11 213.608 63.48 326.158 63.48 112.55 0 222.297-21.35 326.158-63.48 107.57-43.63 204.053-107.69 286.787-190.429 82.734-82.734 146.8-179.216 190.425-286.787 42.113-103.861 63.482-213.608 63.482-326.158 0-112.549-21.349-222.297-63.482-326.158C138.597-122.492 74.531-218.975-8.203-301.709c-53.382-53.382-112.711-99.063-177.08-136.519l-88.963 88.963c66.284 34.815 126.883 79.448 180.527 133.092C47.155-75.299 124.748 112.021 124.748 311.256c0 199.235-77.593 386.556-218.467 527.43-140.873 140.873-328.194 218.464-527.429 218.464-199.235 0-386.552-77.591-527.432-218.464-140.87-140.874-218.46-328.195-218.46-527.43 0-199.235 77.59-386.555 218.46-527.429L-484.77-880h-171.052l-578.288 578.271Z" fill="#213FD4"/>
<path class="curve" d="M85.415-880H-85.637L-949.02-16.635c-87.569 87.572-135.809 204.012-135.809 327.851s48.22 240.28 135.809 327.852c87.572 87.572 204.012 135.813 327.851 135.813s240.3-48.241 327.852-135.813c87.572-87.572 135.813-204.013 135.813-327.852 0-123.839-48.221-240.28-135.813-327.872-55.701-55.68-123.073-95.434-196.574-117.025L-593.209-30.364c81 6.491 156.275 41.145 214.375 99.245 64.731 64.731 100.373 150.792 100.373 242.335 0 91.544-35.642 177.604-100.373 242.336-64.732 64.731-150.792 100.373-242.336 100.373-91.544 0-177.604-35.642-242.335-100.373-64.732-64.732-100.374-150.792-100.374-242.336 0-91.543 35.642-177.604 100.374-242.335L85.415-880Z" fill="#213FD4"/>
<path class="dot" d="M961 40c16.569 0 30-13.431 30-30 0-16.569-13.431-30-30-30-16.569 0-30 13.431-30 30 0 16.569 13.431 30 30 30Z" fill="#213FD4"/>
</g>
<defs>
<clipPath id="a">
<path fill="#fff" d="M0 0h1232v240H0z"/>
</clipPath>
</defs>
</svg>
......@@ -29,8 +29,8 @@ get_current_screen()->add_help_tab(
get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://wordpress.org/support/article/tools-import-screen/">Documentation on Import</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
'<p>' . __( '<a href="https://wordpress.org/documentation/article/tools-import-screen/">Documentation on Import</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/forums">Support</a>' ) . '</p>'
);
if ( current_user_can( 'install_plugins' ) ) {
......
......@@ -1570,7 +1570,7 @@ function wp_ajax_add_menu_item() {
'before' => '',
'link_after' => '',
'link_before' => '',
'walker' => new $walker_class_name,
'walker' => new $walker_class_name(),
);
echo walk_nav_menu_tree( $menu_items, 0, (object) $args );
......@@ -2034,19 +2034,19 @@ function wp_ajax_inline_save() {
wp_die();
}
$post_ID = (int) $_POST['post_ID'];
$post_id = (int) $_POST['post_ID'];
if ( 'page' === $_POST['post_type'] ) {
if ( ! current_user_can( 'edit_page', $post_ID ) ) {
if ( ! current_user_can( 'edit_page', $post_id ) ) {
wp_die( __( 'Sorry, you are not allowed to edit this page.' ) );
}
} else {
if ( ! current_user_can( 'edit_post', $post_ID ) ) {
if ( ! current_user_can( 'edit_post', $post_id ) ) {
wp_die( __( 'Sorry, you are not allowed to edit this post.' ) );
}
}
$last = wp_check_post_lock( $post_ID );
$last = wp_check_post_lock( $post_id );
if ( $last ) {
$last_user = get_userdata( $last );
$last_user_name = $last_user ? $last_user->display_name : __( 'Someone' );
......@@ -2065,7 +2065,7 @@ function wp_ajax_inline_save() {
$data = &$_POST;
$post = get_post( $post_ID, ARRAY_A );
$post = get_post( $post_id, ARRAY_A );
// Since it's coming from the database.
$post = wp_slash( $post );
......@@ -2532,7 +2532,7 @@ function wp_ajax_upload_attachment() {
check_ajax_referer( 'media-form' );
/*
* This function does not use wp_send_json_success() / wp_send_json_error()
* as the html4 Plupload handler requires a text/html content-type for older IE.
* as the html4 Plupload handler requires a text/html Content-Type for older IE.
* See https://core.trac.wordpress.org/ticket/31037
*/
......@@ -2699,30 +2699,30 @@ function wp_ajax_image_editor() {
function wp_ajax_set_post_thumbnail() {
$json = ! empty( $_REQUEST['json'] ); // New-style request.
$post_ID = (int) $_POST['post_id'];
if ( ! current_user_can( 'edit_post', $post_ID ) ) {
$post_id = (int) $_POST['post_id'];
if ( ! current_user_can( 'edit_post', $post_id ) ) {
wp_die( -1 );
}
$thumbnail_id = (int) $_POST['thumbnail_id'];
if ( $json ) {
check_ajax_referer( "update-post_$post_ID" );
check_ajax_referer( "update-post_$post_id" );
} else {
check_ajax_referer( "set_post_thumbnail-$post_ID" );
check_ajax_referer( "set_post_thumbnail-$post_id" );
}
if ( '-1' == $thumbnail_id ) {
if ( delete_post_thumbnail( $post_ID ) ) {
$return = _wp_post_thumbnail_html( null, $post_ID );
if ( delete_post_thumbnail( $post_id ) ) {
$return = _wp_post_thumbnail_html( null, $post_id );
$json ? wp_send_json_success( $return ) : wp_die( $return );
} else {
wp_die( 0 );
}
}
if ( set_post_thumbnail( $post_ID, $thumbnail_id ) ) {
$return = _wp_post_thumbnail_html( $thumbnail_id, $post_ID );
if ( set_post_thumbnail( $post_id, $thumbnail_id ) ) {
$return = _wp_post_thumbnail_html( $thumbnail_id, $post_id );
$json ? wp_send_json_success( $return ) : wp_die( $return );
}
......@@ -2735,11 +2735,11 @@ function wp_ajax_set_post_thumbnail() {
* @since 4.6.0
*/
function wp_ajax_get_post_thumbnail_html() {
$post_ID = (int) $_POST['post_id'];
$post_id = (int) $_POST['post_id'];
check_ajax_referer( "update-post_$post_ID" );
check_ajax_referer( "update-post_$post_id" );
if ( ! current_user_can( 'edit_post', $post_ID ) ) {
if ( ! current_user_can( 'edit_post', $post_id ) ) {
wp_die( -1 );
}
......@@ -2750,7 +2750,7 @@ function wp_ajax_get_post_thumbnail_html() {
$thumbnail_id = null;
}
$return = _wp_post_thumbnail_html( $thumbnail_id, $post_ID );
$return = _wp_post_thumbnail_html( $thumbnail_id, $post_id );
wp_send_json_success( $return );
}
......@@ -2771,6 +2771,10 @@ function wp_ajax_set_attachment_thumbnail() {
wp_send_json_error();
}
if ( false === check_ajax_referer( 'set-attachment-thumbnail', '_ajax_nonce', false ) ) {
wp_send_json_error();
}
$post_ids = array();
// For each URL, try to find its corresponding post ID.
foreach ( $_POST['urls'] as $url ) {
......@@ -3517,7 +3521,10 @@ function wp_ajax_get_revision_diffs() {
}
$return = array();
set_time_limit( 0 );
if ( function_exists( 'set_time_limit' ) ) {
set_time_limit( 0 );
}
foreach ( $_REQUEST['compare'] as $compare_key ) {
list( $compare_from, $compare_to ) = explode( ':', $compare_key ); // from:to
......
......@@ -59,7 +59,7 @@ function edit_link( $link_id = 0 ) {
* @return stdClass Default link object.
*/
function get_default_link_to_edit() {
$link = new stdClass;
$link = new stdClass();
if ( isset( $_GET['linkurl'] ) ) {
$link->link_url = esc_url( wp_unslash( $_GET['linkurl'] ) );
} else {
......
......@@ -98,7 +98,7 @@ class Custom_Background {
get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://codex.wordpress.org/Appearance_Background_Screen">Documentation on Custom Background</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
'<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
);
wp_enqueue_media();
......@@ -413,7 +413,12 @@ class Custom_Background {
?>
<tr>
<th scope="row"><?php _e( 'Image Position' ); ?></th>
<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Image Position' ); ?></span></legend>
<td><fieldset><legend class="screen-reader-text"><span>
<?php
/* translators: Hidden accessibility text. */
_e( 'Image Position' );
?>
</span></legend>
<div class="background-position-control">
<?php foreach ( $background_position_options as $group ) : ?>
<div class="button-group">
......@@ -432,7 +437,12 @@ class Custom_Background {
<tr>
<th scope="row"><label for="background-size"><?php _e( 'Image Size' ); ?></label></th>
<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Image Size' ); ?></span></legend>
<td><fieldset><legend class="screen-reader-text"><span>
<?php
/* translators: Hidden accessibility text. */
_e( 'Image Size' );
?>
</span></legend>
<select id="background-size" name="background-size">
<option value="auto"<?php selected( 'auto', get_theme_mod( 'background_size', get_theme_support( 'custom-background', 'default-size' ) ) ); ?>><?php _ex( 'Original', 'Original Size' ); ?></option>
<option value="contain"<?php selected( 'contain', get_theme_mod( 'background_size', get_theme_support( 'custom-background', 'default-size' ) ) ); ?>><?php _e( 'Fit to Screen' ); ?></option>
......@@ -443,7 +453,12 @@ class Custom_Background {
<tr>
<th scope="row"><?php _ex( 'Repeat', 'Background Repeat' ); ?></th>
<td><fieldset><legend class="screen-reader-text"><span><?php _ex( 'Repeat', 'Background Repeat' ); ?></span></legend>
<td><fieldset><legend class="screen-reader-text"><span>
<?php
/* translators: Hidden accessibility text. */
_ex( 'Repeat', 'Background Repeat' );
?>
</span></legend>
<input name="background-repeat" type="hidden" value="no-repeat">
<label><input type="checkbox" name="background-repeat" value="repeat"<?php checked( 'repeat', get_theme_mod( 'background_repeat', get_theme_support( 'custom-background', 'default-repeat' ) ) ); ?>> <?php _e( 'Repeat Background Image' ); ?></label>
</fieldset></td>
......@@ -451,7 +466,12 @@ class Custom_Background {
<tr>
<th scope="row"><?php _ex( 'Scroll', 'Background Scroll' ); ?></th>
<td><fieldset><legend class="screen-reader-text"><span><?php _ex( 'Scroll', 'Background Scroll' ); ?></span></legend>
<td><fieldset><legend class="screen-reader-text"><span>
<?php
/* translators: Hidden accessibility text. */
_ex( 'Scroll', 'Background Scroll' );
?>
</span></legend>
<input name="background-attachment" type="hidden" value="fixed">
<label><input name="background-attachment" type="checkbox" value="scroll" <?php checked( 'scroll', get_theme_mod( 'background_attachment', get_theme_support( 'custom-background', 'default-attachment' ) ) ); ?>> <?php _e( 'Scroll with Page' ); ?></label>
</fieldset></td>
......@@ -459,7 +479,12 @@ class Custom_Background {
<?php endif; // get_background_image() ?>
<tr>
<th scope="row"><?php _e( 'Background Color' ); ?></th>
<td><fieldset><legend class="screen-reader-text"><span><?php _e( 'Background Color' ); ?></span></legend>
<td><fieldset><legend class="screen-reader-text"><span>
<?php
/* translators: Hidden accessibility text. */
_e( 'Background Color' );
?>
</span></legend>
<?php
$default_color = '';
if ( current_theme_supports( 'custom-background', 'default-color' ) ) {
......
......@@ -135,7 +135,7 @@ class Custom_Image_Header {
get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
'<p>' . __( '<a href="https://codex.wordpress.org/Appearance_Header_Screen">Documentation on Custom Header</a>' ) . '</p>' .
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
'<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
);
}
......@@ -332,7 +332,7 @@ class Custom_Image_Header {
if ( ! empty( $header['attachment_id'] ) ) {
$width = ' width="230"';
}
echo '<img src="' . set_url_scheme( $header_thumbnail ) . '" alt="' . esc_attr( $header_alt_text ) . '"' . $width . ' /></label>';
echo '<img src="' . esc_url( set_url_scheme( $header_thumbnail ) ) . '" alt="' . esc_attr( $header_alt_text ) . '"' . $width . ' /></label>';
echo '</div>';
}
......
......@@ -62,7 +62,7 @@ class Language_Pack_Upgrader extends WP_Upgrader {
* Avoid messing with VCS installations, at least for now.
* Noted: this is not the ideal way to accomplish this.
*/
$check_vcs = new WP_Automatic_Updater;
$check_vcs = new WP_Automatic_Updater();
if ( $check_vcs->is_vcs_checkout( WP_CONTENT_DIR ) ) {
return;
}
......
......@@ -293,13 +293,13 @@ class Plugin_Installer_Skin extends WP_Upgrader_Skin {
$warning = sprintf(
/* translators: %s: Documentation URL. */
__( 'You are uploading an older version of a current plugin. You can continue to install the older version, but be sure to <a href="%s">back up your database and files</a> first.' ),
__( 'https://wordpress.org/support/article/wordpress-backups/' )
__( 'https://wordpress.org/documentation/article/wordpress-backups/' )
);
} else {
$warning = sprintf(
/* translators: %s: Documentation URL. */
__( 'You are updating a plugin. Be sure to <a href="%s">back up your database and files</a> first.' ),
__( 'https://wordpress.org/support/article/wordpress-backups/' )
__( 'https://wordpress.org/documentation/article/wordpress-backups/' )
);
}
......
......@@ -129,7 +129,7 @@ class Theme_Installer_Skin extends WP_Upgrader_Skin {
'<span aria-hidden="true">%s</span><span class="screen-reader-text">%s</span></a>',
esc_url( $customize_url ),
__( 'Live Preview' ),
/* translators: %s: Theme name. */
/* translators: Hidden accessibility text. %s: Theme name. */
sprintf( __( 'Live Preview &#8220;%s&#8221;' ), $name )
);
}
......@@ -139,7 +139,7 @@ class Theme_Installer_Skin extends WP_Upgrader_Skin {
'<span aria-hidden="true">%s</span><span class="screen-reader-text">%s</span></a>',
esc_url( $activate_link ),
__( 'Activate' ),
/* translators: %s: Theme name. */
/* translators: Hidden accessibility text. %s: Theme name. */
sprintf( _x( 'Activate &#8220;%s&#8221;', 'theme' ), $name )
);
......@@ -328,13 +328,13 @@ class Theme_Installer_Skin extends WP_Upgrader_Skin {
$warning = sprintf(
/* translators: %s: Documentation URL. */
__( 'You are uploading an older version of the active theme. You can continue to install the older version, but be sure to <a href="%s">back up your database and files</a> first.' ),
__( 'https://wordpress.org/support/article/wordpress-backups/' )
__( 'https://wordpress.org/documentation/article/wordpress-backups/' )
);
} else {
$warning = sprintf(
/* translators: %s: Documentation URL. */
__( 'You are updating a theme. Be sure to <a href="%s">back up your database and files</a> first.' ),
__( 'https://wordpress.org/support/article/wordpress-backups/' )
__( 'https://wordpress.org/documentation/article/wordpress-backups/' )
);
}
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.