<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[58146] trunk/src: Administration: A11y: Replace placeholders with visible labels.</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { white-space: pre-line; overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="https://core.trac.wordpress.org/changeset/58146">58146</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"https://core.trac.wordpress.org/changeset/58146","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>joedolson</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2024-05-14 16:47:03 +0000 (Tue, 14 May 2024)</dd>
</dl>
<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Administration: A11y: Replace placeholders with visible labels.
Add visible labels to inputs that are using placeholder attributes as a substitute for visible labeling.
Labels added or made visible on the customizer theme search, customizer widget search, customizer menu item search, customizer new page UI, the search plugins screens, the media search screens, and the classic editor link inserter.
Props afercia, joedolson, rcreators, sabernhardt.
See <a href="https://core.trac.wordpress.org/ticket/40331">#40331</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcjs_enqueuesvendortinymcepluginswplinkpluginjs">trunk/src/js/_enqueues/vendor/tinymce/plugins/wplink/plugin.js</a></li>
<li><a href="#trunksrcjs_enqueueswpcustomizecontrolsjs">trunk/src/js/_enqueues/wp/customize/controls.js</a></li>
<li><a href="#trunksrcjsmediaviewsattachmentsbrowserjs">trunk/src/js/media/views/attachments/browser.js</a></li>
<li><a href="#trunksrcwpadmincsscommoncss">trunk/src/wp-admin/css/common.css</a></li>
<li><a href="#trunksrcwpadmincsscustomizecontrolscss">trunk/src/wp-admin/css/customize-controls.css</a></li>
<li><a href="#trunksrcwpadmincsscustomizenavmenuscss">trunk/src/wp-admin/css/customize-nav-menus.css</a></li>
<li><a href="#trunksrcwpadmincssformscss">trunk/src/wp-admin/css/forms.css</a></li>
<li><a href="#trunksrcwpadmincssmediacss">trunk/src/wp-admin/css/media.css</a></li>
<li><a href="#trunksrcwpadminincludesclasswppluginslisttablephp">trunk/src/wp-admin/includes/class-wp-plugins-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesplugininstallphp">trunk/src/wp-admin/includes/plugin-install.php</a></li>
<li><a href="#trunksrcwpadminpluginsphp">trunk/src/wp-admin/plugins.php</a></li>
<li><a href="#trunksrcwpincludesclasswpcustomizecontrolphp">trunk/src/wp-includes/class-wp-customize-control.php</a></li>
<li><a href="#trunksrcwpincludesclasswpcustomizenavmenusphp">trunk/src/wp-includes/class-wp-customize-nav-menus.php</a></li>
<li><a href="#trunksrcwpincludesclasswpcustomizewidgetsphp">trunk/src/wp-includes/class-wp-customize-widgets.php</a></li>
<li><a href="#trunksrcwpincludescsseditorcss">trunk/src/wp-includes/css/editor.css</a></li>
<li><a href="#trunksrcwpincludescssmediaviewscss">trunk/src/wp-includes/css/media-views.css</a></li>
<li><a href="#trunksrcwpincludescustomizeclasswpcustomizethemessectionphp">trunk/src/wp-includes/customize/class-wp-customize-themes-section.php</a></li>
<li><a href="#trunksrcwpincludesmediaphp">trunk/src/wp-includes/media.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcjs_enqueuesvendortinymcepluginswplinkpluginjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/vendor/tinymce/plugins/wplink/plugin.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/vendor/tinymce/plugins/wplink/plugin.js 2024-05-14 16:12:45 UTC (rev 58145)
+++ trunk/src/js/_enqueues/vendor/tinymce/plugins/wplink/plugin.js 2024-05-14 16:47:03 UTC (rev 58146)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -56,19 +56,19 @@
</span><span class="cx" style="display: block; padding: 0 10px"> renderHtml: function() {
</span><span class="cx" style="display: block; padding: 0 10px"> return (
</span><span class="cx" style="display: block; padding: 0 10px"> '<div id="' + this._id + '" class="wp-link-input">' +
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- '<input type="text" value="" placeholder="' + tinymce.translate( 'Paste URL or type to search' ) + '" />' +
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ '<label for="' + this._id + '_label">' + tinymce.translate( 'Paste URL or type to search' ) + '</label><input id="' + this._id + '_label" type="text" value="" />' +
</ins><span class="cx" style="display: block; padding: 0 10px"> '<input type="text" style="display:none" value="" />' +
</span><span class="cx" style="display: block; padding: 0 10px"> '</div>'
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> setURL: function( url ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- this.getEl().firstChild.value = url;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ this.getEl().firstChild.nextSibling.value = url;
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> getURL: function() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- return tinymce.trim( this.getEl().firstChild.value );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ return tinymce.trim( this.getEl().firstChild.nextSibling.value );
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> getLinkText: function() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- var text = this.getEl().firstChild.nextSibling.value;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ var text = this.getEl().firstChild.nextSibling.nextSibling.value;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! tinymce.trim( text ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return '';
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -77,7 +77,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return text.replace( /[\r\n\t ]+/g, ' ' );
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> reset: function() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- var urlInput = this.getEl().firstChild;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ var urlInput = this.getEl().firstChild.nextSibling;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> urlInput.value = '';
</span><span class="cx" style="display: block; padding: 0 10px"> urlInput.nextSibling.value = '';
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -394,7 +394,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> type: 'WPLinkInput',
</span><span class="cx" style="display: block; padding: 0 10px"> onPostRender: function() {
</span><span class="cx" style="display: block; padding: 0 10px"> var element = this.getEl(),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- input = element.firstChild,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ input = element.firstChild.nextSibling,
</ins><span class="cx" style="display: block; padding: 0 10px"> $input, cache, last;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> inputInstance = this;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -438,7 +438,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> select: function( event, ui ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $input.val( ui.item.permalink );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $( element.firstChild.nextSibling ).val( ui.item.title );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $( element.firstChild.nextSibling.nextSibling ).val( ui.item.title );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( 9 === event.keyCode && typeof window.wpLinkL10n !== 'undefined' ) {
</span><span class="cx" style="display: block; padding: 0 10px"> // Audible confirmation message when a link has been selected.
</span></span></pre></div>
<a id="trunksrcjs_enqueueswpcustomizecontrolsjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/_enqueues/wp/customize/controls.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/_enqueues/wp/customize/controls.js 2024-05-14 16:12:45 UTC (rev 58145)
+++ trunk/src/js/_enqueues/wp/customize/controls.js 2024-05-14 16:47:03 UTC (rev 58146)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1917,7 +1917,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> section.contentContainer.on( 'click', '.feature-filter-toggle', function( e ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var $themeContainer = $( '.customize-themes-full-container' ),
</span><span class="cx" style="display: block; padding: 0 10px"> $filterToggle = $( e.currentTarget );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- section.filtersHeight = $filterToggle.parent().next( '.filter-drawer' ).height();
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ section.filtersHeight = $filterToggle.parents( '.themes-filter-bar' ).next( '.filter-drawer' ).height();
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( 0 < $themeContainer.scrollTop() ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $themeContainer.animate( { scrollTop: 0 }, 400 );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1932,7 +1932,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .attr( 'aria-expanded', function( i, attr ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return 'true' === attr ? 'false' : 'true';
</span><span class="cx" style="display: block; padding: 0 10px"> })
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .parent().next( '.filter-drawer' ).slideToggle( 180, 'linear' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .parents( '.themes-filter-bar' ).next( '.filter-drawer' ).slideToggle( 180, 'linear' );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $filterToggle.hasClass( 'open' ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> var marginOffset = 1018 < window.innerWidth ? 50 : 76;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3739,7 +3739,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ready: function() {
</span><span class="cx" style="display: block; padding: 0 10px"> var control = this, newItem;
</span><span class="cx" style="display: block; padding: 0 10px"> if ( 'dropdown-pages' === control.params.type && control.params.allow_addition ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- newItem = control.container.find( '.new-content-item' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ newItem = control.container.find( '.new-content-item-wrapper' );
</ins><span class="cx" style="display: block; padding: 0 10px"> newItem.hide(); // Hide in JS to preserve flex display when showing.
</span><span class="cx" style="display: block; padding: 0 10px"> control.container.on( 'click', '.add-new-toggle', function( e ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $( e.currentTarget ).slideUp( 180 );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4085,7 +4085,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> toggle = control.container.find( '.add-new-toggle' );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- container = control.container.find( '.new-content-item' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ container = control.container.find( '.new-content-item-wrapper' );
</ins><span class="cx" style="display: block; padding: 0 10px"> input = control.container.find( '.create-item-input' );
</span><span class="cx" style="display: block; padding: 0 10px"> title = input.val();
</span><span class="cx" style="display: block; padding: 0 10px"> select = control.container.find( 'select' );
</span></span></pre></div>
<a id="trunksrcjsmediaviewsattachmentsbrowserjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/js/media/views/attachments/browser.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/js/media/views/attachments/browser.js 2024-05-14 16:12:45 UTC (rev 58145)
+++ trunk/src/js/media/views/attachments/browser.js 2024-05-14 16:47:03 UTC (rev 58146)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -378,7 +378,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( this.options.search ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Search is an input, a visually hidden label element needs to be rendered before.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Search is an input, a label element needs to be rendered before.
</ins><span class="cx" style="display: block; padding: 0 10px"> this.toolbar.set( 'searchLabel', new wp.media.view.Label({
</span><span class="cx" style="display: block; padding: 0 10px"> value: l10n.searchLabel,
</span><span class="cx" style="display: block; padding: 0 10px"> className: 'media-search-input-label',
</span></span></pre></div>
<a id="trunksrcwpadmincsscommoncss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/css/common.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/css/common.css 2024-05-14 16:12:45 UTC (rev 58145)
+++ trunk/src/wp-admin/css/common.css 2024-05-14 16:47:03 UTC (rev 58146)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1090,7 +1090,9 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .wp-filter .search-form {
</span><span class="cx" style="display: block; padding: 0 10px"> float: right;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- margin: 10px 0;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ display: flex;
+ align-items: center;
+ column-gap: .5rem;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .wp-filter .search-form input[type="search"] {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1119,7 +1121,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .wp-filter .search-form.search-plugins .wp-filter-search,
</span><span class="cx" style="display: block; padding: 0 10px"> .no-js .wp-filter .search-form.search-plugins .button {
</span><span class="cx" style="display: block; padding: 0 10px"> display: inline-block;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- margin-top: 10px;
</del><span class="cx" style="display: block; padding: 0 10px"> vertical-align: top;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1360,6 +1361,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> position: relative;
</span><span class="cx" style="display: block; padding: 0 10px"> max-width: 100%;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .wp-filter .search-form {
+ margin: 11px 0;
+ flex-wrap: wrap;
+ row-gap: 10px;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> @media only screen and (max-width: 782px) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4151,7 +4157,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .wp-filter .search-form input[type="search"] {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- width: 100%;
</del><span class="cx" style="display: block; padding: 0 10px"> font-size: 1rem;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4205,6 +4210,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .nav-tab-active:focus:active {
</span><span class="cx" style="display: block; padding: 0 10px"> border-bottom: 1px solid #c3c4c7;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+ .wp-filter .search-form.search-plugins label {
+ width: 100%;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> @media screen and (max-width: 480px) {
</span></span></pre></div>
<a id="trunksrcwpadmincsscustomizecontrolscss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/css/customize-controls.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/css/customize-controls.css 2024-05-14 16:12:45 UTC (rev 58145)
+++ trunk/src/wp-admin/css/customize-controls.css 2024-05-14 16:47:03 UTC (rev 58146)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1082,8 +1082,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> float: left;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-#available-menu-items .accordion-section-content .new-content-item,
-.customize-control-dropdown-pages .new-content-item {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+#available-menu-items .accordion-section-content .new-content-item-wrapper,
+.customize-control-dropdown-pages .new-content-item-wrapper {
</ins><span class="cx" style="display: block; padding: 0 10px"> width: calc(100% - 30px);
</span><span class="cx" style="display: block; padding: 0 10px"> padding: 8px 15px;
</span><span class="cx" style="display: block; padding: 0 10px"> position: absolute;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1090,6 +1090,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> bottom: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> z-index: 10;
</span><span class="cx" style="display: block; padding: 0 10px"> background: #f0f0f1;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+}
+
+.customize-control-dropdown-pages .new-content-item-wrapper {
+ width: 100%;
+ padding: 0;
+ position: static;
+}
+
+#available-menu-items .accordion-section-content .new-content-item,
+.customize-control-dropdown-pages .new-content-item {
</ins><span class="cx" style="display: block; padding: 0 10px"> display: flex;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1099,6 +1109,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> position: relative;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.customize-control-dropdown-pages .new-content-item-wrapper .new-content-item {
+ padding: 0;
+}
+
+.customize-control-dropdown-pages .new-content-item-wrapper .new-content-item label {
+ line-height: 1.6;
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> #available-menu-items .new-content-item .create-item-input,
</span><span class="cx" style="display: block; padding: 0 10px"> .customize-control-dropdown-pages .new-content-item .create-item-input {
</span><span class="cx" style="display: block; padding: 0 10px"> flex-grow: 10;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1815,11 +1833,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> bottom: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.themes-filter-bar .feature-filter-toggle {
- float: right;
- margin: 3px 0 3px 25px;
-}
-
</del><span class="cx" style="display: block; padding: 0 10px"> .themes-filter-bar .feature-filter-toggle:before {
</span><span class="cx" style="display: block; padding: 0 10px"> content: "\f111";
</span><span class="cx" style="display: block; padding: 0 10px"> margin: 0 5px 0 0;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1880,12 +1893,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> animation: .6s themes-fade-in 1;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.control-panel-themes .filter-themes-count {
- position: relative;
- float: right;
- line-height: 2.6;
-}
-
</del><span class="cx" style="display: block; padding: 0 10px"> .control-panel-themes .filter-themes-count .themes-displayed {
</span><span class="cx" style="display: block; padding: 0 10px"> font-weight: 600;
</span><span class="cx" style="display: block; padding: 0 10px"> color: #50575e;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2097,7 +2104,29 @@
</span><span class="cx" style="display: block; padding: 0 10px"> box-sizing: border-box;
</span><span class="cx" style="display: block; padding: 0 10px"> border-bottom: 1px solid #dcdcde;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.customize-preview-header.themes-filter-bar,
+.customize-preview-header.themes-filter-bar .search-form {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ flex-wrap: wrap;
+}
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.customize-preview-header.themes-filter-bar .search-form-input {
+ position: relative;
+}
+
+.customize-preview-header .filter-themes-wrapper {
+ display: grid;
+ align-items: center;
+ gap: 10px;
+ grid-template-columns: auto 1fr;
+}
+
+.customize-preview-header .filter-themes-wrapper .filter-themes-count {
+ justify-self: end;
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> @media screen and (min-width: 1670px) {
</span><span class="cx" style="display: block; padding: 0 10px"> .customize-preview-header.themes-filter-bar {
</span><span class="cx" style="display: block; padding: 0 10px"> width: 82%;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2109,6 +2138,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .themes-filter-bar .themes-filter-container {
</span><span class="cx" style="display: block; padding: 0 10px"> margin: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> padding: 0;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ display: flex;
+ align-items: center;
+ gap: 10px;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .themes-filter-bar .wp-filter-search {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2117,11 +2149,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> max-width: 100%;
</span><span class="cx" style="display: block; padding: 0 10px"> width: 40%;
</span><span class="cx" style="display: block; padding: 0 10px"> min-width: 300px;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- position: absolute;
- top: 6px;
- left: 25px;
</del><span class="cx" style="display: block; padding: 0 10px"> height: 32px;
</span><span class="cx" style="display: block; padding: 0 10px"> margin: 1px 0;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ top: 0;
+ left: 0;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /* Unstick the filter bar on short windows/screens. This breakpoint is based on the
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2155,18 +2186,31 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-@media screen and (max-width: 900px) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+@media screen and (max-width: 960px) {
</ins><span class="cx" style="display: block; padding: 0 10px"> .customize-preview-header.themes-filter-bar {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- height: 86px;
- padding-top: 46px;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ height: 96px;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+}
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+@media screen and (max-width: 900px) {
</ins><span class="cx" style="display: block; padding: 0 10px"> .themes-filter-bar .wp-filter-search {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- width: calc(100% - 50px);
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ width: 100%;
</ins><span class="cx" style="display: block; padding: 0 10px"> margin: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> min-width: 200px;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .customize-preview-header.themes-filter-bar,
+ .customize-preview-header.themes-filter-bar .search-form
+ .themes-filter-bar .themes-filter-container {
+ display: grid;
+ gap: 4px;
+ }
+
+ .customize-preview-header.themes-filter-bar .search-form-input {
+ display: flex;
+ flex-grow: 1;
+ }
+
</ins><span class="cx" style="display: block; padding: 0 10px"> .filter-drawer {
</span><span class="cx" style="display: block; padding: 0 10px"> top: 86px;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2580,7 +2624,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> #available-widgets-list {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- top: 60px;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ top: 82px;
</ins><span class="cx" style="display: block; padding: 0 10px"> position: absolute;
</span><span class="cx" style="display: block; padding: 0 10px"> overflow: auto;
</span><span class="cx" style="display: block; padding: 0 10px"> bottom: 0;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2624,7 +2668,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> #available-widgets-filter .search-icon {
</span><span class="cx" style="display: block; padding: 0 10px"> display: block;
</span><span class="cx" style="display: block; padding: 0 10px"> position: absolute;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- top: 15px; /* 13 container padding +1 input margin +1 input border */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ bottom: 15px; /* 13 container padding +1 input margin +1 input border */
</ins><span class="cx" style="display: block; padding: 0 10px"> left: 16px;
</span><span class="cx" style="display: block; padding: 0 10px"> width: 30px;
</span><span class="cx" style="display: block; padding: 0 10px"> height: 30px;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2634,9 +2678,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> #available-widgets-filter .clear-results,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-#available-menu-items-search .clear-results {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+#available-menu-items-search .accordion-section-title .clear-results {
</ins><span class="cx" style="display: block; padding: 0 10px"> position: absolute;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- top: 15px; /* 13 container padding +1 input margin +1 input border */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ top: 36px; /* 13 container padding +1 input margin +1 input border */
</ins><span class="cx" style="display: block; padding: 0 10px"> right: 16px;
</span><span class="cx" style="display: block; padding: 0 10px"> width: 30px;
</span><span class="cx" style="display: block; padding: 0 10px"> height: 30px;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2695,8 +2739,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .themes-filter-bar .search-icon {
</span><span class="cx" style="display: block; padding: 0 10px"> position: absolute;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- top: 7px;
- left: 26px;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ top: 2px;
+ left: 2px;
</ins><span class="cx" style="display: block; padding: 0 10px"> z-index: 1;
</span><span class="cx" style="display: block; padding: 0 10px"> color: #646970;
</span><span class="cx" style="display: block; padding: 0 10px"> height: 30px;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2814,8 +2858,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> margin-top: 12px;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .wp-core-ui .themes-filter-bar .feature-filter-toggle {
- margin: 3px 0 3px 25px;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .customize-preview-header.themes-filter-bar .search-icon {
+ top: 6px;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2952,12 +2996,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> #available-widgets-list {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- top: 130px;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ top: 152px;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- #available-menu-items-search .clear-results,
- #available-menu-items-search .search-icon {
- top: 85px; /* 70 section title height + 13 container padding +1 input margin +1 input border */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ #available-menu-items-search .clear-results {
+ top: 36px;
+ right: 16px;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .reorder,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2964,10 +3008,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .reordering .reorder-done {
</span><span class="cx" style="display: block; padding: 0 10px"> padding: 8px;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
- .wp-core-ui .themes-filter-bar .feature-filter-toggle {
- margin: 0;
- }
</del><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> @media screen and (max-width: 600px) {
</span></span></pre></div>
<a id="trunksrcwpadmincsscustomizenavmenuscss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/css/customize-nav-menus.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/css/customize-nav-menus.css 2024-05-14 16:12:45 UTC (rev 58145)
+++ trunk/src/wp-admin/css/customize-nav-menus.css 2024-05-14 16:47:03 UTC (rev 58146)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -557,7 +557,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> #available-menu-items .accordion-section-title .no-items,
</span><span class="cx" style="display: block; padding: 0 10px"> #available-menu-items .cannot-expand .accordion-section-title .spinner,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-#available-menu-items .cannot-expand .accordion-section-title > button {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+#available-menu-items .cannot-expand .accordion-section-title > button:not(#available-menu-items-search button.is-visible) {
</ins><span class="cx" style="display: block; padding: 0 10px"> display: none;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -581,7 +581,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> #available-menu-items .accordion-section-content .available-menu-items-list {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- margin: 0 0 45px;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ margin: 0 0 64px;
</ins><span class="cx" style="display: block; padding: 0 10px"> padding: 1px 15px 15px;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -680,7 +680,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> #available-menu-items-search .spinner {
</span><span class="cx" style="display: block; padding: 0 10px"> position: absolute;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- top: 20px; /* 13 container padding +1 input margin +6 ( ( 32 input height - 20 spinner height ) / 2 ) */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ bottom: 20px; /* 13 container padding +1 input margin +6 ( ( 32 input height - 20 spinner height ) / 2 ) */
</ins><span class="cx" style="display: block; padding: 0 10px"> right: 21px;
</span><span class="cx" style="display: block; padding: 0 10px"> margin: 0 !important;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -689,7 +689,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> #available-menu-items #available-menu-items-search .accordion-section-content {
</span><span class="cx" style="display: block; padding: 0 10px"> position: absolute;
</span><span class="cx" style="display: block; padding: 0 10px"> left: 0;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- top: 60px; /* below title div / search input */
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ top: 75px; /* below title div / search input */
</ins><span class="cx" style="display: block; padding: 0 10px"> bottom: 0; /* 100% height that still triggers lazy load */
</span><span class="cx" style="display: block; padding: 0 10px"> max-height: none;
</span><span class="cx" style="display: block; padding: 0 10px"> width: 100%;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -878,6 +878,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> @media screen and (max-width: 640px) {
</span><span class="cx" style="display: block; padding: 0 10px"> #available-menu-items #available-menu-items-search .accordion-section-content {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- top: 130px;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ top: 146px;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunksrcwpadmincssformscss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/css/forms.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/css/forms.css 2024-05-14 16:12:45 UTC (rev 58145)
+++ trunk/src/wp-admin/css/forms.css 2024-05-14 16:47:03 UTC (rev 58146)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -720,8 +720,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> p.search-box {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ column-gap: 0.5rem;
+ position: relative;
</ins><span class="cx" style="display: block; padding: 0 10px"> float: right;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- margin: 0;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ margin: 11px 0;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .network-admin.themes-php p.search-box {
</span></span></pre></div>
<a id="trunksrcwpadmincssmediacss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/css/media.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/css/media.css 2024-05-14 16:12:45 UTC (rev 58145)
+++ trunk/src/wp-admin/css/media.css 2024-05-14 16:47:03 UTC (rev 58146)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -585,15 +585,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .media-frame-content .media-search-input-label {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- margin: 0 .2em 0 0;
</del><span class="cx" style="display: block; padding: 0 10px"> vertical-align: baseline;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.media-frame.mode-grid .media-search-input-label {
- position: static;
- margin: 0 .5em 0 0;
-}
-
</del><span class="cx" style="display: block; padding: 0 10px"> .attachments-browser .media-toolbar-secondary > .media-button {
</span><span class="cx" style="display: block; padding: 0 10px"> margin-right: 10px;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1373,8 +1367,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> width: 100%;
</span><span class="cx" style="display: block; padding: 0 10px"> margin-bottom: 20px;
</span><span class="cx" style="display: block; padding: 0 10px"> display: flex;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ flex-wrap: nowrap;
+ column-gap: 0;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .wp-filter p.search-box #media-search-input {
+ width: 100%;
+ }
+
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> @media only screen and (max-width: 782px) {
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswppluginslisttablephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/class-wp-plugins-list-table.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-plugins-list-table.php 2024-05-14 16:12:45 UTC (rev 58145)
+++ trunk/src/wp-admin/includes/class-wp-plugins-list-table.php 2024-05-14 16:47:03 UTC (rev 58146)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -453,8 +453,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px"> <p class="search-box">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <label class="screen-reader-text" for="<?php echo esc_attr( $input_id ); ?>"><?php echo $text; ?>:</label>
- <input type="search" id="<?php echo esc_attr( $input_id ); ?>" class="wp-filter-search" name="s" value="<?php _admin_search_query(); ?>" placeholder="<?php esc_attr_e( 'Search installed plugins...' ); ?>" />
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <label for="<?php echo esc_attr( $input_id ); ?>"><?php echo $text; ?></label>
+ <input type="search" id="<?php echo esc_attr( $input_id ); ?>" class="wp-filter-search" name="s" value="<?php _admin_search_query(); ?>" />
</ins><span class="cx" style="display: block; padding: 0 10px"> <?php submit_button( $text, 'hide-if-js', '', false, array( 'id' => 'search-submit' ) ); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </p>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span></span></pre></div>
<a id="trunksrcwpadminincludesplugininstallphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/plugin-install.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/plugin-install.php 2024-05-14 16:12:45 UTC (rev 58145)
+++ trunk/src/wp-admin/includes/plugin-install.php 2024-05-14 16:47:03 UTC (rev 58146)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -320,6 +320,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px"> <form class="search-form search-plugins" method="get">
</span><span class="cx" style="display: block; padding: 0 10px"> <input type="hidden" name="tab" value="search" />
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <label for="search-plugins"><?php _e( 'Search Plugins' ); ?></label>
+ <input type="search" name="s" id="search-plugins" value="<?php echo esc_attr( $term ); ?>" class="wp-filter-search" />
</ins><span class="cx" style="display: block; padding: 0 10px"> <label class="screen-reader-text" for="typeselector">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> /* translators: Hidden accessibility text. */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -331,13 +333,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <option value="author"<?php selected( 'author', $type ); ?>><?php _e( 'Author' ); ?></option>
</span><span class="cx" style="display: block; padding: 0 10px"> <option value="tag"<?php selected( 'tag', $type ); ?>><?php _ex( 'Tag', 'Plugin Installer' ); ?></option>
</span><span class="cx" style="display: block; padding: 0 10px"> </select>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <label class="screen-reader-text" for="search-plugins">
- <?php
- /* translators: Hidden accessibility text. */
- _e( 'Search Plugins' );
- ?>
- </label>
- <input type="search" name="s" id="search-plugins" value="<?php echo esc_attr( $term ); ?>" class="wp-filter-search" placeholder="<?php esc_attr_e( 'Search plugins...' ); ?>" />
</del><span class="cx" style="display: block; padding: 0 10px"> <?php submit_button( __( 'Search Plugins' ), 'hide-if-js', false, false, array( 'id' => 'search-submit' ) ); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </form>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span></span></pre></div>
<a id="trunksrcwpadminpluginsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/plugins.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/plugins.php 2024-05-14 16:12:45 UTC (rev 58145)
+++ trunk/src/wp-admin/plugins.php 2024-05-14 16:47:03 UTC (rev 58146)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -790,7 +790,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php $wp_list_table->views(); ?>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <form class="search-form search-plugins" method="get">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<?php $wp_list_table->search_box( __( 'Search Installed Plugins' ), 'plugin' ); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php $wp_list_table->search_box( __( 'Search installed plugins' ), 'plugin' ); ?>
</ins><span class="cx" style="display: block; padding: 0 10px"> </form>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <form method="post" id="bulk-action-form">
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpcustomizecontrolphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/class-wp-customize-control.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-customize-control.php 2024-05-14 16:12:45 UTC (rev 58145)
+++ trunk/src/wp-includes/class-wp-customize-control.php 2024-05-14 16:47:03 UTC (rev 58146)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -635,15 +635,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> printf( __( '+ %s' ), get_post_type_object( 'page' )->labels->add_new_item );
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </button>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <div class="new-content-item">
- <label for="create-input-<?php echo esc_attr( $this->id ); ?>"><span class="screen-reader-text">
- <?php
- /* translators: Hidden accessibility text. */
- _e( 'New page title' );
- ?>
- </span></label>
- <input type="text" id="create-input-<?php echo esc_attr( $this->id ); ?>" class="create-item-input" placeholder="<?php esc_attr_e( 'New page title…' ); ?>">
- <button type="button" class="button add-content"><?php _e( 'Add' ); ?></button>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <div class="new-content-item-wrapper">
+ <label for="create-input-<?php echo esc_attr( $this->id ); ?>"><?php _e( 'New page title' ); ?></label>
+ <div class="new-content-item">
+ <input type="text" id="create-input-<?php echo esc_attr( $this->id ); ?>" class="create-item-input" >
+ <button type="button" class="button add-content"><?php _e( 'Add' ); ?></button>
+ </div>
</ins><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php endif; ?>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpcustomizenavmenusphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/class-wp-customize-nav-menus.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-customize-nav-menus.php 2024-05-14 16:12:45 UTC (rev 58145)
+++ trunk/src/wp-includes/class-wp-customize-nav-menus.php 2024-05-14 16:47:03 UTC (rev 58146)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1163,13 +1163,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px"> <div id="available-menu-items-search" class="accordion-section cannot-expand">
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="accordion-section-title">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <label class="screen-reader-text" for="menu-items-search">
- <?php
- /* translators: Hidden accessibility text. */
- _e( 'Search Menu Items' );
- ?>
- </label>
- <input type="text" id="menu-items-search" placeholder="<?php esc_attr_e( 'Search menu items…' ); ?>" aria-describedby="menu-items-search-desc" />
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <label for="menu-items-search"><?php _e( 'Search Menu Items' ); ?></label>
+ <input type="text" id="menu-items-search" aria-describedby="menu-items-search-desc" />
</ins><span class="cx" style="display: block; padding: 0 10px"> <p class="screen-reader-text" id="menu-items-search-desc">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> /* translators: Hidden accessibility text. */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1177,14 +1172,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </p>
</span><span class="cx" style="display: block; padding: 0 10px"> <span class="spinner"></span>
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <div class="search-icon" aria-hidden="true"></div>
+ <button type="button" class="clear-results"><span class="screen-reader-text">
+ <?php
+ /* translators: Hidden accessibility text. */
+ _e( 'Clear Results' );
+ ?>
+ </span></button>
</ins><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <div class="search-icon" aria-hidden="true"></div>
- <button type="button" class="clear-results"><span class="screen-reader-text">
- <?php
- /* translators: Hidden accessibility text. */
- _e( 'Clear Results' );
- ?>
- </span></button>
</del><span class="cx" style="display: block; padding: 0 10px"> <ul class="accordion-section-content available-menu-items-list" data-type="search"></ul>
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1243,10 +1238,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php if ( 'post_type' === $available_item_type['type'] ) : ?>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php $post_type_obj = get_post_type_object( $available_item_type['object'] ); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php if ( current_user_can( $post_type_obj->cap->create_posts ) && current_user_can( $post_type_obj->cap->publish_posts ) ) : ?>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <div class="new-content-item">
- <label for="<?php echo esc_attr( 'create-item-input-' . $available_item_type['object'] ); ?>" class="screen-reader-text"><?php echo esc_html( $post_type_obj->labels->add_new_item ); ?></label>
- <input type="text" id="<?php echo esc_attr( 'create-item-input-' . $available_item_type['object'] ); ?>" class="create-item-input" placeholder="<?php echo esc_attr( $post_type_obj->labels->add_new_item ); ?>">
- <button type="button" class="button add-content"><?php _e( 'Add' ); ?></button>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <div class="new-content-item-wrapper">
+ <label for="<?php echo esc_attr( 'create-item-input-' . $available_item_type['object'] ); ?>"><?php echo esc_html( $post_type_obj->labels->add_new_item ); ?></label>
+ <div class="new-content-item">
+ <input type="text" id="<?php echo esc_attr( 'create-item-input-' . $available_item_type['object'] ); ?>" class="create-item-input">
+ <button type="button" class="button add-content"><?php _e( 'Add' ); ?></button>
+ </div>
</ins><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php endif; ?>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php endif; ?>
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpcustomizewidgetsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/class-wp-customize-widgets.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-customize-widgets.php 2024-05-14 16:12:45 UTC (rev 58145)
+++ trunk/src/wp-includes/class-wp-customize-widgets.php 2024-05-14 16:47:03 UTC (rev 58146)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -909,13 +909,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> </h3>
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px"> <div id="available-widgets-filter">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <label class="screen-reader-text" for="widgets-search">
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <label for="widgets-search">
</ins><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> /* translators: Hidden accessibility text. */
</span><span class="cx" style="display: block; padding: 0 10px"> _e( 'Search Widgets' );
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </label>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <input type="text" id="widgets-search" placeholder="<?php esc_attr_e( 'Search widgets…' ); ?>" aria-describedby="widgets-search-desc" />
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <input type="text" id="widgets-search" aria-describedby="widgets-search-desc" />
</ins><span class="cx" style="display: block; padding: 0 10px"> <div class="search-icon" aria-hidden="true"></div>
</span><span class="cx" style="display: block; padding: 0 10px"> <button type="button" class="clear-results"><span class="screen-reader-text">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span></span></pre></div>
<a id="trunksrcwpincludescsseditorcss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/css/editor.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/css/editor.css 2024-05-14 16:12:45 UTC (rev 58145)
+++ trunk/src/wp-includes/css/editor.css 2024-05-14 16:47:03 UTC (rev 58146)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1737,6 +1737,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> color: #d63638;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.mce-inline-toolbar-grp div.mce-flow-layout-item > div {
+ display: flex;
+ align-items: flex-end;
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> div.wp-link-input {
</span><span class="cx" style="display: block; padding: 0 10px"> float: left;
</span><span class="cx" style="display: block; padding: 0 10px"> margin: 2px;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1743,6 +1748,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> max-width: 694px;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+div.wp-link-input label {
+ margin-bottom: 4px;
+ display: block;
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> div.wp-link-input input {
</span><span class="cx" style="display: block; padding: 0 10px"> width: 300px;
</span><span class="cx" style="display: block; padding: 0 10px"> padding: 3px;
</span></span></pre></div>
<a id="trunksrcwpincludescssmediaviewscss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/css/media-views.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/css/media-views.css 2024-05-14 16:12:45 UTC (rev 58145)
+++ trunk/src/wp-includes/css/media-views.css 2024-05-14 16:47:03 UTC (rev 58146)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1209,6 +1209,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> display: flex;
</span><span class="cx" style="display: block; padding: 0 10px"> align-items: center;
</span><span class="cx" style="display: block; padding: 0 10px"> column-gap: .5rem;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ margin: 11px 0;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .mode-grid .attachments-browser .media-toolbar-mode-select .media-toolbar-primary {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2802,7 +2803,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .mode-grid .attachments-browser .media-toolbar-primary {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- display: flex;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ display: grid;
+ grid-template-columns: auto 1fr;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .mode-grid .attachments-browser .media-toolbar-primary input[type="search"] {
</span></span></pre></div>
<a id="trunksrcwpincludescustomizeclasswpcustomizethemessectionphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/customize/class-wp-customize-themes-section.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/customize/class-wp-customize-themes-section.php 2024-05-14 16:12:45 UTC (rev 58145)
+++ trunk/src/wp-includes/customize/class-wp-customize-themes-section.php 2024-05-14 16:47:03 UTC (rev 58146)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -124,21 +124,35 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <button type="button" class="button button-primary customize-section-back customize-themes-mobile-back"><?php _e( 'Go to theme sources' ); ?></button>
</span><span class="cx" style="display: block; padding: 0 10px"> <# if ( 'wporg' === data.action ) { #>
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="search-form">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <label for="wp-filter-search-input-{{ data.id }}" class="screen-reader-text">
- <?php
- /* translators: Hidden accessibility text. */
- _e( 'Search themes…' );
- ?>
- </label>
- <input type="search" id="wp-filter-search-input-{{ data.id }}" placeholder="<?php esc_attr_e( 'Search themes…' ); ?>" aria-describedby="{{ data.id }}-live-search-desc" class="wp-filter-search">
- <div class="search-icon" aria-hidden="true"></div>
- <span id="{{ data.id }}-live-search-desc" class="screen-reader-text">
- <?php
- /* translators: Hidden accessibility text. */
- _e( 'The search results will be updated as you type.' );
- ?>
- </span>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <label for="wp-filter-search-input-{{ data.id }}"><?php _e( 'Search themes' ); ?></label>
+ <div class="search-form-input">
+ <input type="search" id="wp-filter-search-input-{{ data.id }}" aria-describedby="{{ data.id }}-live-search-desc" class="wp-filter-search">
+ <div class="search-icon" aria-hidden="true"></div>
+ <span id="{{ data.id }}-live-search-desc" class="screen-reader-text">
+ <?php
+ /* translators: Hidden accessibility text. */
+ _e( 'The search results will be updated as you type.' );
+ ?>
+ </span>
+ </div>
</ins><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <# } else { #>
+ <div class="themes-filter-container">
+ <label for="{{ data.id }}-themes-filter"><?php _e( 'Search themes' ); ?></label>
+ <div class="search-form-input">
+ <input type="search" id="{{ data.id }}-themes-filter" aria-describedby="{{ data.id }}-live-search-desc" class="wp-filter-search wp-filter-search-themes" />
+ <div class="search-icon" aria-hidden="true"></div>
+ <span id="{{ data.id }}-live-search-desc" class="screen-reader-text">
+ <?php
+ /* translators: Hidden accessibility text. */
+ _e( 'The search results will be updated as you type.' );
+ ?>
+ </span>
+ </div>
+ </div>
+ <# } #>
+ <div class="filter-themes-wrapper">
+ <# if ( 'wporg' === data.action ) { #>
</ins><span class="cx" style="display: block; padding: 0 10px"> <button type="button" class="button feature-filter-toggle">
</span><span class="cx" style="display: block; padding: 0 10px"> <span class="filter-count-0"><?php _e( 'Filter themes' ); ?></span><span class="filter-count-filters">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -147,31 +161,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </span>
</span><span class="cx" style="display: block; padding: 0 10px"> </button>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <# } else { #>
- <div class="themes-filter-container">
- <label for="{{ data.id }}-themes-filter" class="screen-reader-text">
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <# } #>
+ <div class="filter-themes-count">
+ <span class="themes-displayed">
</ins><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* translators: Hidden accessibility text. */
- _e( 'Search themes…' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /* translators: %s: Number of themes displayed. */
+ printf( __( '%s themes' ), '<span class="theme-count">0</span>' );
</ins><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- </label>
- <input type="search" id="{{ data.id }}-themes-filter" placeholder="<?php esc_attr_e( 'Search themes…' ); ?>" aria-describedby="{{ data.id }}-live-search-desc" class="wp-filter-search wp-filter-search-themes" />
- <div class="search-icon" aria-hidden="true"></div>
- <span id="{{ data.id }}-live-search-desc" class="screen-reader-text">
- <?php
- /* translators: Hidden accessibility text. */
- _e( 'The search results will be updated as you type.' );
- ?>
</del><span class="cx" style="display: block; padding: 0 10px"> </span>
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <# } #>
- <div class="filter-themes-count">
- <span class="themes-displayed">
- <?php
- /* translators: %s: Number of themes displayed. */
- printf( __( '%s themes' ), '<span class="theme-count">0</span>' );
- ?>
- </span>
</del><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunksrcwpincludesmediaphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/media.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/media.php 2024-05-14 16:12:45 UTC (rev 58145)
+++ trunk/src/wp-includes/media.php 2024-05-14 16:47:03 UTC (rev 58146)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4825,7 +4825,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 'apply' => __( 'Apply' ),
</span><span class="cx" style="display: block; padding: 0 10px"> 'filterByDate' => __( 'Filter by date' ),
</span><span class="cx" style="display: block; padding: 0 10px"> 'filterByType' => __( 'Filter by type' ),
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- 'searchLabel' => __( 'Search' ),
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'searchLabel' => __( 'Search media' ),
</ins><span class="cx" style="display: block; padding: 0 10px"> 'searchMediaLabel' => __( 'Search media' ), // Backward compatibility pre-5.3.
</span><span class="cx" style="display: block; padding: 0 10px"> 'searchMediaPlaceholder' => __( 'Search media items...' ), // Placeholder (no ellipsis), backward compatibility pre-5.3.
</span><span class="cx" style="display: block; padding: 0 10px"> /* translators: %d: Number of attachments found in a search. */
</span></span></pre>
</div>
</div>
</body>
</html>