Skip to content

Commit

Permalink
Merge pull request #32 from platformsh-templates/update
Browse files Browse the repository at this point in the history
Automerge Pull Request via automated update from auto push
  • Loading branch information
platformsh-devrel authored Feb 11, 2025
2 parents 9552f1c + 228b1e2 commit f0a9a2a
Show file tree
Hide file tree
Showing 134 changed files with 1,498 additions and 646 deletions.
25 changes: 25 additions & 0 deletions wordpress/wp-admin/about.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,31 @@
<div class="about__section changelog has-subtle-background-color">
<div class="column">
<h2><?php _e( 'Maintenance and Security Releases' ); ?></h2>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: Plural number of bugs. */
_n(
'<strong>Version %1$s</strong> addressed %2$s bug.',
'<strong>Version %1$s</strong> addressed %2$s bugs.',
35
),
'6.7.2',
'35'
);
?>
<?php
printf(
/* translators: %s: HelpHub URL. */
__( 'For more information, see <a href="%s">the release notes</a>.' ),
sprintf(
/* translators: %s: WordPress version. */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '6.7.2' )
)
);
?>
</p>
<p>
<?php
printf(
Expand Down
4 changes: 3 additions & 1 deletion wordpress/wp-admin/async-upload.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@
}
?>
<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>
<button type="button" class="button button-small copy-attachment-url"
data-clipboard-text="<?php echo esc_url( $file_url ); ?>"
><?php _e( 'Copy URL to clipboard' ); ?></button>
<span class="success hidden" aria-hidden="true"><?php _e( 'Copied!' ); ?></span>
</span>
</div>
Expand Down
5 changes: 5 additions & 0 deletions wordpress/wp-admin/css/about-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,12 @@
}

.about__section a.button.button-hero {
padding-top: 1.1875rem;
padding-bottom: 1.1875rem;
font-size: 1.5rem;
line-height: 1.4;
white-space: normal;
text-wrap: pretty;
}

.about__container ul {
Expand Down
2 changes: 1 addition & 1 deletion wordpress/wp-admin/css/about-rtl.min.css

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions wordpress/wp-admin/css/about.css
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,12 @@
}

.about__section a.button.button-hero {
padding-top: 1.1875rem;
padding-bottom: 1.1875rem;
font-size: 1.5rem;
line-height: 1.4;
white-space: normal;
text-wrap: pretty;
}

.about__container ul {
Expand Down
2 changes: 1 addition & 1 deletion wordpress/wp-admin/css/about.min.css

Large diffs are not rendered by default.

20 changes: 18 additions & 2 deletions wordpress/wp-admin/css/common-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -2434,6 +2434,12 @@ h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
.nav-menus-php .metabox-holder h3 {
padding: 0;
}

.accordion-container h3.accordion-section-title {
padding: 0 !important;
}

.accordion-section-title button.accordion-trigger,
.nav-menus-php .metabox-holder .accordion-section-title button.accordion-trigger {
background: inherit;
color: #1d2327;
Expand All @@ -2447,27 +2453,38 @@ h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
line-height: 1.5;
cursor: pointer;
}

.accordion-section-title button.accordion-trigger:focus,
.nav-menus-php .metabox-holder .accordion-section-title button.accordion-trigger:focus {
box-shadow: 0 0 0 2px #2271b1;
outline: 2px solid transparent;
}

.accordion-section-title span.dashicons.dashicons-arrow-down,
.nav-menus-php .metabox-holder .accordion-section-title span.dashicons.dashicons-arrow-down {
position: absolute;
left: 10px;
right: auto;
color: #787c82;
border-radius: 50px;
top: 50%;
transform: translateY(-50%);
}

.accordion-section-title:hover span.dashicons.dashicons-arrow-down,
.nav-menus-php .metabox-holder .accordion-section-title:hover span.dashicons.dashicons-arrow-down {
color: #1d2327;
}

.accordion-section-title span.dashicons.dashicons-arrow-down::before,
.nav-menus-php .metabox-holder .accordion-section-title span.dashicons.dashicons-arrow-down::before {
position: relative;
right: -1px;
}

.accordion-section.open .accordion-section-title span.dashicons.dashicons-arrow-down,
.nav-menus-php .metabox-holder .accordion-section.open .accordion-section-title span.dashicons.dashicons-arrow-down {
transform: rotate(-180deg);
transform: rotate(-180deg) translate(0, 50%);
}

#templateside ul li a {
Expand Down Expand Up @@ -3649,7 +3666,6 @@ img {

.accordion-section-title {
margin: 0;
padding: 12px 15px 15px;
position: relative;
border-right: 1px solid #dcdcde;
border-left: 1px solid #dcdcde;
Expand Down
4 changes: 2 additions & 2 deletions wordpress/wp-admin/css/common-rtl.min.css

Large diffs are not rendered by default.

20 changes: 18 additions & 2 deletions wordpress/wp-admin/css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -2433,6 +2433,12 @@ h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
.nav-menus-php .metabox-holder h3 {
padding: 0;
}

.accordion-container h3.accordion-section-title {
padding: 0 !important;
}

.accordion-section-title button.accordion-trigger,
.nav-menus-php .metabox-holder .accordion-section-title button.accordion-trigger {
background: inherit;
color: #1d2327;
Expand All @@ -2446,27 +2452,38 @@ h1.nav-tab-wrapper, /* Back-compat for pre-4.4 */
line-height: 1.5;
cursor: pointer;
}

.accordion-section-title button.accordion-trigger:focus,
.nav-menus-php .metabox-holder .accordion-section-title button.accordion-trigger:focus {
box-shadow: 0 0 0 2px #2271b1;
outline: 2px solid transparent;
}

.accordion-section-title span.dashicons.dashicons-arrow-down,
.nav-menus-php .metabox-holder .accordion-section-title span.dashicons.dashicons-arrow-down {
position: absolute;
right: 10px;
left: auto;
color: #787c82;
border-radius: 50px;
top: 50%;
transform: translateY(-50%);
}

.accordion-section-title:hover span.dashicons.dashicons-arrow-down,
.nav-menus-php .metabox-holder .accordion-section-title:hover span.dashicons.dashicons-arrow-down {
color: #1d2327;
}

.accordion-section-title span.dashicons.dashicons-arrow-down::before,
.nav-menus-php .metabox-holder .accordion-section-title span.dashicons.dashicons-arrow-down::before {
position: relative;
left: -1px;
}

.accordion-section.open .accordion-section-title span.dashicons.dashicons-arrow-down,
.nav-menus-php .metabox-holder .accordion-section.open .accordion-section-title span.dashicons.dashicons-arrow-down {
transform: rotate(180deg);
transform: rotate(180deg) translate(0, 50%);
}

#templateside ul li a {
Expand Down Expand Up @@ -3648,7 +3665,6 @@ img {

.accordion-section-title {
margin: 0;
padding: 12px 15px 15px;
position: relative;
border-left: 1px solid #dcdcde;
border-right: 1px solid #dcdcde;
Expand Down
4 changes: 2 additions & 2 deletions wordpress/wp-admin/css/common.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions wordpress/wp-admin/css/customize-controls-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,7 @@ body.trashing #publish-settings {
border-left: none;
border-bottom: none;
cursor: default;
padding: 10px 14px 11px 10px;
}

#customize-controls .customize-info.open .accordion-section-title:after,
Expand Down Expand Up @@ -562,7 +563,6 @@ body.trashing #publish-settings {
.accordion-section-title button.accordion-trigger {
all: unset;
width: 100%;
height: 100%;
padding: 10px 14px 11px 30px;
display: flex;
align-items: center;
Expand Down Expand Up @@ -1729,7 +1729,7 @@ p.customize-section-description {
border-right: none;
border-left: none;
margin: 0 0 15px;
padding-left: 100px; /* Space for the button */
padding: 12px 15px 15px 100px; /* Space for the button */
}

#customize-theme-controls .control-section-themes .customize-themes-panel .accordion-section-title:first-child:hover, /* Not a focusable element. */
Expand Down
2 changes: 1 addition & 1 deletion wordpress/wp-admin/css/customize-controls-rtl.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions wordpress/wp-admin/css/customize-controls.css
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ body.trashing #publish-settings {
border-right: none;
border-bottom: none;
cursor: default;
padding: 10px 10px 11px 14px;
}

#customize-controls .customize-info.open .accordion-section-title:after,
Expand Down Expand Up @@ -561,7 +562,6 @@ body.trashing #publish-settings {
.accordion-section-title button.accordion-trigger {
all: unset;
width: 100%;
height: 100%;
padding: 10px 30px 11px 14px;
display: flex;
align-items: center;
Expand Down Expand Up @@ -1728,7 +1728,7 @@ p.customize-section-description {
border-left: none;
border-right: none;
margin: 0 0 15px;
padding-right: 100px; /* Space for the button */
padding: 12px 100px 15px 15px; /* Space for the button */
}

#customize-theme-controls .control-section-themes .customize-themes-panel .accordion-section-title:first-child:hover, /* Not a focusable element. */
Expand Down
2 changes: 1 addition & 1 deletion wordpress/wp-admin/css/customize-controls.min.css

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion wordpress/wp-admin/css/edit-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,6 @@ ul.wp-tab-bar li {
#postimagediv .inside img {
max-width: 100%;
height: auto;
width: auto;
vertical-align: top;
background-image: linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7), linear-gradient(-45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7);
background-position: 100% 0, 10px 10px;
Expand Down
2 changes: 1 addition & 1 deletion wordpress/wp-admin/css/edit-rtl.min.css

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion wordpress/wp-admin/css/edit.css
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,6 @@ ul.wp-tab-bar li {
#postimagediv .inside img {
max-width: 100%;
height: auto;
width: auto;
vertical-align: top;
background-image: linear-gradient(45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7), linear-gradient(45deg, #c3c4c7 25%, transparent 25%, transparent 75%, #c3c4c7 75%, #c3c4c7);
background-position: 0 0, 10px 10px;
Expand Down
2 changes: 1 addition & 1 deletion wordpress/wp-admin/css/edit.min.css

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions wordpress/wp-admin/edit-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,9 @@
if ( $pagenum > 1 ) {
$location = add_query_arg( 'paged', $pagenum, $location ); // $pagenum takes care of $total_pages.
}
if ( 1 === $pagenum ) {
$location = remove_query_arg( 'paged', $location );
}

/**
* Filters the taxonomy redirect destination URL.
Expand Down
7 changes: 6 additions & 1 deletion wordpress/wp-admin/js/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -1312,7 +1312,12 @@ $( function() {

$( '.bulkactions' ).parents( 'form' ).on( 'submit', function( event ) {
var form = this,
submitterName = event.originalEvent && event.originalEvent.submitter ? event.originalEvent.submitter.name : false;
submitterName = event.originalEvent && event.originalEvent.submitter ? event.originalEvent.submitter.name : false,
currentPageSelector = form.querySelector( '#current-page-selector' );

if ( currentPageSelector && currentPageSelector.defaultValue !== currentPageSelector.value ) {
return; // Pagination form submission.
}

// Observe submissions from posts lists for 'bulk_action' or users lists for 'new_role'.
var bulkFieldRelations = {
Expand Down
2 changes: 1 addition & 1 deletion wordpress/wp-admin/js/common.min.js

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions wordpress/wp-admin/js/customize-controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -1530,7 +1530,7 @@
}

// Expand/Collapse accordion sections on click.
section.container.find( '.accordion-section-title button, .customize-section-back' ).on( 'click keydown', function( event ) {
section.container.find( '.accordion-section-title button, .customize-section-back, .accordion-section-title[tabindex]' ).on( 'click keydown', function( event ) {
if ( api.utils.isKeydownButNotEnterEvent( event ) ) {
return;
}
Expand Down Expand Up @@ -1605,7 +1605,7 @@
content = section.contentContainer,
overlay = section.headContainer.closest( '.wp-full-overlay' ),
backBtn = content.find( '.customize-section-back' ),
sectionTitle = section.headContainer.find( '.accordion-section-title button' ).first(),
sectionTitle = section.headContainer.find( '.accordion-section-title button, .accordion-section-title[tabindex]' ).first(),
expand, panel;

if ( expanded && ! content.hasClass( 'open' ) ) {
Expand Down Expand Up @@ -2694,7 +2694,7 @@
container = section.headContainer.closest( '.wp-full-overlay-sidebar-content' ),
content = section.contentContainer,
backBtn = content.find( '.customize-section-back' ),
sectionTitle = section.headContainer.find( '.accordion-section-title button' ).first(),
sectionTitle = section.headContainer.find( '.accordion-section-title button, .accordion-section-title[tabindex]' ).first(),
body = $( document.body ),
expand, panel;

Expand Down Expand Up @@ -2833,7 +2833,7 @@
var meta, panel = this;

// Expand/Collapse accordion sections on click.
panel.headContainer.find( '.accordion-section-title button' ).on( 'click keydown', function( event ) {
panel.headContainer.find( '.accordion-section-title button, .accordion-section-title[tabindex]' ).on( 'click keydown', function( event ) {
if ( api.utils.isKeydownButNotEnterEvent( event ) ) {
return;
}
Expand Down Expand Up @@ -2937,7 +2937,7 @@
accordionSection = panel.contentContainer,
overlay = accordionSection.closest( '.wp-full-overlay' ),
container = accordionSection.closest( '.wp-full-overlay-sidebar-content' ),
topPanel = panel.headContainer.find( '.accordion-section-title button' ),
topPanel = panel.headContainer.find( '.accordion-section-title button, .accordion-section-title[tabindex]' ),
backBtn = accordionSection.find( '.customize-panel-back' ),
childSections = panel.sections(),
skipTransition;
Expand Down
2 changes: 1 addition & 1 deletion wordpress/wp-admin/js/customize-controls.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion wordpress/wp-admin/js/post.js
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ jQuery( function($) {
function() {
var t = $(this), c = t.is(':checked'), id = t.val();
if ( id && t.parents('#taxonomy-'+taxonomy).length ) {
$('input[id^="in-' + taxonomy + '-' + id + '"]').prop('checked', c);
$('input#in-' + taxonomy + '-' + id + ', input[id^="in-' + taxonomy + '-' + id + '-"]').prop('checked', c);
$('input#in-popular-' + taxonomy + '-' + id).prop('checked', c);
}
}
Expand Down
2 changes: 1 addition & 1 deletion wordpress/wp-admin/js/post.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions wordpress/wp-content/plugins/akismet/akismet.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Plugin Name: Akismet Anti-spam: Spam Protection
Plugin URI: https://akismet.com/
Description: Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. Akismet Anti-spam keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key.
Version: 5.3.5
Version: 5.3.6
Requires at least: 5.8
Requires PHP: 5.6.20
Author: Automattic - Anti-spam Team
Expand Down Expand Up @@ -39,7 +39,7 @@
exit;
}

define( 'AKISMET_VERSION', '5.3.5' );
define( 'AKISMET_VERSION', '5.3.6' );
define( 'AKISMET__MINIMUM_WP_VERSION', '5.8' );
define( 'AKISMET__PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'AKISMET_DELETE_LIMIT', 10000 );
Expand Down
Loading

0 comments on commit f0a9a2a

Please sign in to comment.