Skip to content

Commit

Permalink
Update WP to 6.7.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
boonebgorges committed Nov 27, 2024
1 parent f69bacc commit d63c5bf
Show file tree
Hide file tree
Showing 1,673 changed files with 247,936 additions and 188,849 deletions.
8 changes: 4 additions & 4 deletions readme.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,18 @@ <h3>Updating Manually</h3>
</ol>

<h2>Migrating from other systems</h2>
<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>
<p>WordPress can <a href="https://developer.wordpress.org/advanced-administration/wordpress/import/">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>
<li><a href="https://secure.php.net/">PHP</a> version <strong>7.0</strong> or greater.</li>
<li><a href="https://www.php.net/">PHP</a> version <strong>7.2.24</strong> or greater.</li>
<li><a href="https://www.mysql.com/">MySQL</a> version <strong>5.5.5</strong> or greater.</li>
</ul>

<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>8.0</strong> or greater OR <a href="https://mariadb.org/">MariaDB</a> version <strong>10.4</strong> or greater.</li>
<li><a href="https://www.php.net/">PHP</a> version <strong>7.4</strong> or greater.</li>
<li><a href="https://www.mysql.com/">MySQL</a> version <strong>8.0</strong> or greater OR <a href="https://mariadb.org/">MariaDB</a> version <strong>10.5</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>
Expand Down
307 changes: 104 additions & 203 deletions wp-admin/about.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion wp-admin/admin-ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package WordPress
* @subpackage Administration
*
* @link https://codex.wordpress.org/AJAX_in_Plugins
* @link https://developer.wordpress.org/plugins/javascript/ajax
*/

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

/**
Expand Down
4 changes: 2 additions & 2 deletions wp-admin/admin-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/**
* In case admin-header.php is included in a function.
*
* @global string $title
* @global string $title The title of the current screen.
* @global string $hook_suffix
* @global WP_Screen $current_screen WordPress current screen object.
* @global WP_Locale $wp_locale WordPress date and time locale object.
Expand Down Expand Up @@ -203,7 +203,7 @@
$admin_body_class .= ' network-admin';
}

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

if ( $current_screen->is_block_editor() ) {
$admin_body_class .= ' block-editor-page wp-embed-responsive';
Expand Down
2 changes: 1 addition & 1 deletion wp-admin/admin-post.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
/** This action is documented in wp-admin/admin.php */
do_action( 'admin_init' );

$action = ! empty( $_REQUEST['action'] ) ? $_REQUEST['action'] : '';
$action = ! empty( $_REQUEST['action'] ) ? sanitize_text_field( $_REQUEST['action'] ) : '';

// Reject invalid parameters.
if ( ! is_scalar( $action ) ) {
Expand Down
2 changes: 1 addition & 1 deletion wp-admin/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
if ( get_option( 'db_upgraded' ) ) {

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

/**
* Fires on the next page load after a successful DB upgrade.
Expand Down
28 changes: 14 additions & 14 deletions wp-admin/async-upload.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,22 +64,22 @@
?>
<div class="filename new">
<span class="media-list-title"><strong><?php echo esc_html( wp_html_excerpt( $title, 60, '&hellip;' ) ); ?></strong></span>
<span class="media-list-subtitle"><?php echo wp_basename( $file ); ?></span>
<span class="media-list-subtitle"><?php echo esc_html( wp_basename( $file ) ); ?></span>
<div class="attachment-tools">
<?php
if ( current_user_can( 'edit_post', $id ) ) {
echo '<a class="edit-attachment" href="' . esc_url( get_edit_post_link( $id ) ) . '">' . _x( 'Edit', 'media item' ) . '</a>';
} else {
echo '<span class="edit-attachment">' . _x( 'Success', 'media item' ) . '</span>';
}
?>
<span class="media-item-copy-container copy-to-clipboard-container edit-attachment">
<button type="button" class="button button-small copy-attachment-url" data-clipboard-text="<?php echo $file_url; ?>"><?php _e( 'Copy URL to clipboard' ); ?></button>
<span class="success hidden" aria-hidden="true"><?php _e( 'Copied!' ); ?></span>
</span>
</div>
</div>
</div>
<div class="attachment-tools">
<span class="media-item-copy-container copy-to-clipboard-container edit-attachment">
<button type="button" class="button button-small copy-attachment-url" data-clipboard-text="<?php echo $file_url; ?>"><?php _e( 'Copy URL to clipboard' ); ?></button>
<span class="success hidden" aria-hidden="true"><?php _e( 'Copied!' ); ?></span>
</span>
<?php
if ( current_user_can( 'edit_post', $id ) ) {
echo '<a class="edit-attachment" href="' . esc_url( get_edit_post_link( $id ) ) . '">' . _x( 'Edit', 'media item' ) . '</a>';
} else {
echo '<span class="edit-attachment">' . _x( 'Success', 'media item' ) . '</span>';
}
?>
</div>
</div>
<?php
break;
Expand Down
3 changes: 2 additions & 1 deletion wp-admin/comment.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
* @global string $action
*/
global $action;
wp_reset_vars( array( 'action' ) );

$action = ! empty( $_REQUEST['action'] ) ? sanitize_text_field( $_REQUEST['action'] ) : '';

if ( isset( $_POST['deletecomment'] ) ) {
$action = 'deletecomment';
Expand Down
44 changes: 20 additions & 24 deletions wp-admin/css/about-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,8 @@
}

@media screen and (max-width: 480px) {
.about__section.is-feature .column {
.about__section.is-feature .column,
.about__section .is-section-header {
padding: 0;
}

Expand Down Expand Up @@ -379,7 +380,7 @@
.about__container h2,
.about__container h3.is-larger-heading {
margin-top: 0;
margin-bottom: 0.5em;
margin-bottom: calc(0.5 * var(--gap));
font-size: 2rem;
font-weight: 700;
line-height: 1.16;
Expand All @@ -389,6 +390,7 @@
.about__container h1.is-smaller-heading,
.about__container h2.is-smaller-heading {
margin-top: 0;
margin-bottom: calc(0.5 * var(--gap));
font-size: 1.625rem;
font-weight: 700;
line-height: 1.4;
Expand All @@ -406,10 +408,14 @@
.about__container h2,
.about__container h3,
.about__container h4 {
text-wrap: balance;
text-wrap: pretty;
color: inherit;
}

.about__container :is(h1, h2, h3, h4):lang(en) {
text-wrap: balance;
}

.about__container p {
text-wrap: pretty;
}
Expand Down Expand Up @@ -448,6 +454,10 @@
text-decoration: underline;
}

.about__section a.button.button-hero {
font-size: 1.5rem;
}

.about__container ul {
list-style: disc;
margin-right: calc(var(--gap) / 2);
Expand Down Expand Up @@ -489,7 +499,7 @@
}

.about__container .about__image + h3 {
margin-top: 1.5em;
margin-top: calc(0.75 * var(--gap));
}

.about__container hr {
Expand All @@ -508,6 +518,10 @@
margin: var(--gap) auto;
}

.about__container hr.is-invisible {
border: none;
}

.about__container div.updated,
.about__container div.error,
.about__container .notice {
Expand Down Expand Up @@ -586,7 +600,7 @@
.privacy-php .about__header-title h1,
.contribute-php .about__header-title h1 {
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(2rem, 10vw - 3rem, 4rem);
font-size: clamp(2rem, 20vw - 9rem, 4rem);
}

.about__header-text {
Expand Down Expand Up @@ -656,7 +670,7 @@
.privacy-php .about__header-title h1,
.contribute-php .about__header-title h1 {
/* Fluid font size scales on browser size 600px - 960px. */
font-size: clamp(3rem, 6.67vw - 0.5rem, 4.5rem);
font-size: clamp(2rem, 20vw - 9rem, 4rem);
}

.about__header-navigation .nav-tab {
Expand Down Expand Up @@ -1281,24 +1295,6 @@
margin: 0.6em 0;
}

.freedoms-php .column .freedoms-image {
background-image: url('../images/freedoms.png');
background-size: 100%;
padding-top: 100%;
}

.freedoms-php .column:nth-of-type(2) .freedoms-image {
background-position: 100% 34%;
}

.freedoms-php .column:nth-of-type(3) .freedoms-image {
background-position: 100% 66%;
}

.freedoms-php .column:nth-of-type(4) .freedoms-image {
background-position: 100% 100%;
}

/*------------------------------------------------------------------------------
x.5.0 - Legacy About Styles: Media Queries
------------------------------------------------------------------------------*/
Expand Down
2 changes: 1 addition & 1 deletion wp-admin/css/about-rtl.min.css

Large diffs are not rendered by default.

44 changes: 20 additions & 24 deletions wp-admin/css/about.css
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,8 @@
}

@media screen and (max-width: 480px) {
.about__section.is-feature .column {
.about__section.is-feature .column,
.about__section .is-section-header {
padding: 0;
}

Expand Down Expand Up @@ -378,7 +379,7 @@
.about__container h2,
.about__container h3.is-larger-heading {
margin-top: 0;
margin-bottom: 0.5em;
margin-bottom: calc(0.5 * var(--gap));
font-size: 2rem;
font-weight: 700;
line-height: 1.16;
Expand All @@ -388,6 +389,7 @@
.about__container h1.is-smaller-heading,
.about__container h2.is-smaller-heading {
margin-top: 0;
margin-bottom: calc(0.5 * var(--gap));
font-size: 1.625rem;
font-weight: 700;
line-height: 1.4;
Expand All @@ -405,10 +407,14 @@
.about__container h2,
.about__container h3,
.about__container h4 {
text-wrap: balance;
text-wrap: pretty;
color: inherit;
}

.about__container :is(h1, h2, h3, h4):lang(en) {
text-wrap: balance;
}

.about__container p {
text-wrap: pretty;
}
Expand Down Expand Up @@ -447,6 +453,10 @@
text-decoration: underline;
}

.about__section a.button.button-hero {
font-size: 1.5rem;
}

.about__container ul {
list-style: disc;
margin-left: calc(var(--gap) / 2);
Expand Down Expand Up @@ -488,7 +498,7 @@
}

.about__container .about__image + h3 {
margin-top: 1.5em;
margin-top: calc(0.75 * var(--gap));
}

.about__container hr {
Expand All @@ -507,6 +517,10 @@
margin: var(--gap) auto;
}

.about__container hr.is-invisible {
border: none;
}

.about__container div.updated,
.about__container div.error,
.about__container .notice {
Expand Down Expand Up @@ -585,7 +599,7 @@
.privacy-php .about__header-title h1,
.contribute-php .about__header-title h1 {
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(2rem, 10vw - 3rem, 4rem);
font-size: clamp(2rem, 20vw - 9rem, 4rem);
}

.about__header-text {
Expand Down Expand Up @@ -655,7 +669,7 @@
.privacy-php .about__header-title h1,
.contribute-php .about__header-title h1 {
/* Fluid font size scales on browser size 600px - 960px. */
font-size: clamp(3rem, 6.67vw - 0.5rem, 4.5rem);
font-size: clamp(2rem, 20vw - 9rem, 4rem);
}

.about__header-navigation .nav-tab {
Expand Down Expand Up @@ -1280,24 +1294,6 @@
margin: 0.6em 0;
}

.freedoms-php .column .freedoms-image {
background-image: url('../images/freedoms.png');
background-size: 100%;
padding-top: 100%;
}

.freedoms-php .column:nth-of-type(2) .freedoms-image {
background-position: 0 34%;
}

.freedoms-php .column:nth-of-type(3) .freedoms-image {
background-position: 0 66%;
}

.freedoms-php .column:nth-of-type(4) .freedoms-image {
background-position: 0 100%;
}

/*------------------------------------------------------------------------------
x.5.0 - Legacy About Styles: Media Queries
------------------------------------------------------------------------------*/
Expand Down
2 changes: 1 addition & 1 deletion wp-admin/css/about.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit d63c5bf

Please sign in to comment.