Site upgrade.

This commit is contained in:
Greta Thunberg 2023-12-07 09:44:11 +01:00
parent bb8e762eba
commit a3367ac40a
2354 changed files with 171430 additions and 98418 deletions

View File

@ -45,7 +45,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<div class="about__section changelog has-subtle-background-color">
<div class="column">
<h2><?php _e( 'Maintenance Release' ); ?></h2>
<h2><?php _e( 'Maintenance and Security Releases' ); ?></h2>
<p>
<?php
printf(
@ -53,10 +53,10 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
_n(
'<strong>Version %1$s</strong> addressed %2$s bug.',
'<strong>Version %1$s</strong> addressed %2$s bugs.',
10
4
),
'6.3.1',
'10'
'6.4.1',
'4'
);
?>
<?php
@ -66,7 +66,32 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
sprintf(
/* translators: %s: WordPress version. */
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
sanitize_title( '6.3.1' )
sanitize_title( '6.4.1' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: Plural number of bugs. */
_n(
'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bug.',
'<strong>Version %1$s</strong> addressed a security issue and fixed %2$s bugs.',
7
),
'6.4.2',
'7'
);
?>
<?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.4.2' )
)
);
?>
@ -74,9 +99,9 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
</div>
</div>
<div class="about__section aligncenter">
<div class="about__section">
<div class="column">
<h2>
<h2 class="aligncenter">
<?php
printf(
/* translators: %s: Version number. */
@ -86,31 +111,115 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
?>
</h2>
<p class="is-subheading">
<?php _e( 'Create beautiful and compelling websites more efficiently than ever. Whether you want to build an entire site without coding or are a developer looking to customize every detail, WordPress 6.3 has something for you.' ); ?>
<?php _e( 'Every version of WordPress empowers your creative freedom, and WordPress 6.4 is no different. New features and upgrades to your site editing, design, and writing experience allow your ideas to take shape seamlessly. Elevate your site-building journey with the flexibility and power of WordPress 6.4.' ); ?>
</p>
</div>
</div>
<div class="about__section has-2-columns has-accent-4-background-color is-wider-right">
<div class="column is-vertically-aligned-center">
<h3><?php _e( 'Say hello to<br>Twenty Twenty-Four' ); ?></h3>
<p>
<?php
printf(
/* translators: %s: Introduction to Twenty Twenty-Four link. */
__( 'Experience the latest advancements in site editing with <a href="%s">Twenty Twenty-Four</a>. Built with three distinct use cases in mind, the versatility of the new default theme makes it an ideal choice for almost any type of website. Dive into its collection of templates and patterns and unlock a world of creative possibilities with just a few tweaks.' ),
__( 'https://make.wordpress.org/core/2023/08/24/introducing-twenty-twenty-four/' )
);
?>
</p>
</div>
<div class="column is-vertically-aligned-bottom is-edge-to-edge">
<div class="about__image">
<img src="https://s.w.org/images/core/6.4/1-Twenty-Twenty-Four.webp" alt="" height="600" width="600" />
</div>
</div>
</div>
<div class="about__section has-3-columns">
<div class="column">
<div class="about__image">
<img src="https://s.w.org/images/core/6.4/2-image-lightbox.webp" alt="" height="270" width="270" />
</div>
<h3 class="is-smaller-heading" style="margin-bottom:calc(var(--gap) / 4);"><?php _e( 'Add a lightbox effect to images' ); ?></h3>
<p><?php _e( 'Turn lightbox functionality on for interactive, full-screen images with a simple click. Apply it globally or to specific images to customize the viewing experience.' ); ?></p>
</div>
<div class="column">
<div class="about__image">
<img src="https://s.w.org/images/core/6.4/3-categorize-patterns.webp" alt="" height="270" width="270" />
</div>
<h3 class="is-smaller-heading" style="margin-bottom:calc(var(--gap) / 4);"><?php _e( 'Categorize and filter patterns' ); ?></h3>
<p><?php _e( 'Organize your synced and unsynced patterns with categories. Explore advanced filtering in the Patterns section of the inserter to find them all more intuitively.' ); ?></p>
</div>
<div class="column">
<div class="about__image">
<img src="https://s.w.org/images/core/6.4/4-command-palette.webp" alt="" height="270" width="270" />
</div>
<h3 class="is-smaller-heading" style="margin-bottom:calc(var(--gap) / 4);"><?php _e( 'Get more done with the Command Palette' ); ?></h3>
<p>
<?php
printf(
/* translators: %s: Command palette improvement link. */
__( 'Enjoy <a href="%s">a refreshed design and more commands</a> to find what you\'re looking for, perform tasks efficiently, and save time as you create.' ),
__( 'https://make.wordpress.org/core/2023/09/12/core-editor-improvement-commanding-the-command-palette/' )
);
?>
</p>
</div>
</div>
<div class="about__section has-3-columns">
<div class="column">
<div class="about__image">
<img src="https://s.w.org/images/core/6.4/5-renaming-groups.webp" alt="" height="270" width="270" />
</div>
<h3 class="is-smaller-heading" style="margin-bottom:calc(var(--gap) / 4);"><?php _e( 'Rename Group blocks' ); ?></h3>
<p><?php _e( 'Set custom names for Group blocks to easily organize and differentiate parts of your content. These names will be visible in List View.' ); ?></p>
</div>
<div class="column">
<div class="about__image">
<img src="https://s.w.org/images/core/6.4/6-image-preview.webp" alt="" height="270" width="270" />
</div>
<h3 class="is-smaller-heading" style="margin-bottom:calc(var(--gap) / 4);"><?php _e( 'Image previews in List View' ); ?></h3>
<p><?php _e( 'New media previews for Gallery and Image blocks in List View let you visualize and locate at a glance where images on your content are.' ); ?></p>
</div>
<div class="column">
<div class="about__image">
<img src="https://s.w.org/images/core/6.4/7-import-export-patterns.webp" alt="" height="270" width="270" />
</div>
<h3 class="is-smaller-heading" style="margin-bottom:calc(var(--gap) / 4);"><?php _e( 'Share patterns across sites' ); ?></h3>
<p><?php _e( 'Need to use your custom patterns on another site? It\'s simple! Import and export them as JSON files from the Site Editor\'s patterns view.' ); ?></p>
</div>
</div>
<div class="about__section has-2-columns has-subtle-background-color is-wider-left">
<div class="column is-vertically-aligned-center">
<div class="about__image">
<img src="https://s.w.org/images/core/6.4/8-captured-toolbar.webp" alt="" height="434" width="536" />
</div>
</div>
<div class="column is-vertically-aligned-center">
<h3><?php _e( 'Enjoy new writing improvements' ); ?></h3>
<p>
<?php
printf(
/* translators: %s: New enhancements link. */
__( '<a href="%s">New enhancements</a> ensure your content creation journey is smooth. Find new keyboard shortcuts in List View, refined list merging, and enhanced control over link settings. A revamped and cohesive toolbar experience for Navigation, List, and Quote blocks lets you efficiently work with the tooling options you need.' ),
__( 'https://make.wordpress.org/core/2023/10/05/core-editor-improvement-ensuring-excellence-in-the-writing-experience/' )
);
?>
</p>
</div>
</div>
<div class="about__section has-2-columns">
<div class="column is-vertically-aligned-center">
<div class="about__image">
<img src="https://s.w.org/images/core/6.3/1-site-editor.webp" alt="" height="436" width="436" />
</div>
</div>
<div class="column is-vertically-aligned-center">
<h3><?php _e( 'Do everything in the Site Editor' ); ?></h3>
<p><?php _e( 'WordPress 6.3 brings your content, templates, and patterns together in the Site Editor for the first time. Add pages, browse style variations, create synced patterns, and enjoy fine-tuned control over your navigation menus. No more time wasted switching across different site areas—now you can focus on what matters most. Creation to completion, all in one place.' ); ?></p>
</div>
</div>
<div class="about__section has-2-columns">
<div class="column is-vertically-aligned-center">
<h3><?php _e( 'Create and sync patterns' ); ?></h3>
<p><?php _e( 'Arrange blocks in unlimited ways and save them as Patterns for use throughout your site. You can even specify whether to sync your patterns (previously referred to as “reusable blocks”) so that one change applies to all parts of your site. Or, utilize patterns as a starting point with the ability to customize each instance.' ); ?></p>
<h3><?php _e( 'Build your creative vision with more design tools' ); ?></h3>
<p><?php _e( 'Get creative with new background images in Group blocks and ensure consistent image dimensions with placeholder aspect ratios. Do you want to add buttons to your Navigation block? You can now do it conveniently without custom CSS. If you\'re working with synced patterns, alignment settings stay intact for a seamless pattern creation experience.' ); ?></p>
</div>
<div class="column is-vertically-aligned-center">
<div class="about__image">
<img src="https://s.w.org/images/core/6.3/2-create-patterns.webp" alt="" height="436" width="436" />
<img src="https://s.w.org/images/core/6.4/9-design-tools.webp" alt="" height="355" width="436" />
</div>
</div>
</div>
@ -118,153 +227,41 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<div class="about__section has-2-columns">
<div class="column is-vertically-aligned-center">
<div class="about__image">
<img src="https://s.w.org/images/core/6.3/3-command-palette.webp" alt="" height="436" width="436" />
<img src="https://s.w.org/images/core/6.4/10-block-hooks.webp" alt="" height="436" width="436" />
</div>
</div>
<div class="column is-vertically-aligned-center">
<h3><?php _e( 'Work faster with the Command Palette' ); ?></h3>
<p><?php _e( 'Switch to a specific template or open your editor preferences with a new tool that helps you quickly navigate expanded functionality. With simple keyboard shortcuts (⌘+k on Mac or Ctrl+k on Windows), clicking the sidebar search icon in Site View, or clicking the Title Bar, get where you need to go and do what you need to do in seconds.' ); ?></p>
<h3><?php _e( 'Introducing Block Hooks' ); ?></h3>
<p><?php _e( 'Block Hooks is a new powerful feature that enables plugins to auto-insert blocks into content relative to another block. Think of it as recommendations to make your work with blocks more intuitive. A new "Plugins" panel gives you complete control to match them to your needs—add, dismiss, and rearrange Block Hooks as desired.' ); ?></p>
</div>
</div>
<div class="about__section has-2-columns">
<div class="column is-vertically-aligned-center">
<h3><?php _e( 'Sharpen your designs with new tools' ); ?></h3>
<p><?php _e( 'New design controls bring more versatility for fine-tuning designs, starting with the ability to customize your caption&#8217;s styles from the Styles Interface without coding. You can manage your duotone filters in Styles for supported blocks and pick from the options provided by your theme or disable them entirely. The Cover block gets added settings for text color, layout controls, and border options, making this powerful block even more handy.' ); ?></p>
</div>
<div class="column is-vertically-aligned-center">
<div class="about__image">
<img src="https://s.w.org/images/core/6.3/4-design-tools.webp" alt="" height="436" width="436" />
</div>
</div>
</div>
<div class="about__section has-3-columns">
<div class="column">
<div class="about__image">
<img src="https://s.w.org/images/core/6.3/5-style-revisions.webp" alt="" height="270" width="270" />
</div>
<h3 class="is-smaller-heading" style="margin-bottom:calc(var(--gap) / 4);"><?php _e( 'Track design changes with Style Revisions' ); ?></h3>
<p><?php _e( 'You can now see how your site looked at a specific time. Visualize these revisions in a timeline and access a one-click option to restore prior styles.' ); ?></p>
</div>
<div class="column">
<div class="about__image">
<img src="https://s.w.org/images/core/6.3/6-footnotes-block.webp" alt="" height="270" width="270" />
</div>
<h3 class="is-smaller-heading" style="margin-bottom:calc(var(--gap) / 4);"><?php _e( 'Annotate with the Footnotes block' ); ?></h3>
<p><?php _e( 'Footnotes add convenient annotations throughout your content. Now you can add and link footnotes for any paragraph.' ); ?></p>
</div>
<div class="column">
<div class="about__image">
<img src="https://s.w.org/images/core/6.3/7-details-block.webp" alt="" height="270" width="270" />
</div>
<h3 class="is-smaller-heading" style="margin-bottom:calc(var(--gap) / 4);"><?php _e( 'Show or hide content with the Details block' ); ?></h3>
<p><?php _e( 'Use the block to avoid spoiling a surprise, create an interactive Q&A section, or hide a long paragraph under a heading.' ); ?></p>
</div>
</div>
<hr class="is-large" />
<div class="about__section has-2-columns">
<div class="column">
<div class="about__image">
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
<rect width="48" height="48" rx="4" fill="#151515"/>
<path d="M25.7781 16.8569L25.8 22.8573L28.9984 22.8572C29.805 22.8572 30.2796 23.6339 29.8204 24.2024L23.8213 31.6292C23.2633 32.3201 22.2013 31.9819 22.2013 31.1416L22.2 25.1481H19.0016C18.1961 25.1481 17.7212 24.3733 18.1782 23.8047L24.1496 16.3722C24.7055 15.6804 25.7749 16.0169 25.7781 16.8569Z" fill="white"/>
<rect width="48" height="48" rx="4" fill="#CFCABE"/>
<path d="M25.7781 16.8569L25.8 22.8573L28.9984 22.8572C29.805 22.8572 30.2796 23.6339 29.8204 24.2024L23.8213 31.6292C23.2633 32.3201 22.2013 31.9819 22.2013 31.1416L22.2 25.1481H19.0016C18.1961 25.1481 17.7212 24.3733 18.1782 23.8047L24.1496 16.3722C24.7055 15.6804 25.7749 16.0169 25.7781 16.8569Z" fill="#151515"/>
</svg>
</div>
<h3 style="margin-top:calc(var(--gap) * 0.75);margin-bottom:calc(var(--gap) * 0.5)"><?php _e( 'Performance gets a boost' ); ?></h3>
<p><?php _e( 'WordPress 6.3 has 170+ performance updates, including defer and async support for the Scripts API and fetchpriority support for images. These improvements can improve your website&#8217;s load time as perceived by visitors, along with block template resolution, image lazy-loading, and the emoji loader.' ); ?></p>
<h3 style="margin-top:calc(var(--gap) * 0.75);margin-bottom:calc(var(--gap) * 0.5)"><?php _e( 'Performance' ); ?></h3>
<p><?php _e( 'WordPress 6.4 includes more than 100 performance updates for a faster and more efficient experience. Enhancements focus on template loading performance for Block Themes and Classic Themes, usage of the script loading strategies “defer” and “async” in core, blocks, and themes, and optimization of autoloaded options.' ); ?></p>
</div>
<div class="column">
<div class="about__image">
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
<rect width="48" height="48" rx="4" fill="#151515"/>
<path d="M24 18.285C23.55 18.285 23.1638 18.1237 22.8413 17.8012C22.5188 17.4788 22.3575 17.0925 22.3575 16.6425C22.3575 16.1925 22.5188 15.8062 22.8413 15.4837C23.1638 15.1612 23.55 15 24 15C24.45 15 24.8363 15.1612 25.1588 15.4837C25.4813 15.8062 25.6425 16.1925 25.6425 16.6425C25.6425 17.0925 25.4813 17.4788 25.1588 17.8012C24.8363 18.1237 24.45 18.285 24 18.285ZM21.5925 33V21.0075C20.5725 20.9325 19.5863 20.8275 18.6338 20.6925C17.6813 20.5575 16.77 20.385 15.9 20.175L16.2375 18.825C17.5125 19.125 18.78 19.3387 20.04 19.4662C21.3 19.5938 22.62 19.6575 24 19.6575C25.38 19.6575 26.7 19.5938 27.96 19.4662C29.22 19.3387 30.4875 19.125 31.7625 18.825L32.1 20.175C31.23 20.385 30.3187 20.5575 29.3663 20.6925C28.4137 20.8275 27.4275 20.9325 26.4075 21.0075V33H25.0575V27.15H22.9425V33H21.5925Z" fill="white"/>
<rect width="48" height="48" rx="4" fill="#CFCABE"/>
<path d="M24 18.285C23.55 18.285 23.1638 18.1237 22.8413 17.8012C22.5188 17.4788 22.3575 17.0925 22.3575 16.6425C22.3575 16.1925 22.5188 15.8062 22.8413 15.4837C23.1638 15.1612 23.55 15 24 15C24.45 15 24.8363 15.1612 25.1588 15.4837C25.4813 15.8062 25.6425 16.1925 25.6425 16.6425C25.6425 17.0925 25.4813 17.4788 25.1588 17.8012C24.8363 18.1237 24.45 18.285 24 18.285ZM21.5925 33V21.0075C20.5725 20.9325 19.5863 20.8275 18.6338 20.6925C17.6813 20.5575 16.77 20.385 15.9 20.175L16.2375 18.825C17.5125 19.125 18.78 19.3387 20.04 19.4662C21.3 19.5938 22.62 19.6575 24 19.6575C25.38 19.6575 26.7 19.5938 27.96 19.4662C29.22 19.3387 30.4875 19.125 31.7625 18.825L32.1 20.175C31.23 20.385 30.3187 20.5575 29.3663 20.6925C28.4137 20.8275 27.4275 20.9325 26.4075 21.0075V33H25.0575V27.15H22.9425V33H21.5925Z" fill="#151515"/>
</svg>
</div>
<h3 style="margin-top:calc(var(--gap) * 0.75);margin-bottom:calc(var(--gap) * 0.5)"><?php _e( 'Accessibility remains a core focus' ); ?></h3>
<p><?php _e( 'Incorporating more than 50 accessibility improvements across the platform, WordPress 6.3 is more accessible than ever. Improved labeling, optimized tab and arrow-key navigation, revised heading hierarchy, and new controls in the admin image editor allow those using assistive technologies to navigate more easily.' ); ?></p>
<h3 style="margin-top:calc(var(--gap) * 0.75);margin-bottom:calc(var(--gap) * 0.5)"><?php _e( 'Accessibility' ); ?></h3>
<p><?php _e( 'Every release is committed to making WordPress accessible to everyone. 6.4 brings List View improvements and aria-label support for the Navigation block, among other highlights. The admin user interface (UI) includes enhancements to button placements, "Add New" menu items context, and Site Health spoken messages.' ); ?></p>
</div>
</div>
<hr class="is-large" />
<div class="about__section has-3-columns">
<div class="column">
<div class="about__image">
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
<rect width="48" height="48" rx="4" fill="#151515"/>
<path d="M15.9996 25C16.6704 25.3354 16.6703 25.3357 16.6702 25.3359L16.673 25.3305C16.6762 25.3242 16.6818 25.3135 16.6899 25.2985C16.7059 25.2686 16.7316 25.2218 16.7669 25.1608C16.8377 25.0385 16.9469 24.8592 17.0954 24.6419C17.3931 24.2062 17.8444 23.624 18.4543 23.0431C19.6731 21.8824 21.4972 20.75 23.9996 20.75C26.502 20.75 28.3261 21.8824 29.5449 23.0431C30.1549 23.624 30.6061 24.2062 30.9038 24.6419C31.0523 24.8592 31.1615 25.0385 31.2323 25.1608C31.2676 25.2218 31.2933 25.2686 31.3093 25.2985C31.3174 25.3135 31.323 25.3242 31.3262 25.3305L31.3291 25.3359C31.3289 25.3357 31.3288 25.3354 31.9996 25C32.6704 24.6646 32.6703 24.6643 32.6701 24.664L32.6688 24.6614L32.6662 24.6563L32.6583 24.6408C32.6517 24.6282 32.6427 24.6108 32.631 24.5892C32.6078 24.5459 32.5744 24.4852 32.5306 24.4096C32.4432 24.2584 32.3141 24.0471 32.1423 23.7956C31.7994 23.2938 31.2819 22.626 30.5794 21.9569C29.1731 20.6176 26.9972 19.25 23.9996 19.25C21.002 19.25 18.8261 20.6176 17.4199 21.9569C16.7174 22.626 16.1998 23.2938 15.8569 23.7956C15.6851 24.0471 15.556 24.2584 15.4686 24.4096C15.4248 24.4852 15.3914 24.5459 15.3682 24.5892C15.3566 24.6108 15.3475 24.6282 15.3409 24.6408L15.333 24.6563L15.3304 24.6614L15.3295 24.6632C15.3293 24.6635 15.3288 24.6646 15.9996 25ZM23.9996 28C25.9326 28 27.4996 26.433 27.4996 24.5C27.4996 22.567 25.9326 21 23.9996 21C22.0666 21 20.4996 22.567 20.4996 24.5C20.4996 26.433 22.0666 28 23.9996 28Z" fill="white"/>
</svg>
</div>
<h3 class="is-smaller-heading" style="margin-top:calc(var(--gap) / 2);margin-bottom:calc(var(--gap) / 4);"><?php _e( 'Preview block themes' ); ?></h3>
<p><?php _e( 'Experience block themes before you switch and preview the Site Editor, with options to customize directly before committing to a new theme.' ); ?></p>
</div>
<div class="column">
<div class="about__image">
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
<rect width="48" height="48" rx="4" fill="#151515"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M30.5 19H17.5C17.2239 19 17 19.2239 17 19.5V28.5C17 28.7761 17.2239 29 17.5 29H30.5C30.7761 29 31 28.7761 31 28.5V19.5C31 19.2239 30.7761 19 30.5 19ZM17.5 17.5H30.5C31.6046 17.5 32.5 18.3954 32.5 19.5V28.5C32.5 29.6046 31.6046 30.5 30.5 30.5H17.5C16.3954 30.5 15.5 29.6046 15.5 28.5V19.5C15.5 18.3954 16.3954 17.5 17.5 17.5ZM18.5 20.5H19.25H22V22H20V24H18.5V21.25V20.5ZM28.75 27.5H29.5V26.75V24H28V26L26 26V27.5L28.75 27.5Z" fill="white"/>
</svg>
</div>
<h3 class="is-smaller-heading" style="margin-top:calc(var(--gap) / 2);margin-bottom:calc(var(--gap) / 4);"><?php _e( 'Set aspect ratio on images' ); ?></h3>
<p><?php _e( 'Specify your aspect ratios and ensure design integrity, especially when using images in patterns.' ); ?></p>
</div>
<div class="column">
<div class="about__image">
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
<rect width="48" height="48" rx="4" fill="#151515"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M29.7499 14.9862L29.7499 14.0059L28.7939 14.279L28.7939 14.279L28.7928 14.2793L28.7928 14.2793L28.7821 14.2824L28.7506 14.2915C28.7234 14.2994 28.6837 14.3111 28.633 14.3261C28.5317 14.3562 28.386 14.4001 28.2068 14.4559C27.8488 14.5673 27.3551 14.7265 26.8128 14.9179C25.7533 15.2918 24.4209 15.8181 23.5839 16.3761C21.9787 17.4462 21.2703 18.4251 20.8568 19.1143C20.6874 19.3967 20.4992 19.8705 20.3226 20.3793C20.1388 20.9091 19.9461 21.5414 19.7753 22.1819C19.6047 22.8215 19.453 23.4805 19.3543 24.0621C19.2758 24.5242 19.2192 24.9991 19.2374 25.387L18.3036 27.7216C18.1498 28.1062 18.3368 28.5427 18.7214 28.6965C19.106 28.8503 19.5425 28.6633 19.6963 28.2787L20.3141 26.7342C20.635 26.7063 21.0572 26.6435 21.5194 26.5579C22.173 26.4369 22.9606 26.26 23.7647 26.0349C24.567 25.8102 25.3994 25.5337 26.137 25.2105C26.8594 24.8939 27.5557 24.5051 28.0303 24.0305C28.539 23.5218 28.8442 22.8139 29.0434 22.0898C29.2457 21.3547 29.36 20.5222 29.4345 19.6922C29.5006 18.9555 29.5374 18.1945 29.5718 17.4814L29.585 17.2087C29.6156 16.5862 29.6469 16.0134 29.6961 15.5127C29.7299 15.3451 29.7487 15.1792 29.7499 15.0162C29.7501 15.0062 29.7501 14.9962 29.7499 14.9862ZM21.8114 24.9706L22.8071 23.7536L27.0303 19.5305C27.386 19.1747 27.7182 18.8155 28.0194 18.4588C27.998 18.8284 27.973 19.1965 27.9405 19.5581C27.8692 20.353 27.7647 21.0831 27.5972 21.6918C27.4267 22.3114 27.211 22.7285 26.9697 22.9698C26.6943 23.2451 26.2031 23.5438 25.5349 23.8366C24.8818 24.1228 24.1205 24.3775 23.3603 24.5904C22.8227 24.7409 22.2925 24.8686 21.8114 24.9706ZM18 32.0002H26V30.5002H18V32.0002Z" fill="white"/>
</svg>
</div>
<h3 class="is-smaller-heading" style="margin-top:calc(var(--gap) / 2);margin-bottom:calc(var(--gap) / 4);"><?php _e( 'Build your site distraction-free' ); ?></h3>
<p><?php _e( 'Distraction-free designing is now available in the Site Editor.' ); ?></p>
</div>
</div>
<div class="about__section has-3-columns">
<div class="column">
<div class="about__image">
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
<rect width="48" height="48" rx="4" fill="#151515"/>
<path fill="#fff" fill-rule="evenodd" d="m20.014 21.168 3.988-3.418 3.988 3.418-.976 1.14-3.012-2.582-3.012 2.581-.976-1.139Z" clip-rule="evenodd"/>
<path fill="#fff" d="M16 29h16v-1.5H16V29Z"/>
</svg>
</div>
<h3 class="is-smaller-heading" style="margin-top:calc(var(--gap) / 2);margin-bottom:calc(var(--gap) / 4);"><?php _e( 'Rediscover the Top Toolbar' ); ?></h3>
<p><?php _e( 'A revamped top toolbar offers parent selectors for nested blocks, options when selecting multiple blocks, and a new interface embedded into the title bar with new functionality in mind.' ); ?></p>
</div>
<div class="column">
<div class="about__image">
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
<rect width="48" height="48" rx="4" fill="#151515"/>
<path d="M15 17.5H26V19H15V17.5Z" fill="white"/>
<path d="M18.5 23H29.5V24.5H18.5V23Z" fill="white"/>
<path d="M33 28.5H22V30H33V28.5Z" fill="white"/>
</svg>
</div>
<h3 class="is-smaller-heading" style="margin-top:calc(var(--gap) / 2);margin-bottom:calc(var(--gap) / 4);"><?php _e( 'List View improvements' ); ?></h3>
<p><?php _e( 'Drag and drop to every content layer and delete any block you would like in the updated List View.' ); ?></p>
</div>
<div class="column">
<div class="about__image">
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
<rect width="48" height="48" rx="4" fill="#151515"/>
<path d="M27.7 17.2L33.3 22.8C34 23.4 34 24.6 33.2 25.3L27.6 30.9C27.3 31.2 26.8 31.4 26.4 31.4C26 31.4 25.5 31.2 25.2 30.9L19.6 25.3C18.9 24.6 18.9 23.5 19.6 22.8L25.2 17.2C25.9 16.5 27 16.5 27.7 17.2Z" fill="white"/>
<path d="M22 17.5L15.7 23.8C15.6 23.9 15.6 24.1 15.8 24.1L22.1 30.4L21 31.5L14.7 25.3C14 24.6 14 23.5 14.7 22.8L21 16.5L22 17.5Z" fill="white"/>
</svg>
</div>
<h3 class="is-smaller-heading" style="margin-top:calc(var(--gap) / 2);margin-bottom:calc(var(--gap) / 4);"><?php _e( 'Build templates with Patterns' ); ?></h3>
<p><?php _e( 'Create unique patterns to jumpstart template creation with a new modal enabling access to pattern selection.' ); ?></p>
</div>
</div>
<hr />
<div class="about__section has-3-columns">
<div class="column about__image is-vertically-aligned-top">
<img src="<?php echo esc_url( admin_url( 'images/about-release-badge.svg?ver=6.3' ) ); ?>" alt="" height="270" width="270" />
<img src="<?php echo esc_url( admin_url( 'images/about-release-badge.svg?ver=6.4' ) ); ?>" alt="" height="270" width="270" />
</div>
<div class="column is-vertically-aligned-center" style="grid-column-end:span 2">
<h3>
@ -280,7 +277,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<?php
printf(
/* translators: 1: Learn WordPress link, 2: Workshops link. */
__( '<a href="%1$s">Learn WordPress</a> is a free resource for new and experienced WordPress users. Learn is stocked with how-to videos on using various features in WordPress, <a href="%2$s">interactive events</a> for exploring topics in-depth, and lesson plans for diving deep into specific areas of WordPress.' ),
__( '<a href="%1$s">Learn WordPress</a> is a free resource for new and experienced WordPress users. Learn is stocked with how-to videos on using various features in WordPress, <a href="%2$s">interactive workshops</a> for exploring topics in-depth, and lesson plans for diving deep into specific areas of WordPress.' ),
'https://learn.wordpress.org/',
'https://learn.wordpress.org/online-workshops/'
);
@ -293,16 +290,17 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<div class="column">
<div class="about__image">
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
<rect width="48" height="48" rx="4" fill="#151515"/>
<path d="M23 34v-4h-5l-2.293-2.293a1 1 0 0 1 0-1.414L18 24h5v-2h-7v-6h7v-2h2v2h5l2.293 2.293a1 1 0 0 1 0 1.414L30 22h-5v2h7v6h-7v4h-2Zm-5-14h11.175l.646-.646a.5.5 0 0 0 0-.708L29.175 18H18v2Zm.825 8H30v-2H18.825l-.646.646a.5.5 0 0 0 0 .708l.646.646Z" fill="#fff"/>
<rect width="48" height="48" rx="4" fill="#CFCABE"/>
<path d="M23 34v-4h-5l-2.293-2.293a1 1 0 0 1 0-1.414L18 24h5v-2h-7v-6h7v-2h2v2h5l2.293 2.293a1 1 0 0 1 0 1.414L30 22h-5v2h7v6h-7v4h-2Zm-5-14h11.175l.646-.646a.5.5 0 0 0 0-.708L29.175 18H18v2Zm.825 8H30v-2H18.825l-.646.646a.5.5 0 0 0 0 .708l.646.646Z" fill="#151515"/>
</svg>
</div>
<p style="margin-top:calc(var(--gap) / 2);">
<?php
printf(
/* translators: %s: WordPress Field Guide link. */
__( 'Check out the latest version of the <a href="%s">WordPress Field Guide</a>. It is overflowing with detailed developer notes to help you build with WordPress.' ),
__( 'https://make.wordpress.org/core/2023/07/18/wordpress-6-3-field-guide/' )
/* translators: 1: WordPress Field Guide link, 2: WordPress version number. */
__( 'Explore the <a href="%1$s">WordPress %2$s Field Guide</a>. Learn about the changes in this release with detailed developer notes to help you build with WordPress.' ),
__( 'https://make.wordpress.org/core/2023/10/23/wordpress-6-4-field-guide/' ),
'6.4'
);
?>
</p>
@ -310,22 +308,22 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<div class="column">
<div class="about__image">
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false">
<rect width="48" height="48" rx="4" fill="#151515"/>
<path d="M28 19.75h-8v1.5h8v-1.5ZM20 23h8v1.5h-8V23ZM26 26.25h-6v1.5h6v-1.5Z" fill="#fff"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M29 16H19a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V18a2 2 0 0 0-2-2Zm-10 1.5h10a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H19a.5.5 0 0 1-.5-.5V18a.5.5 0 0 1 .5-.5Z" fill="#fff"/>
<rect width="48" height="48" rx="4" fill="#CFCABE"/>
<path d="M28 19.75h-8v1.5h8v-1.5ZM20 23h8v1.5h-8V23ZM26 26.25h-6v1.5h6v-1.5Z" fill="#151515"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M29 16H19a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V18a2 2 0 0 0-2-2Zm-10 1.5h10a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H19a.5.5 0 0 1-.5-.5V18a.5.5 0 0 1 .5-.5Z" fill="#151515"/>
</svg>
</div>
<p style="margin-top:calc(var(--gap) / 2);">
<?php
printf(
/* translators: 1: WordPress Release Notes link, 2: WordPress version number. */
__( '<a href="%1$s">Read the WordPress %2$s Release Notes</a> for more information on the included enhancements and issues fixed, installation information, developer notes and resources, release contributors, and the list of file changes in this release.' ),
__( '<a href="%1$s">Read the WordPress %2$s Release Notes</a> for information on installation, enhancements, fixed issues, release contributors, learning resources, and the list of file changes.' ),
sprintf(
/* translators: %s: WordPress version number. */
esc_url( __( 'https://wordpress.org/documentation/wordpress-version/version-%s/' ) ),
'6-3'
'6-4'
),
'6.3'
'6.4'
);
?>
</p>

View File

@ -113,8 +113,8 @@ if ( isset( $_REQUEST['post_id'] ) ) {
$id = media_handle_upload( 'async-upload', $post_id );
if ( is_wp_error( $id ) ) {
printf(
'<div class="error-div error">%s <strong>%s</strong><br />%s</div>',
$message = sprintf(
'%s <strong>%s</strong><br />%s',
sprintf(
'<button type="button" class="dismiss button-link" onclick="jQuery(this).parents(\'div.media-item\').slideUp(200, function(){jQuery(this).remove();});">%s</button>',
__( 'Dismiss' )
@ -126,6 +126,13 @@ if ( is_wp_error( $id ) ) {
),
esc_html( $id->get_error_message() )
);
wp_admin_notice(
$message,
array(
'additional_classes' => array( 'error-div', 'error' ),
'paragraph_wrap' => false,
)
);
exit;
}

View File

@ -137,9 +137,16 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<div class="wrap">
<h1><?php echo esc_html( $title ); ?></h1>
<?php if ( is_wp_error( $error ) ) : ?>
<div class="notice notice-error"><p><?php echo $error->get_error_message(); ?></p></div>
<?php endif; ?>
<?php
if ( is_wp_error( $error ) ) {
wp_admin_notice(
$error->get_error_message(),
array(
'type' => 'error',
)
);
}
?>
<div class="card auth-app-card">
<h2 class="title"><?php _e( 'An application would like to connect to your account.' ); ?></h2>
@ -194,24 +201,25 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
}
?>
<?php if ( $new_password ) : ?>
<div class="notice notice-success notice-alt below-h2">
<p class="application-password-display">
<label for="new-application-password-value">
<?php
printf(
/* translators: %s: Application name. */
esc_html__( 'Your new password for %s is:' ),
'<strong>' . esc_html( $app_name ) . '</strong>'
);
?>
</label>
<input id="new-application-password-value" type="text" class="code" readonly="readonly" value="<?php esc_attr( WP_Application_Passwords::chunk_password( $new_password ) ); ?>" />
</p>
<p><?php _e( 'Be sure to save this in a safe location. You will not be able to retrieve it.' ); ?></p>
</div>
<?php
if ( $new_password ) :
$message = '<p class="application-password-display">
<label for="new-application-password-value">' . sprintf(
/* translators: %s: Application name. */
esc_html__( 'Your new password for %s is:' ),
'<strong>' . esc_html( $app_name ) . '</strong>'
) . '
</label>
<input id="new-application-password-value" type="text" class="code" readonly="readonly" value="' . esc_attr( WP_Application_Passwords::chunk_password( $new_password ) ) . '" />
</p>
<p>' . __( 'Be sure to save this in a safe location. You will not be able to retrieve it.' ) . '</p>';
$args = array(
'type' => 'success',
'additional_classes' => array( 'notice-alt', 'below-h2' ),
'paragraph_wrap' => false,
);
wp_admin_notice( $message, $args );
<?php
/**
* Fires in the Authorize Application Password new password section in the no-JS version.
*
@ -226,8 +234,8 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
* @param WP_User $user The user authorizing the application.
*/
do_action( 'wp_authorize_application_password_form_approved_no_js', $new_password, $request, $user );
else :
?>
<?php else : ?>
<form action="<?php echo esc_url( admin_url( 'authorize-application.php' ) ); ?>" method="post" class="form-wrap">
<?php wp_nonce_field( 'authorize_application_password' ); ?>
<input type="hidden" name="action" value="authorize_application_password" />

View File

@ -161,11 +161,23 @@ switch ( $action ) {
break;
}
if ( $message ) {
echo '<div id="message" class="notice notice-info"><p>' . $message . '</p></div>';
wp_admin_notice(
$message,
array(
'type' => 'info',
'id' => 'message',
)
);
}
}
wp_admin_notice(
'<strong>' . __( 'Caution:' ) . '</strong> ' . $caution_msg,
array(
'type' => 'warning',
'id' => 'message',
)
);
?>
<div id="message" class="notice notice-warning"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php echo $caution_msg; ?></p></div>
<table class="form-table comment-ays">
<tr>

View File

@ -25,9 +25,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
</h1>
</div>
<div class="about__header-text">
<?php _e( 'Be the future of WordPress' ); ?>
</div>
<div class="about__header-text"></div>
</div>
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
@ -39,12 +37,12 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
</nav>
<div class="about__section has-2-columns is-wider-right">
<div class="column about__image">
<img src="<?php echo esc_url( admin_url( 'images/contribute-main.svg?ver=6.3' ) ); ?>" alt="" />
<div class="column">
<img src="<?php echo esc_url( admin_url( 'images/contribute-main.svg?ver=6.4' ) ); ?>" alt="" width="290" height="290" />
</div>
<div class="column is-vertically-aligned-center">
<p><?php _e( 'Do you use WordPress for work, for personal projects, or even just for fun? You can help shape the long-term success of the open source project that powers millions of websites around the world.' ); ?></p>
<p><?php _e( 'Join the WordPress contributor community and connect with others who are passionate about maintaining a free and open web.' ); ?></p>
<p><?php _e( 'Join the diverse WordPress contributor community and connect with other people who are passionate about maintaining a free and open web.' ); ?></p>
<ul>
<li><?php _e( 'Be part of a global open source community.' ); ?></li>
@ -64,43 +62,43 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<li><?php _e( '<strong>Translate</strong> WordPress into your local language.' ); ?></li>
<li><?php _e( '<strong>Create</strong> and improve WordPress educational materials.' ); ?></li>
<li><?php _e( '<strong>Promote</strong> the WordPress project to your community.' ); ?></li>
<li><?php _e( '<strong>Curate</strong> submissions or take photos for the WordPress Photos Directory.' ); ?></li>
<li><?php _e( '<strong>Organize</strong> or participate in local WordPress Meetups and WordCamps.' ); ?></li>
<li><?php _e( '<strong>Curate</strong> submissions or take photos for the Photo Directory.' ); ?></li>
<li><?php _e( '<strong>Organize</strong> or participate in local Meetups and WordCamps.' ); ?></li>
<li><?php _e( '<strong>Lend</strong> your creative imagination to the WordPress UI design.' ); ?></li>
<li><?php _e( '<strong>Edit</strong> videos and add captions to WordPress.tv.' ); ?></li>
<li><?php _e( '<strong>Explore</strong> ways to reduce the environmental impact of millions of websites.' ); ?></li>
<li><?php _e( '<strong>Explore</strong> ways to reduce the environmental impact of websites.' ); ?></li>
</ul>
</div>
<div class="column">
<img src="<?php echo esc_url( admin_url( 'images/contribute-no-code.svg?ver=6.3' ) ); ?>" alt="" />
<img src="<?php echo esc_url( admin_url( 'images/contribute-no-code.svg?ver=6.4' ) ); ?>" alt="" width="290" height="290" />
</div>
</div>
<div class="about__section has-2-columns is-wider-right">
<div class="column">
<img src="<?php echo esc_url( admin_url( 'images/contribute-code.svg?ver=6.3' ) ); ?>" alt="" />
<img src="<?php echo esc_url( admin_url( 'images/contribute-code.svg?ver=6.4' ) ); ?>" alt="" width="290" height="290" />
</div>
<div class="column is-vertically-aligned-center">
<h3><?php _e( 'Code-based contribution' ); ?></h3>
<p><?php _e( 'If you do code, or want to learn how, you can contribute technically in numerous ways:' ); ?></p>
<ul>
<li><?php _e( '<strong>Find</strong> and report bugs in the WordPress core software.' ); ?></li>
<li><?php _e( '<strong>Test</strong> new releases and proposed features for the block editor.' ); ?></li>
<li><?php _e( '<strong>Test</strong> new releases and proposed features for the Block Editor.' ); ?></li>
<li><?php _e( '<strong>Write</strong> and submit patches to fix bugs or help build new features.' ); ?></li>
<li><?php _e( '<strong>Contribute</strong> to the code, improve the UX, and test the WordPress app.' ); ?></li>
</ul>
<p><?php _e( 'WordPress embraces new technologies, while being committed to backward compatibility. The WordPress project uses the following languages and libraries:' ); ?></p>
<ul>
<li><?php _e( 'Core and Block Editor: HTML, CSS, PHP, SQL, JavaScript, and React' ); ?></li>
<li><?php _e( 'WordPress app: Kotlin, Java, Swift, Objective-C, Vue, Python, and TypeScript' ); ?></li>
<li><?php _e( 'WordPress Core and Block Editor: HTML, CSS, PHP, SQL, JavaScript, and React.' ); ?></li>
<li><?php _e( 'WordPress app: Kotlin, Java, Swift, Objective-C, Vue, Python, and TypeScript.' ); ?></li>
</ul>
</div>
</div>
<div class="about__section is-feature has-subtle-background-color">
<div class="about__section is-feature has-accent-4-background-color">
<div class="column">
<h2><?php _e( 'Shape the future of the web with WordPress' ); ?></h2>
<p><?php _e( 'Finding the area that aligns with your skills and interests is the first step toward meaningful contribution. With more than 20 Make WordPress teams working on different parts of the open source WordPress project, there&#8217;s a place for everyone, no matter what your skill set is.' ); ?></p>
<p class="aligncenter"><a href="<?php echo esc_url( __( 'https://make.wordpress.org/contribute/' ) ); ?>"><?php _e( 'Find your team &rarr;' ); ?></a></p>
<p><a href="<?php echo esc_url( __( 'https://make.wordpress.org/contribute/' ) ); ?>"><?php _e( 'Find your team &rarr;' ); ?></a></p>
</div>
</div>

View File

@ -28,15 +28,7 @@ $credits = wp_credits();
</h1>
</div>
<div class="about__header-text">
<?php
printf(
/* translators: %s: Version number. */
__( 'WordPress %s was created by a worldwide team of passionate individuals' ),
$display_version
);
?>
</div>
<div class="about__header-text"></div>
</div>
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">

View File

@ -22,17 +22,18 @@
.about__container {
/* Section backgrounds */
--background: #151515;
--subtle-background: #eff2ff;
--background: #EAE9E7;
--subtle-background: #EAE9E7;
/* Main text color */
--text: #1e1e1e;
--text-light: #fff;
/* Accent colors: used in header, on special classes. */
--accent-1: #3858e9; /* Link color */
--accent-2: #c7b9f2; /* Accent background */
--accent-1: #C94C26; /* Link color */
--accent-2: #CFCABE; /* Accent background */
--accent-3: #f0f0f1; /* hr background */
--accent-4: #B1C5A4; /* Light green */
/* Navigation colors. */
--nav-background: #fff;
@ -113,6 +114,10 @@
background-color: var(--accent-2);
}
.about__container .has-accent-4-background-color {
background-color: var(--accent-4);
}
.about__container .has-transparent-background-color {
background-color: transparent;
}
@ -370,7 +375,6 @@
.about__container h1 {
padding: 0;
color: inherit;
}
.about__container h1,
@ -413,14 +417,14 @@
}
.about__section a {
color: var(--accent-1);
color: var(--text);
text-decoration: underline;
}
.about__section a:hover,
.about__section a:active,
.about__section a:focus {
color: var(--accent-1);
color: var(--text);
text-decoration: none;
}
@ -531,32 +535,34 @@
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
align-items: flex-start;
justify-content: flex-end;
box-sizing: border-box;
padding: calc(var(--gap) * 2) 0;
min-height: 420px;
padding: var(--gap) 0;
height: clamp(12.5rem, -1.25rem + 36.67vw, 26.25rem);
color: var(--text-light);
background: var(--background) url('../images/about-header-about.svg?ver=6.3') no-repeat;
background-size: cover;
background-position: center;
background-image: url('../images/about-header-about.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
background-size: auto 70%, cover;
border-radius: 5px;
background-repeat: no-repeat;
background-position: left 7% center, top right;
background-color: var(--background);
}
.credits-php .about__header {
background-image: url('../images/about-header-credits.svg?ver=6.3');
background-image: url('../images/about-header-credits.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
}
.freedoms-php .about__header {
background-image: url('../images/about-header-freedoms.svg?ver=6.3');
background-image: url('../images/about-header-freedoms.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
}
.privacy-php .about__header {
background-image: url('../images/about-header-privacy.svg?ver=6.3');
background-image: url('../images/about-header-privacy.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
}
.contribute-php .about__header {
background-image: url('../images/about-header-contribute.svg?ver=6.3');
background-image: url('../images/about-header-contribute.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
}
.about__header-image {
@ -565,26 +571,27 @@
.about__header-title {
box-sizing: border-box;
margin: 0 var(--gap);
margin: 0 calc(var(--gap) + 2rem);
padding: 0;
text-align: center;
max-width: 55%;
}
.about__header-title h1 {
margin: 0 0 1rem;
padding: 0;
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(3rem, 20vw - 9rem, 6rem);
font-size: clamp(2rem, 20vw - 9rem, 4rem);
line-height: 1;
font-weight: 600;
}
.about-php .about__header-title h1,
.credits-php .about__header-title h1,
.freedoms-php .about__header-title h1,
.privacy-php .about__header-title h1,
.contribute-php .about__header-title h1 {
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(3rem, 10vw - 3rem, 4.5rem);
font-size: clamp(2rem, 10vw - 3rem, 4rem);
}
.about__header-text {
@ -643,11 +650,8 @@
}
@media screen and (max-width: 960px) {
.about__header-title h1 {
/* Fluid font size scales on browser size 600px - 960px. */
font-size: clamp(3rem, 13.33vw - 2rem, 6rem);
}
.about-php .about__header-title h1,
.credits-php .about__header-title h1,
.freedoms-php .about__header-title h1,
.privacy-php .about__header-title h1,
@ -734,7 +738,7 @@
------------------------------------------------------------------------------*/
.about__section .wp-people-group-title {
margin-bottom: calc(var(--gap) * 2);
margin-bottom: calc(var(--gap) * 2 - 10px);
text-align: center;
}
@ -749,7 +753,7 @@
display: inline-block;
vertical-align: top;
box-sizing: border-box;
margin-bottom: var(--gap);
margin-bottom: calc(var(--gap) - 10px);
width: 25%;
text-align: center;
}
@ -781,8 +785,10 @@
}
.about__section .wp-person .web {
display: block;
font-size: 1.4em;
font-weight: 600;
padding: 10px 10px 0;
text-decoration: none;
}
@ -1121,7 +1127,7 @@
}
.about-wrap .is-vertically-aligned-top {
align-self: start;
align-self: flex-start;
}
.about-wrap .is-vertically-aligned-center {

File diff suppressed because one or more lines are too long

View File

@ -21,17 +21,18 @@
.about__container {
/* Section backgrounds */
--background: #151515;
--subtle-background: #eff2ff;
--background: #EAE9E7;
--subtle-background: #EAE9E7;
/* Main text color */
--text: #1e1e1e;
--text-light: #fff;
/* Accent colors: used in header, on special classes. */
--accent-1: #3858e9; /* Link color */
--accent-2: #c7b9f2; /* Accent background */
--accent-1: #C94C26; /* Link color */
--accent-2: #CFCABE; /* Accent background */
--accent-3: #f0f0f1; /* hr background */
--accent-4: #B1C5A4; /* Light green */
/* Navigation colors. */
--nav-background: #fff;
@ -112,6 +113,10 @@
background-color: var(--accent-2);
}
.about__container .has-accent-4-background-color {
background-color: var(--accent-4);
}
.about__container .has-transparent-background-color {
background-color: transparent;
}
@ -369,7 +374,6 @@
.about__container h1 {
padding: 0;
color: inherit;
}
.about__container h1,
@ -412,14 +416,14 @@
}
.about__section a {
color: var(--accent-1);
color: var(--text);
text-decoration: underline;
}
.about__section a:hover,
.about__section a:active,
.about__section a:focus {
color: var(--accent-1);
color: var(--text);
text-decoration: none;
}
@ -530,32 +534,34 @@
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
align-items: flex-start;
justify-content: flex-end;
box-sizing: border-box;
padding: calc(var(--gap) * 2) 0;
min-height: 420px;
padding: var(--gap) 0;
height: clamp(12.5rem, -1.25rem + 36.67vw, 26.25rem);
color: var(--text-light);
background: var(--background) url('../images/about-header-about.svg?ver=6.3') no-repeat;
background-size: cover;
background-position: center;
background-image: url('../images/about-header-about.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
background-size: auto 70%, cover;
border-radius: 5px;
background-repeat: no-repeat;
background-position: right 7% center, top left;
background-color: var(--background);
}
.credits-php .about__header {
background-image: url('../images/about-header-credits.svg?ver=6.3');
background-image: url('../images/about-header-credits.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
}
.freedoms-php .about__header {
background-image: url('../images/about-header-freedoms.svg?ver=6.3');
background-image: url('../images/about-header-freedoms.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
}
.privacy-php .about__header {
background-image: url('../images/about-header-privacy.svg?ver=6.3');
background-image: url('../images/about-header-privacy.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
}
.contribute-php .about__header {
background-image: url('../images/about-header-contribute.svg?ver=6.3');
background-image: url('../images/about-header-contribute.svg?ver=6.4'), url('../images/about-header-background.svg?ver=6.4');
}
.about__header-image {
@ -564,26 +570,27 @@
.about__header-title {
box-sizing: border-box;
margin: 0 var(--gap);
margin: 0 calc(var(--gap) + 2rem);
padding: 0;
text-align: center;
max-width: 55%;
}
.about__header-title h1 {
margin: 0 0 1rem;
padding: 0;
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(3rem, 20vw - 9rem, 6rem);
font-size: clamp(2rem, 20vw - 9rem, 4rem);
line-height: 1;
font-weight: 600;
}
.about-php .about__header-title h1,
.credits-php .about__header-title h1,
.freedoms-php .about__header-title h1,
.privacy-php .about__header-title h1,
.contribute-php .about__header-title h1 {
/* Fluid font size scales on browser size 960px - 1200px. */
font-size: clamp(3rem, 10vw - 3rem, 4.5rem);
font-size: clamp(2rem, 10vw - 3rem, 4rem);
}
.about__header-text {
@ -642,11 +649,8 @@
}
@media screen and (max-width: 960px) {
.about__header-title h1 {
/* Fluid font size scales on browser size 600px - 960px. */
font-size: clamp(3rem, 13.33vw - 2rem, 6rem);
}
.about-php .about__header-title h1,
.credits-php .about__header-title h1,
.freedoms-php .about__header-title h1,
.privacy-php .about__header-title h1,
@ -733,7 +737,7 @@
------------------------------------------------------------------------------*/
.about__section .wp-people-group-title {
margin-bottom: calc(var(--gap) * 2);
margin-bottom: calc(var(--gap) * 2 - 10px);
text-align: center;
}
@ -748,7 +752,7 @@
display: inline-block;
vertical-align: top;
box-sizing: border-box;
margin-bottom: var(--gap);
margin-bottom: calc(var(--gap) - 10px);
width: 25%;
text-align: center;
}
@ -780,8 +784,10 @@
}
.about__section .wp-person .web {
display: block;
font-size: 1.4em;
font-weight: 600;
padding: 10px 10px 0;
text-decoration: none;
}
@ -1120,7 +1126,7 @@
}
.about-wrap .is-vertically-aligned-top {
align-self: start;
align-self: flex-start;
}
.about-wrap .is-vertically-aligned-center {

File diff suppressed because one or more lines are too long

View File

@ -625,20 +625,26 @@ code {
.wrap .add-new-h2:active, /* deprecated */
.wrap .page-title-action,
.wrap .page-title-action:active {
margin-right: 4px;
padding: 4px 8px;
display: inline-block;
position: relative;
top: -3px;
text-decoration: none;
border: 1px solid #2271b1;
border-radius: 2px;
text-shadow: none;
font-weight: 600;
font-size: 13px;
line-height: normal; /* IE8-IE11 need this for buttons */
color: #2271b1; /* use the standard color used for buttons */
background: #f6f7f7;
box-sizing: border-box;
cursor: pointer;
white-space: nowrap;
text-decoration: none;
text-shadow: none;
top: -3px;
margin-right: 4px;
border: 1px solid #2271b1;
border-radius: 3px;
background: #f6f7f7;
font-size: 13px;
font-weight: 400;
line-height: 2.15384615;
color: #2271b1; /* use the standard color used for buttons */
padding: 0 10px;
min-height: 30px;
-webkit-appearance: none;
}
.wrap .wp-heading-inline + .page-title-action {
@ -3015,6 +3021,7 @@ div.action-links {
}
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
#TB_window.plugin-details-modal.thickbox-loading:before {
@ -3169,6 +3176,7 @@ img {
font-family: Consolas, Monaco, monospace;
font-size: 13px;
background: #f6f7f7;
-o-tab-size: 4;
tab-size: 4;
}
@ -3757,6 +3765,7 @@ img {
* HiDPI Displays
*/
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
/* Back-compat for pre-3.8 */
div.star-holder,

File diff suppressed because one or more lines are too long

View File

@ -624,20 +624,26 @@ code {
.wrap .add-new-h2:active, /* deprecated */
.wrap .page-title-action,
.wrap .page-title-action:active {
margin-left: 4px;
padding: 4px 8px;
display: inline-block;
position: relative;
top: -3px;
text-decoration: none;
border: 1px solid #2271b1;
border-radius: 2px;
text-shadow: none;
font-weight: 600;
font-size: 13px;
line-height: normal; /* IE8-IE11 need this for buttons */
color: #2271b1; /* use the standard color used for buttons */
background: #f6f7f7;
box-sizing: border-box;
cursor: pointer;
white-space: nowrap;
text-decoration: none;
text-shadow: none;
top: -3px;
margin-left: 4px;
border: 1px solid #2271b1;
border-radius: 3px;
background: #f6f7f7;
font-size: 13px;
font-weight: 400;
line-height: 2.15384615;
color: #2271b1; /* use the standard color used for buttons */
padding: 0 10px;
min-height: 30px;
-webkit-appearance: none;
}
.wrap .wp-heading-inline + .page-title-action {
@ -3014,6 +3020,7 @@ div.action-links {
}
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
#TB_window.plugin-details-modal.thickbox-loading:before {
@ -3168,6 +3175,7 @@ img {
font-family: Consolas, Monaco, monospace;
font-size: 13px;
background: #f6f7f7;
-o-tab-size: 4;
tab-size: 4;
}
@ -3756,6 +3764,7 @@ img {
* HiDPI Displays
*/
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
/* Back-compat for pre-3.8 */
div.star-holder,

File diff suppressed because one or more lines are too long

View File

@ -1605,6 +1605,7 @@ p.customize-section-description {
font-family: Consolas, Monaco, monospace;
font-size: 12px;
padding: 6px 8px;
-o-tab-size: 2;
tab-size: 2;
}
.customize-control-code_editor textarea,
@ -2318,7 +2319,7 @@ p.customize-section-description {
.wp-customizer .theme-overlay .theme-actions {
text-align: left; /* Because there're only one or two actions, match the UI pattern of media modals and right-align the action. */
padding: 10px 25px;
padding: 10px 25px 5px;
background: #f0f0f1;
border-top: 1px solid #dcdcde;
}
@ -2327,13 +2328,6 @@ p.customize-section-description {
margin-right: 8px;
}
.control-panel-themes .theme-actions .delete-theme {
right: 15px; /* these override themes.css on mobile */
left: auto;
bottom: auto;
position: absolute;
}
.modal-open .in-themes-panel #customize-controls .wp-full-overlay-sidebar-content {
overflow: visible; /* Prevent the top-level Customizer controls from becoming visible when elements on the right of the details modal are focused. */
}

File diff suppressed because one or more lines are too long

View File

@ -1604,6 +1604,7 @@ p.customize-section-description {
font-family: Consolas, Monaco, monospace;
font-size: 12px;
padding: 6px 8px;
-o-tab-size: 2;
tab-size: 2;
}
.customize-control-code_editor textarea,
@ -2317,7 +2318,7 @@ p.customize-section-description {
.wp-customizer .theme-overlay .theme-actions {
text-align: right; /* Because there're only one or two actions, match the UI pattern of media modals and right-align the action. */
padding: 10px 25px;
padding: 10px 25px 5px;
background: #f0f0f1;
border-top: 1px solid #dcdcde;
}
@ -2326,13 +2327,6 @@ p.customize-section-description {
margin-left: 8px;
}
.control-panel-themes .theme-actions .delete-theme {
left: 15px; /* these override themes.css on mobile */
right: auto;
bottom: auto;
position: absolute;
}
.modal-open .in-themes-panel #customize-controls .wp-full-overlay-sidebar-content {
overflow: visible; /* Prevent the top-level Customizer controls from becoming visible when elements on the right of the details modal are focused. */
}

File diff suppressed because one or more lines are too long

View File

@ -559,6 +559,10 @@
display: block;
}
.community-events .ce-separator::before {
content: "\2022";
}
.event-icon {
height: 18px;
padding-left: 10px;

File diff suppressed because one or more lines are too long

View File

@ -558,6 +558,10 @@
display: block;
}
.community-events .ce-separator::before {
content: "\2022";
}
.event-icon {
height: 18px;
padding-right: 10px;

File diff suppressed because one or more lines are too long

View File

@ -405,6 +405,7 @@ table.not-image tr.image-only {
* HiDPI Displays
*/
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
.image-align-none-label {

File diff suppressed because one or more lines are too long

View File

@ -404,6 +404,7 @@ table.not-image tr.image-only {
* HiDPI Displays
*/
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
.image-align-none-label {

File diff suppressed because one or more lines are too long

View File

@ -1689,6 +1689,7 @@ table.links-table {
* HiDPI Displays
*/
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
#content-resize-handle,
#post-body .wp_themeSkin .mceStatusbar a.mceResize {

File diff suppressed because one or more lines are too long

View File

@ -1688,6 +1688,7 @@ table.links-table {
* HiDPI Displays
*/
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
#content-resize-handle,
#post-body .wp_themeSkin .mceStatusbar a.mceResize {

File diff suppressed because one or more lines are too long

View File

@ -1709,6 +1709,11 @@ table.form-table td .updated p {
font-size: 14px;
}
.form-table td > label:first-child {
display: inline-block;
margin-top: 0.35em;
}
.background-position-control .button-group > label {
font-size: 0;
}

File diff suppressed because one or more lines are too long

View File

@ -1708,6 +1708,11 @@ table.form-table td .updated p {
font-size: 14px;
}
.form-table td > label:first-child {
display: inline-block;
margin-top: 0.35em;
}
.background-position-control .button-group > label {
font-size: 0;
}

File diff suppressed because one or more lines are too long

View File

@ -392,6 +392,7 @@ body.language-chooser {
* HiDPI Displays
*/
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
.spinner {

File diff suppressed because one or more lines are too long

View File

@ -391,6 +391,7 @@ body.language-chooser {
* HiDPI Displays
*/
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
.spinner {

File diff suppressed because one or more lines are too long

View File

@ -571,7 +571,8 @@ th.sorted.desc:hover .sorting-indicator.asc:before {
position: relative;
}
.check-column .label-covers-full-cell {
.check-column label {
box-sizing: border-box;
width: 100%;
height: 100%;
display: block;
@ -580,15 +581,21 @@ th.sorted.desc:hover .sorting-indicator.asc:before {
right: 0;
}
.check-column .label-covers-full-cell + input {
.check-column input {
position: relative;
z-index: 1;
}
.check-column .label-covers-full-cell:hover + input {
.check-column input:where(:not(:disabled)):hover,
.check-column:hover input:where(:not(:disabled)) {
box-shadow: 0 0 0 1px #2271b1;
}
.check-column label:hover,
.check-column input:hover + label {
background: rgba(0, 0, 0, 0.05);
}
.locked-indicator {
display: none;
margin-right: 6px;

File diff suppressed because one or more lines are too long

View File

@ -570,7 +570,8 @@ th.sorted.desc:hover .sorting-indicator.asc:before {
position: relative;
}
.check-column .label-covers-full-cell {
.check-column label {
box-sizing: border-box;
width: 100%;
height: 100%;
display: block;
@ -579,15 +580,21 @@ th.sorted.desc:hover .sorting-indicator.asc:before {
left: 0;
}
.check-column .label-covers-full-cell + input {
.check-column input {
position: relative;
z-index: 1;
}
.check-column .label-covers-full-cell:hover + input {
.check-column input:where(:not(:disabled)):hover,
.check-column:hover input:where(:not(:disabled)) {
box-shadow: 0 0 0 1px #2271b1;
}
.check-column label:hover,
.check-column input:hover + label {
background: rgba(0, 0, 0, 0.05);
}
.locked-indicator {
display: none;
margin-left: 6px;

File diff suppressed because one or more lines are too long

View File

@ -43,8 +43,8 @@ p {
}
.login .message,
.login .success,
.login #login_error {
.login .notice,
.login .success {
border-right: 4px solid #72aee6;
padding: 12px;
margin-right: 0;
@ -58,10 +58,19 @@ p {
border-right-color: #00a32a;
}
.login #login_error {
/* Match border color from common.css */
.login .notice-error {
border-right-color: #d63638;
}
.login .login-error-list {
list-style: none;
}
.login .login-error-list li + li {
margin-top: 4px;
}
#loginform p.submit,
.login-action-lostpassword p.submit {
border: none;
@ -238,6 +247,11 @@ p {
margin-bottom: 0;
}
#login form .indicator-hint,
#login #reg_passmail {
margin-bottom: 16px;
}
#login form p.submit {
margin: 0;
padding: 0;
@ -343,9 +357,7 @@ p {
font-family: Consolas, Monaco, monospace;
}
.js.login input.password-input,
.js.login-action-rp form .input,
.js.login-action-rp input[type="text"] {
.js.login input.password-input {
padding-left: 2.5rem;
}
@ -355,6 +367,8 @@ p {
background: #fff;
}
.js.login-action-resetpass input[type="text"],
.js.login-action-resetpass input[type="password"],
.js.login-action-rp input[type="text"],
.js.login-action-rp input[type="password"] {
margin-bottom: 0;

File diff suppressed because one or more lines are too long

View File

@ -42,8 +42,8 @@ p {
}
.login .message,
.login .success,
.login #login_error {
.login .notice,
.login .success {
border-left: 4px solid #72aee6;
padding: 12px;
margin-left: 0;
@ -57,10 +57,19 @@ p {
border-left-color: #00a32a;
}
.login #login_error {
/* Match border color from common.css */
.login .notice-error {
border-left-color: #d63638;
}
.login .login-error-list {
list-style: none;
}
.login .login-error-list li + li {
margin-top: 4px;
}
#loginform p.submit,
.login-action-lostpassword p.submit {
border: none;
@ -237,6 +246,11 @@ p {
margin-bottom: 0;
}
#login form .indicator-hint,
#login #reg_passmail {
margin-bottom: 16px;
}
#login form p.submit {
margin: 0;
padding: 0;
@ -342,9 +356,7 @@ p {
font-family: Consolas, Monaco, monospace;
}
.js.login input.password-input,
.js.login-action-rp form .input,
.js.login-action-rp input[type="text"] {
.js.login input.password-input {
padding-right: 2.5rem;
}
@ -354,6 +366,8 @@ p {
background: #fff;
}
.js.login-action-resetpass input[type="text"],
.js.login-action-resetpass input[type="password"],
.js.login-action-rp input[type="text"],
.js.login-action-rp input[type="password"] {
margin-bottom: 0;

File diff suppressed because one or more lines are too long

View File

@ -131,6 +131,7 @@
}
.media-item .edit-attachment.copy-to-clipboard-container {
display: flex;
margin-top: 0;
}
@ -1272,6 +1273,7 @@ audio, video {
* HiDPI Displays
*/
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
.imgedit-wait:before {
background-image: url(../images/spinner-2x.gif);

File diff suppressed because one or more lines are too long

View File

@ -130,6 +130,7 @@
}
.media-item .edit-attachment.copy-to-clipboard-container {
display: flex;
margin-top: 0;
}
@ -1271,6 +1272,7 @@ audio, video {
* HiDPI Displays
*/
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
.imgedit-wait:before {
background-image: url(../images/spinner-2x.gif);

File diff suppressed because one or more lines are too long

View File

@ -838,20 +838,13 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
/* Major/minor publishing actions (classes) */
.nav-menus-php .major-publishing-actions {
clear: both;
padding: 10px 0;
line-height: 2.15384615;
display: flex;
align-items: center;
}
.nav-menus-php .major-publishing-actions .publishing-action {
text-align: left;
float: left;
}
/* Same as the Publish Meta Box #delete-action */
.nav-menus-php .delete-action {
float: right;
line-height: 2.1;
.nav-menus-php .major-publishing-actions > * {
margin-left: 10px;
}
.nav-menus-php .major-publishing-actions .form-invalid {

File diff suppressed because one or more lines are too long

View File

@ -837,20 +837,13 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
/* Major/minor publishing actions (classes) */
.nav-menus-php .major-publishing-actions {
clear: both;
padding: 10px 0;
line-height: 2.15384615;
display: flex;
align-items: center;
}
.nav-menus-php .major-publishing-actions .publishing-action {
text-align: right;
float: right;
}
/* Same as the Publish Meta Box #delete-action */
.nav-menus-php .delete-action {
float: left;
line-height: 2.1;
.nav-menus-php .major-publishing-actions > * {
margin-right: 10px;
}
.nav-menus-php .major-publishing-actions .form-invalid {

File diff suppressed because one or more lines are too long

View File

@ -559,6 +559,7 @@ div.revisions-controls > .wp-slider > .ui-slider-handle {
* HiDPI Displays
*/
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
.revision-tick.completed-false {
background-image: url(../images/spinner-2x.gif);

File diff suppressed because one or more lines are too long

View File

@ -558,6 +558,7 @@ div.revisions-controls > .wp-slider > .ui-slider-handle {
* HiDPI Displays
*/
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
.revision-tick.completed-false {
background-image: url(../images/spinner-2x.gif);

File diff suppressed because one or more lines are too long

View File

@ -507,10 +507,12 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
z-index: 30;
box-sizing: border-box;
border-top: 1px solid #f0f0f1;
display: flex;
justify-content: center;
gap: 5px;
}
.theme-overlay .theme-actions a {
margin-left: 5px;
.theme-overlay .theme-actions .button {
margin-bottom: 5px;
}
@ -522,26 +524,21 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
.broken-themes a.delete-theme,
.theme-overlay .theme-actions .delete-theme {
color: #d63638;
color: #b32d2e;
text-decoration: none;
border-color: transparent;
box-shadow: none;
background: transparent;
}
.theme-overlay .theme-actions .delete-theme {
position: absolute;
left: 10px;
bottom: 5px;
}
.broken-themes a.delete-theme:hover,
.broken-themes a.delete-theme:focus,
.theme-overlay .theme-actions .delete-theme:hover,
.theme-overlay .theme-actions .delete-theme:focus {
background: #d63638;
background: #b32d2e;
color: #fff;
border-color: #d63638;
border-color: #b32d2e;
box-shadow: 0 0 0 1px #b32d2e;
}
.theme-overlay .theme-actions .active-theme,
@ -1942,6 +1939,7 @@ body.full-overlay-active {
* HiDPI Displays
*/
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
.wp-full-overlay .collapse-sidebar-arrow {
background-image: url(../images/arrows-2x.png);

File diff suppressed because one or more lines are too long

View File

@ -506,10 +506,12 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
z-index: 30;
box-sizing: border-box;
border-top: 1px solid #f0f0f1;
display: flex;
justify-content: center;
gap: 5px;
}
.theme-overlay .theme-actions a {
margin-right: 5px;
.theme-overlay .theme-actions .button {
margin-bottom: 5px;
}
@ -521,26 +523,21 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap {
.broken-themes a.delete-theme,
.theme-overlay .theme-actions .delete-theme {
color: #d63638;
color: #b32d2e;
text-decoration: none;
border-color: transparent;
box-shadow: none;
background: transparent;
}
.theme-overlay .theme-actions .delete-theme {
position: absolute;
right: 10px;
bottom: 5px;
}
.broken-themes a.delete-theme:hover,
.broken-themes a.delete-theme:focus,
.theme-overlay .theme-actions .delete-theme:hover,
.theme-overlay .theme-actions .delete-theme:focus {
background: #d63638;
background: #b32d2e;
color: #fff;
border-color: #d63638;
border-color: #b32d2e;
box-shadow: 0 0 0 1px #b32d2e;
}
.theme-overlay .theme-actions .active-theme,
@ -1941,6 +1938,7 @@ body.full-overlay-active {
* HiDPI Displays
*/
@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
.wp-full-overlay .collapse-sidebar-arrow {
background-image: url(../images/arrows-2x.png);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -84,31 +84,31 @@ if ( $doaction ) {
switch ( $doaction ) {
case 'approve':
wp_set_comment_status( $comment_id, 'approve' );
$approved++;
++$approved;
break;
case 'unapprove':
wp_set_comment_status( $comment_id, 'hold' );
$unapproved++;
++$unapproved;
break;
case 'spam':
wp_spam_comment( $comment_id );
$spammed++;
++$spammed;
break;
case 'unspam':
wp_unspam_comment( $comment_id );
$unspammed++;
++$unspammed;
break;
case 'trash':
wp_trash_comment( $comment_id );
$trashed++;
++$trashed;
break;
case 'untrash':
wp_untrash_comment( $comment_id );
$untrashed++;
++$untrashed;
break;
case 'delete':
wp_delete_comment( $comment_id );
$deleted++;
++$deleted;
break;
}
}
@ -301,7 +301,13 @@ if ( isset( $_REQUEST['error'] ) ) {
break;
}
if ( $error_msg ) {
echo '<div id="moderated" class="error"><p>' . $error_msg . '</p></div>';
wp_admin_notice(
$error_msg,
array(
'id' => 'moderated',
'additional_classes' => array( 'error' ),
)
);
}
}
@ -411,9 +417,13 @@ if ( isset( $_REQUEST['approved'] )
}
}
printf(
'<div id="moderated" class="updated notice is-dismissible"><p>%s</p></div>',
implode( "<br />\n", $messages )
wp_admin_notice(
implode( "<br />\n", $messages ),
array(
'id' => 'moderated',
'additional_classes' => array( 'updated' ),
'dismissible' => true,
)
);
}
}

View File

@ -440,17 +440,43 @@ if ( isset( $post_new_file ) && current_user_can( $post_type_object->cap->create
<hr class="wp-header-end">
<?php if ( $notice ) : ?>
<div id="notice" class="notice notice-warning"><p id="has-newer-autosave"><?php echo $notice; ?></p></div>
<?php endif; ?>
<?php if ( $message ) : ?>
<div id="message" class="updated notice notice-success is-dismissible"><p><?php echo $message; ?></p></div>
<?php endif; ?>
<div id="lost-connection-notice" class="error hidden">
<p><span class="spinner"></span> <?php _e( '<strong>Connection lost.</strong> Saving has been disabled until you are reconnected.' ); ?>
<span class="hide-if-no-sessionstorage"><?php _e( 'This post is being backed up in your browser, just in case.' ); ?></span>
</p>
</div>
<?php
if ( $notice ) :
wp_admin_notice(
'<p id="has-newer-autosave">' . $notice . '</p>',
array(
'type' => 'warning',
'id' => 'notice',
'paragraph_wrap' => false,
)
);
endif;
if ( $message ) :
wp_admin_notice(
$message,
array(
'type' => 'success',
'dismissible' => true,
'id' => 'message',
'additional_classes' => array( 'updated' ),
)
);
endif;
$connection_lost_message = sprintf(
'<span class="spinner"></span> %1$s <span class="hide-if-no-sessionstorage">%2$s</span>',
__( '<strong>Connection lost.</strong> Saving has been disabled until you are reconnected.' ),
__( 'This post is being backed up in your browser, just in case.' )
);
wp_admin_notice(
$connection_lost_message,
array(
'id' => 'lost-connection-notice',
'additional_classes' => array( 'error', 'hidden' ),
)
);
?>
<form name="post" action="post.php" method="post" id="post"
<?php
/**

View File

@ -31,7 +31,7 @@ $current_screen->is_block_editor( true );
// Default to is-fullscreen-mode to avoid jumps in the UI.
add_filter(
'admin_body_class',
static function( $classes ) {
static function ( $classes ) {
return "$classes is-fullscreen-mode";
}
);
@ -319,27 +319,45 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<?php // JavaScript is disabled. ?>
<div class="wrap hide-if-js block-editor-no-js">
<h1 class="wp-heading-inline"><?php echo esc_html( $title ); ?></h1>
<div class="notice notice-error">
<p>
<?php
$message = sprintf(
/* translators: %s: A link to install the Classic Editor plugin. */
__( 'The block editor requires JavaScript. Please enable JavaScript in your browser settings, or try the <a href="%s">Classic Editor plugin</a>.' ),
esc_url( wp_nonce_url( self_admin_url( 'plugin-install.php?tab=favorites&user=wordpressdotorg&save=0' ), 'save_wporg_username_' . get_current_user_id() ) )
);
<?php
if ( file_exists( WP_PLUGIN_DIR . '/classic-editor/classic-editor.php' ) ) {
// If Classic Editor is already installed, provide a link to activate the plugin.
$installed = true;
$plugin_activate_url = wp_nonce_url( 'plugins.php?action=activate&amp;plugin=classic-editor/classic-editor.php', 'activate-plugin_classic-editor/classic-editor.php' );
$message = sprintf(
/* translators: %s: Link to activate the Classic Editor plugin. */
__( 'The block editor requires JavaScript. Please enable JavaScript in your browser settings, or activate the <a href="%s">Classic Editor plugin</a>.' ),
esc_url( $plugin_activate_url )
);
} else {
// If Classic Editor is not installed, provide a link to install it.
$installed = false;
$plugin_install_url = wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=classic-editor' ), 'install-plugin_classic-editor' );
$message = sprintf(
/* translators: %s: Link to install the Classic Editor plugin. */
__( 'The block editor requires JavaScript. Please enable JavaScript in your browser settings, or install the <a href="%s">Classic Editor plugin</a>.' ),
esc_url( $plugin_install_url )
);
}
/**
* Filters the message displayed in the block editor interface when JavaScript is
* not enabled in the browser.
*
* @since 5.0.3
*
* @param string $message The message being displayed.
* @param WP_Post $post The post being edited.
*/
echo apply_filters( 'block_editor_no_javascript_message', $message, $post );
?>
</p>
</div>
/**
* Filters the message displayed in the block editor interface when JavaScript is
* not enabled in the browser.
*
* @since 5.0.3
* @since 6.4.0 Added `$installed` parameter.
*
* @param string $message The message being displayed.
* @param WP_Post $post The post being edited.
* @param bool $installed Whether the classic editor is installed.
*/
$message = apply_filters( 'block_editor_no_javascript_message', $message, $post, $installed );
wp_admin_notice(
$message,
array(
'type' => 'error',
)
);
?>
</div>
</div>

View File

@ -87,13 +87,22 @@ echo esc_html( $title );
?>
</h1>
<a href="link-add.php" class="page-title-action"><?php echo esc_html_x( 'Add New', 'link' ); ?></a>
<a href="link-add.php" class="page-title-action"><?php echo esc_html__( 'Add New Link' ); ?></a>
<hr class="wp-header-end">
<?php if ( isset( $_GET['added'] ) ) : ?>
<div id="message" class="updated notice is-dismissible"><p><?php _e( 'Link added.' ); ?></p></div>
<?php endif; ?>
<?php
if ( isset( $_GET['added'] ) ) {
wp_admin_notice(
__( 'Link added.' ),
array(
'id' => 'message',
'additional_classes' => array( 'updated' ),
'dismissible' => true,
)
);
}
?>
<form name="<?php echo esc_attr( $form_name ); ?>" id="<?php echo esc_attr( $form_name ); ?>" method="post" action="link.php">
<?php

View File

@ -79,16 +79,18 @@ do_action( "{$taxonomy}_pre_edit_form", $tag, $taxonomy ); ?>
$class = ( isset( $msg ) && 5 === $msg ) ? 'error' : 'success';
if ( $message ) {
?>
<div id="message" class="notice notice-<?php echo $class; ?>">
<p><strong><?php echo $message; ?></strong></p>
<?php if ( $wp_http_referer ) { ?>
<p><a href="<?php echo esc_url( wp_validate_redirect( sanitize_url( $wp_http_referer ), admin_url( 'term.php?taxonomy=' . $taxonomy ) ) ); ?>">
<?php echo esc_html( $tax->labels->back_to_items ); ?>
</a></p>
<?php } ?>
</div>
<?php
$message = '<p><strong>' . $message . '</strong></p>';
if ( $wp_http_referer ) {
$message .= '<p><a href="' . esc_url( wp_validate_redirect( sanitize_url( $wp_http_referer ), admin_url( 'term.php?taxonomy=' . $taxonomy ) ) ) . '">' . esc_html( $tax->labels->back_to_items ) . '</a></p>';
}
wp_admin_notice(
$message,
array(
'type' => $class,
'id' => 'message',
'paragraph_wrap' => false,
)
);
}
?>

View File

@ -348,9 +348,16 @@ if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) {
<hr class="wp-header-end">
<?php if ( $message ) : ?>
<div id="message" class="<?php echo $class; ?> notice is-dismissible"><p><?php echo $message; ?></p></div>
<?php
<?php
if ( $message ) :
wp_admin_notice(
$message,
array(
'id' => 'message',
'additional_classes' => array( $class ),
'dismissible' => true,
)
);
$_SERVER['REQUEST_URI'] = remove_query_arg( array( 'message', 'error' ), $_SERVER['REQUEST_URI'] );
endif;
?>

View File

@ -124,7 +124,7 @@ if ( $doaction ) {
}
if ( wp_check_post_lock( $post_id ) ) {
$locked++;
++$locked;
continue;
}
@ -132,7 +132,7 @@ if ( $doaction ) {
wp_die( __( 'Error in moving the item to Trash.' ) );
}
$trashed++;
++$trashed;
}
$sendback = add_query_arg(
@ -160,7 +160,7 @@ if ( $doaction ) {
wp_die( __( 'Error in restoring the item from Trash.' ) );
}
$untrashed++;
++$untrashed;
}
$sendback = add_query_arg( 'untrashed', $untrashed, $sendback );
@ -185,7 +185,7 @@ if ( $doaction ) {
wp_die( __( 'Error in deleting the item.' ) );
}
}
$deleted++;
++$deleted;
}
$sendback = add_query_arg( 'deleted', $deleted, $sendback );
break;
@ -288,7 +288,11 @@ if ( 'post' === $post_type ) {
'title' => __( 'Bulk actions' ),
'content' =>
'<p>' . __( 'You can also edit or move multiple posts to the Trash at once. Select the posts you want to act on using the checkboxes, then select the action you want to take from the Bulk actions menu and click Apply.' ) . '</p>' .
'<p>' . __( 'When using Bulk Edit, you can change the metadata (categories, author, etc.) for all selected posts at once. To remove a post from the grouping, just click the x next to its name in the Bulk Edit area that appears.' ) . '</p>',
'<p>' . sprintf(
/* translators: %s: The dismiss dashicon used for buttons that dismiss or remove. */
__( 'When using Bulk Edit, you can change the metadata (categories, author, etc.) for all selected posts at once. To remove a post from the grouping, just click the %s<span class="screen-reader-text">remove</span> button next to its name in the Bulk Edit area that appears.' ),
'<span class="dashicons dashicons-dismiss" aria-hidden="true" style="font-size: 16px; width: 16px; vertical-align: middle;"></span>'
) . '</p>',
)
);
@ -377,17 +381,17 @@ $bulk_messages['page'] = array(
'untrashed' => _n( '%s page restored from the Trash.', '%s pages restored from the Trash.', $bulk_counts['untrashed'] ),
);
$bulk_messages['wp_block'] = array(
/* translators: %s: Number of blocks. */
'updated' => _n( '%s block updated.', '%s blocks updated.', $bulk_counts['updated'] ),
'locked' => ( 1 === $bulk_counts['locked'] ) ? __( '1 block not updated, somebody is editing it.' ) :
/* translators: %s: Number of blocks. */
_n( '%s block not updated, somebody is editing it.', '%s blocks not updated, somebody is editing them.', $bulk_counts['locked'] ),
/* translators: %s: Number of blocks. */
'deleted' => _n( '%s block permanently deleted.', '%s blocks permanently deleted.', $bulk_counts['deleted'] ),
/* translators: %s: Number of blocks. */
'trashed' => _n( '%s block moved to the Trash.', '%s blocks moved to the Trash.', $bulk_counts['trashed'] ),
/* translators: %s: Number of blocks. */
'untrashed' => _n( '%s block restored from the Trash.', '%s blocks restored from the Trash.', $bulk_counts['untrashed'] ),
/* translators: %s: Number of patterns. */
'updated' => _n( '%s pattern updated.', '%s patterns updated.', $bulk_counts['updated'] ),
'locked' => ( 1 === $bulk_counts['locked'] ) ? __( '1 pattern not updated, somebody is editing it.' ) :
/* translators: %s: Number of patterns. */
_n( '%s pattern not updated, somebody is editing it.', '%s patterns not updated, somebody is editing them.', $bulk_counts['locked'] ),
/* translators: %s: Number of patterns. */
'deleted' => _n( '%s pattern permanently deleted.', '%s patterns permanently deleted.', $bulk_counts['deleted'] ),
/* translators: %s: Number of patterns. */
'trashed' => _n( '%s pattern moved to the Trash.', '%s patterns moved to the Trash.', $bulk_counts['trashed'] ),
/* translators: %s: Number of patterns. */
'untrashed' => _n( '%s pattern restored from the Trash.', '%s patterns restored from the Trash.', $bulk_counts['untrashed'] ),
);
/**
@ -465,9 +469,13 @@ foreach ( $bulk_counts as $message => $count ) {
}
if ( $messages ) {
printf(
'<div id="message" class="updated notice is-dismissible"><p>%s</p></div>',
implode( ' ', $messages )
wp_admin_notice(
implode( ' ', $messages ),
array(
'id' => 'message',
'additional_classes' => array( 'updated' ),
'dismissible' => true,
)
);
}
unset( $messages );
@ -482,7 +490,7 @@ $_SERVER['REQUEST_URI'] = remove_query_arg( array( 'locked', 'skipped', 'updated
<?php $wp_list_table->search_box( $post_type_object->labels->search_items, 'post' ); ?>
<input type="hidden" name="post_status" class="post_status_page" value="<?php echo ! empty( $_REQUEST['post_status'] ) ? esc_attr( $_REQUEST['post_status'] ) : 'all'; ?>" />
<input type="hidden" name="post_type" class="post_type_page" value="<?php echo $post_type; ?>" />
<input type="hidden" name="post_type" class="post_type_page" value="<?php echo esc_attr( $post_type ); ?>" />
<?php if ( ! empty( $_REQUEST['author'] ) ) { ?>
<input type="hidden" name="author" value="<?php echo esc_attr( $_REQUEST['author'] ); ?>" />

View File

@ -34,7 +34,7 @@ get_current_screen()->add_help_tab(
'id' => 'default-data',
'title' => __( 'Default Data' ),
'content' =>
'<p>' . __( 'WordPress collects (but <em>never</em> publishes) a limited amount of data from logged-in users but then deletes it or anonymizes it. That data can include: ' ) . '</p>' .
'<p>' . __( 'WordPress collects (but <em>never</em> publishes) a limited amount of data from logged-in users but then deletes it or anonymizes it. That data can include:' ) . '</p>' .
'<p>' . __( '<strong>Profile Information</strong> &mdash; user email address, username, display name, nickname, first name, last name, description/bio, and registration date.' ) . '</p>' .
'<p>' . __( '<strong>Community Events Location</strong> &mdash; The IP Address of the user which is used for the Upcoming Community Events shown in the dashboard widget.' ) . '</p>' .
'<p>' . __( '<strong>Session Tokens</strong> &mdash; User login information, IP Addresses, Expiration Date, User Agent (Browser/OS), and Last Login.' ) . '</p>' .

View File

@ -160,7 +160,12 @@ function export_date_options( $post_type = 'post' ) {
}
$month = zeroise( $date->month, 2 );
echo '<option value="' . $date->year . '-' . $month . '">' . $wp_locale->get_month( $month ) . ' ' . $date->year . '</option>';
printf(
'<option value="%1$s">%2$s</option>',
esc_attr( $date->year . '-' . $month ),
$wp_locale->get_month( $month ) . ' ' . $date->year
);
}
}
?>

View File

@ -31,9 +31,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
</h1>
</div>
<div class="about__header-text">
<?php _e( 'WordPress is free and open source software' ); ?>
</div>
<div class="about__header-text"></div>
</div>
<nav class="about__header-navigation nav-tab-wrapper wp-clearfix" aria-label="<?php esc_attr_e( 'Secondary menu' ); ?>">
@ -58,22 +56,22 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<div class="about__section has-2-columns">
<div class="column aligncenter">
<img class="freedom-image" src="<?php echo esc_url( admin_url( 'images/freedom-1.svg?ver=6.3' ) ); ?>" alt="" />
<img class="freedom-image" src="<?php echo esc_url( admin_url( 'images/freedom-1.svg?ver=6.4' ) ); ?>" alt="" />
<h2 class="is-smaller-heading"><?php _e( 'The 1st Freedom' ); ?></h2>
<p><?php _e( 'To run the program for any purpose.' ); ?></p>
</div>
<div class="column aligncenter">
<img class="freedom-image" src="<?php echo esc_url( admin_url( 'images/freedom-2.svg?ver=6.3' ) ); ?>" alt="" />
<img class="freedom-image" src="<?php echo esc_url( admin_url( 'images/freedom-2.svg?ver=6.4' ) ); ?>" alt="" />
<h2 class="is-smaller-heading"><?php _e( 'The 2nd Freedom' ); ?></h2>
<p><?php _e( 'To study how the program works and change it to make it do what you wish.' ); ?></p>
</div>
<div class="column aligncenter">
<img class="freedom-image" src="<?php echo esc_url( admin_url( 'images/freedom-3.svg?ver=6.3' ) ); ?>" alt="" />
<img class="freedom-image" src="<?php echo esc_url( admin_url( 'images/freedom-3.svg?ver=6.4' ) ); ?>" alt="" />
<h2 class="is-smaller-heading"><?php _e( 'The 3rd Freedom' ); ?></h2>
<p><?php _e( 'To redistribute.' ); ?></p>
</div>
<div class="column aligncenter">
<img class="freedom-image" src="<?php echo esc_url( admin_url( 'images/freedom-4.svg?ver=6.3' ) ); ?>" alt="" />
<img class="freedom-image" src="<?php echo esc_url( admin_url( 'images/freedom-4.svg?ver=6.4' ) ); ?>" alt="" />
<h2 class="is-smaller-heading"><?php _e( 'The 4th Freedom' ); ?></h2>
<p><?php _e( 'To distribute copies of your modified versions to others.' ); ?></p>
</div>

View File

@ -1 +1,11 @@
<svg width="1000" height="400" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_1916_8299)"><path fill="#151515" d="M0 0h1000v400H0z"/><ellipse opacity=".2" cx="500" cy="463" rx="1497" ry="249" fill="url(#paint0_radial_1916_8299)"/><mask id="a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="1000" height="400"><path fill="url(#paint1_radial_1916_8299)" d="M0 0h1000v400H0z"/></mask><g mask="url(#a)" stroke-width="2"><path d="M155 0v1635" stroke="url(#paint2_linear_1916_8299)"/><path d="M327.5 0v1635" stroke="url(#paint3_linear_1916_8299)"/><path d="M500 0v1635" stroke="url(#paint4_linear_1916_8299)"/><path d="M672.5 0v1635" stroke="url(#paint5_linear_1916_8299)"/><path d="M845 0v1635" stroke="url(#paint6_linear_1916_8299)"/></g></g><defs><radialGradient id="paint0_radial_1916_8299" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0 249 -1497 0 500 463)"><stop stop-color="#3858E9"/><stop offset="1" stop-color="#151515" stop-opacity="0"/></radialGradient><radialGradient id="paint1_radial_1916_8299" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0 493 -1232.5 0 500 162)"><stop offset=".161" stop-color="#151515" stop-opacity="0"/><stop offset=".833"/></radialGradient><linearGradient id="paint2_linear_1916_8299" x1="155.5" x2="155.5" y2="1635" gradientUnits="userSpaceOnUse"><stop stop-color="#3858E9" stop-opacity="0"/><stop offset=".297" stop-color="#3858E9"/><stop offset=".734" stop-color="#3858E9"/><stop offset="1" stop-color="#3858E9" stop-opacity="0"/><stop offset="1" stop-color="#3858E9" stop-opacity="0"/></linearGradient><linearGradient id="paint3_linear_1916_8299" x1="328" x2="328" y2="1635" gradientUnits="userSpaceOnUse"><stop stop-color="#FFFCB5" stop-opacity="0"/><stop offset="0" stop-color="#FFFCB5" stop-opacity="0"/><stop offset=".297" stop-color="#FFFCB5"/><stop offset=".734" stop-color="#FFFCB5"/><stop offset="1" stop-color="#FFFCB5" stop-opacity="0"/></linearGradient><linearGradient id="paint4_linear_1916_8299" x1="500.5" x2="500.5" y2="1635" gradientUnits="userSpaceOnUse"><stop stop-color="#C7FFDB" stop-opacity="0"/><stop offset=".297" stop-color="#C7FFDB"/><stop offset=".693" stop-color="#C7FFDB"/><stop offset="1" stop-color="#C7FFDB" stop-opacity="0"/></linearGradient><linearGradient id="paint5_linear_1916_8299" x1="673" x2="673" y2="1635" gradientUnits="userSpaceOnUse"><stop stop-color="#FFB7A7" stop-opacity="0"/><stop offset=".297" stop-color="#FFB7A7"/><stop offset=".734" stop-color="#FFB7A7"/><stop offset="1" stop-color="#3858E9" stop-opacity="0"/><stop offset="1" stop-color="#FFB7A7" stop-opacity="0"/></linearGradient><linearGradient id="paint6_linear_1916_8299" x1="845.5" x2="845.5" y2="1635" gradientUnits="userSpaceOnUse"><stop stop-color="#7B90FF" stop-opacity="0"/><stop offset=".297" stop-color="#7B90FF"/><stop offset=".734" stop-color="#7B90FF"/><stop offset="1" stop-color="#3858E9" stop-opacity="0"/><stop offset="1" stop-color="#7B90FF" stop-opacity="0"/></linearGradient><clipPath id="clip0_1916_8299"><path fill="#fff" d="M0 0h1000v400H0z"/></clipPath></defs></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="346" height="300" fill="none" viewBox="0 0 346 300">
<path fill="#111" d="M200 200a100.006 100.006 0 0 1-61.732 92.388A100.006 100.006 0 0 1 100 300v-80a20.006 20.006 0 0 0 14.142-5.858A20.006 20.006 0 0 0 120 200h80Z"/>
<path fill="#CFCABE" d="M100 100a100.006 100.006 0 0 1 92.388 61.732A100.006 100.006 0 0 1 200 200h-80a20.006 20.006 0 0 0-5.858-14.142A20.006 20.006 0 0 0 100 180v-80Z"/>
<path fill="#D8613C" d="M100 300a100.01 100.01 0 0 1-70.71-29.289A100 100 0 0 1 0 200h80a20.005 20.005 0 0 0 12.346 18.478A20.002 20.002 0 0 0 100 220v80Z"/>
<path fill="#B1C5A4" fill-rule="evenodd" d="M170.4 0h-100L0 200h80c0-11.046 8.954-20 20-20 2.329 0 4.564.398 6.642 1.129L170.4 0Z" clip-rule="evenodd"/>
<path fill="#636363" d="M246 100h100v100H246z"/>
<path fill="#B6BDBC" d="M246 200h100v100H246z"/>
<path fill="#D8613C" d="M216.4 0h100L246 200H146L216.4 0Z"/>
<circle cx="179" cy="273" r="27" fill="#C2A990"/>
<path fill="#111" d="M180.621 259.886v10.683l7.486-7.485 1.617 1.635-7.522 7.522h10.684v2.308h-10.575l7.577 7.576-1.636 1.636-7.631-7.632v10.757h-2.307v-10.757l-7.668 7.668-1.635-1.617 7.631-7.631h-10.756v-2.308h10.847l-7.577-7.577 1.636-1.635 7.522 7.522v-10.665h2.307Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -0,0 +1,11 @@
<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="420" fill="none" viewBox="0 0 1000 420">
<g clip-path="url(#a)">
<rect width="1000" height="420" fill="#EAE9E7" rx="2"/>
<path fill="#fff" fill-opacity=".35" d="M303.711-552.516v702.368l492.135-492.135 106.31 107.505-494.524 494.524H1110v151.702H414.799l498.108 498.108-107.505 107.504-501.691-501.69v707.15H152.009V515.37l-504.08 504.08-107.506-106.311L42.115 411.448h-707.146V259.746H48.087L-450.02-238.361l107.506-107.506L152.01 148.657v-701.173h151.702Z"/>
</g>
<defs>
<clipPath id="a">
<rect width="1000" height="420" fill="#fff" rx="2"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 662 B

View File

@ -1 +1,11 @@
<svg width="1000" height="400" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_3974_29104)"><path fill="#151515" d="M0 0h1000v400H0z"/><ellipse opacity=".2" cx="500" cy="463" rx="1497" ry="249" fill="url(#paint0_radial_3974_29104)"/><g opacity=".3" stroke-width="2"><circle cx="100" cy="100" r="101" transform="matrix(-1 0 0 1 1100 55)" stroke="url(#paint1_linear_3974_29104)"/><circle cx="100" cy="100" r="101" transform="matrix(0 1 1 0 650 10)" stroke="url(#paint2_linear_3974_29104)"/><circle cx="100" cy="100" r="101" transform="matrix(0 1 1 0 150 190)" stroke="url(#paint3_linear_3974_29104)"/><circle opacity=".7" cx="100" cy="100" r="101" transform="matrix(0 1 1 0 400 100)" stroke="url(#paint4_linear_3974_29104)"/><circle cx="100" cy="100" r="101" transform="matrix(-1 0 0 1 100 145)" stroke="url(#paint5_linear_3974_29104)"/></g></g><defs><radialGradient id="paint0_radial_3974_29104" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0 249 -1497 0 500 463)"><stop stop-color="#3858E9"/><stop offset="1" stop-color="#151515" stop-opacity="0"/></radialGradient><linearGradient id="paint1_linear_3974_29104" x1="190" y1="215" x2="76" y2="47" gradientUnits="userSpaceOnUse"><stop stop-color="#3858E9"/><stop offset=".516" stop-color="#3858E9"/><stop offset="1" stop-color="#151515" stop-opacity="0"/></linearGradient><linearGradient id="paint2_linear_3974_29104" x1="-19" y1="173" x2="100" y2="200" gradientUnits="userSpaceOnUse"><stop stop-color="#FFFCB5"/><stop offset="1" stop-color="#151515" stop-opacity="0"/></linearGradient><linearGradient id="paint3_linear_3974_29104" x1="14" y1="160" x2="175" y2="24" gradientUnits="userSpaceOnUse"><stop stop-color="#151515" stop-opacity="0"/><stop offset=".776" stop-color="#FFB7A7"/><stop offset="1" stop-color="#FFB7A7"/></linearGradient><linearGradient id="paint4_linear_3974_29104" x1="100" x2="100" y2="200" gradientUnits="userSpaceOnUse"><stop stop-color="#C7FFDB"/><stop offset=".563" stop-color="#151515" stop-opacity="0"/></linearGradient><linearGradient id="paint5_linear_3974_29104" x1="100" x2="100" y2="200" gradientUnits="userSpaceOnUse"><stop stop-color="#7B90FF"/><stop offset="1" stop-color="#151515" stop-opacity="0"/></linearGradient><clipPath id="clip0_3974_29104"><path fill="#fff" d="M0 0h1000v400H0z"/></clipPath></defs></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="346" height="300" fill="none" viewBox="0 0 346 300">
<path fill="#D8613C" d="M200 200a100.006 100.006 0 0 1-61.732 92.388A100.006 100.006 0 0 1 100 300v-80a20.006 20.006 0 0 0 14.142-5.858A20.006 20.006 0 0 0 120 200h80Z"/>
<path fill="#C2A990" d="M100 100a100.006 100.006 0 0 1 92.388 61.732A100.006 100.006 0 0 1 200 200h-80a20.006 20.006 0 0 0-5.858-14.142A20.006 20.006 0 0 0 100 180v-80Z"/>
<path fill="#636363" d="M100 300a100.01 100.01 0 0 1-70.71-29.289A100 100 0 0 1 0 200h80a20.005 20.005 0 0 0 12.346 18.478A20.002 20.002 0 0 0 100 220v80Z"/>
<path fill="#B6BDBC" fill-rule="evenodd" d="M170.4 0h-100L0 200h80c0-11.046 8.954-20 20-20 2.329 0 4.564.398 6.642 1.129L170.4 0Z" clip-rule="evenodd"/>
<path fill="#D8613C" d="M246 100h100v100H246z"/>
<path fill="#B1C5A4" d="M246 200h100v100H246z"/>
<path fill="#111" d="M216.4 0h100L246 200H146L216.4 0Z"/>
<circle cx="179" cy="273" r="27" fill="#fff"/>
<path fill="#111" d="M180.621 259.886v10.683l7.486-7.485 1.617 1.635-7.522 7.522h10.684v2.308h-10.575l7.577 7.576-1.636 1.636-7.631-7.632v10.757h-2.307v-10.757l-7.668 7.668-1.635-1.617 7.631-7.631h-10.756v-2.308h10.847l-7.577-7.577 1.636-1.635 7.522 7.522v-10.665h2.307Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -1 +1,11 @@
<svg width="1000" height="400" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_1916_7547)"><path fill="#151515" d="M0 0h1000v400H0z"/><g opacity=".3" stroke-width="2"><circle cy="155" r="101" stroke="url(#paint0_linear_1916_7547)"/><circle cx="250" cy="110" r="101" transform="rotate(90 250 110)" stroke="url(#paint1_linear_1916_7547)"/><circle cx="750" cy="290" r="101" transform="rotate(90 750 290)" stroke="url(#paint2_linear_1916_7547)"/><circle opacity=".7" cx="500" cy="200" r="101" transform="rotate(90 500 200)" stroke="url(#paint3_linear_1916_7547)"/><circle cx="1000" cy="245" r="101" stroke="url(#paint4_linear_1916_7547)"/></g><ellipse opacity=".2" cx="500" cy="463" rx="1497" ry="249" fill="url(#paint5_radial_1916_7547)"/></g><defs><linearGradient id="paint0_linear_1916_7547" x1="90" y1="270" x2="-24" y2="102" gradientUnits="userSpaceOnUse"><stop stop-color="#3858E9"/><stop offset=".516" stop-color="#3858E9"/><stop offset="1" stop-color="#151515" stop-opacity="0"/></linearGradient><linearGradient id="paint1_linear_1916_7547" x1="131" y1="183" x2="250" y2="210" gradientUnits="userSpaceOnUse"><stop stop-color="#FFFCB5"/><stop offset="1" stop-color="#151515" stop-opacity="0"/></linearGradient><linearGradient id="paint2_linear_1916_7547" x1="664" y1="350" x2="825" y2="214" gradientUnits="userSpaceOnUse"><stop stop-color="#151515" stop-opacity="0"/><stop offset=".776" stop-color="#FFB7A7"/><stop offset="1" stop-color="#FFB7A7"/></linearGradient><linearGradient id="paint3_linear_1916_7547" x1="500" y1="100" x2="500" y2="300" gradientUnits="userSpaceOnUse"><stop stop-color="#C7FFDB"/><stop offset=".563" stop-color="#151515" stop-opacity="0"/></linearGradient><linearGradient id="paint4_linear_1916_7547" x1="1000" y1="145" x2="1000" y2="345" gradientUnits="userSpaceOnUse"><stop stop-color="#7B90FF"/><stop offset="1" stop-color="#151515" stop-opacity="0"/></linearGradient><radialGradient id="paint5_radial_1916_7547" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0 249 -1497 0 500 463)"><stop stop-color="#3858E9"/><stop offset="1" stop-color="#151515" stop-opacity="0"/></radialGradient><clipPath id="clip0_1916_7547"><path fill="#fff" d="M0 0h1000v400H0z"/></clipPath></defs></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="346" height="300" fill="none" viewBox="0 0 346 300">
<path fill="#C2A990" d="M200 200a100.006 100.006 0 0 1-61.732 92.388A100.006 100.006 0 0 1 100 300v-80a20.006 20.006 0 0 0 14.142-5.858A20.006 20.006 0 0 0 120 200h80Z"/>
<path fill="#B1C5A4" d="M100 100a100.006 100.006 0 0 1 92.388 61.732A100.006 100.006 0 0 1 200 200h-80a20.006 20.006 0 0 0-5.858-14.142A20.006 20.006 0 0 0 100 180v-80Z"/>
<path fill="#111" d="M100 300a100.01 100.01 0 0 1-70.71-29.289A100 100 0 0 1 0 200h80a20.005 20.005 0 0 0 12.346 18.478A20.002 20.002 0 0 0 100 220v80Z"/>
<path fill="#D8613C" fill-rule="evenodd" d="M170.4 0h-100L0 200h80c0-11.046 8.954-20 20-20 2.329 0 4.564.398 6.642 1.129L170.4 0Z" clip-rule="evenodd"/>
<path fill="#111" d="M246 100h100v100H246z"/>
<path fill="#B6BDBC" d="M246 200h100v100H246z"/>
<path fill="#CFCABE" d="M216.4 0h100L246 200H146L216.4 0Z"/>
<circle cx="179" cy="273" r="27" fill="#fff"/>
<path fill="#111" d="M180.621 259.886v10.683l7.486-7.485 1.617 1.635-7.522 7.522h10.684v2.308h-10.575l7.577 7.576-1.636 1.636-7.631-7.632v10.757h-2.307v-10.757l-7.668 7.668-1.635-1.617 7.631-7.631h-10.756v-2.308h10.847l-7.577-7.577 1.635-1.635 7.523 7.522v-10.665h2.307Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -1 +1,11 @@
<svg width="1000" height="400" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_1916_6764)"><path fill="#151515" d="M0 0h1000v400H0z"/><ellipse opacity=".2" cx="500" cy="463" rx="1497" ry="249" fill="url(#paint0_radial_1916_6764)"/><path opacity=".4" d="M301 449h1v-95.447c0-4.441 0-7.834-.221-10.543-.223-2.73-.676-4.852-1.632-6.728a16.998 16.998 0 0 0-7.429-7.429c-1.876-.956-3.998-1.409-6.728-1.632-2.709-.221-6.102-.221-10.543-.221H160.154c-3.321 0-5.875 0-7.917.167-2.063.168-3.691.512-5.139 1.25a12.997 12.997 0 0 0-5.681 5.681c-.738 1.448-1.082 3.076-1.25 5.139-.167 2.042-.167 4.596-.167 7.917V449h161z" stroke="url(#paint1_linear_1916_6764)" stroke-width="2"/><path opacity=".4" d="M493 449h1v-95.447c0-4.441 0-7.834-.221-10.543-.223-2.73-.676-4.852-1.632-6.728a16.998 16.998 0 0 0-7.429-7.429c-1.876-.956-3.998-1.409-6.728-1.632-2.709-.221-6.102-.221-10.543-.221H352.154c-3.321 0-5.875 0-7.917.167-2.063.168-3.691.512-5.139 1.25a12.997 12.997 0 0 0-5.681 5.681c-.738 1.448-1.082 3.076-1.25 5.139-.167 2.042-.167 4.596-.167 7.917V449h161z" stroke="url(#paint2_linear_1916_6764)" stroke-width="2"/><path opacity=".4" d="M685 449h1v-95.447c0-4.441 0-7.834-.221-10.543-.223-2.73-.676-4.852-1.632-6.728a16.998 16.998 0 0 0-7.429-7.429c-1.876-.956-3.998-1.409-6.728-1.632-2.709-.221-6.102-.221-10.543-.221H544.154c-3.321 0-5.875 0-7.917.167-2.063.168-3.691.512-5.139 1.25a12.997 12.997 0 0 0-5.681 5.681c-.738 1.448-1.082 3.076-1.25 5.139-.167 2.042-.167 4.596-.167 7.917V449h161z" stroke="url(#paint3_linear_1916_6764)" stroke-width="2"/><path opacity=".4" d="M877 449h1v-95.447c0-4.441 0-7.834-.221-10.543-.223-2.73-.676-4.852-1.632-6.728a16.998 16.998 0 0 0-7.429-7.429c-1.876-.956-3.998-1.409-6.728-1.632-2.709-.221-6.102-.221-10.543-.221H736.154c-3.321 0-5.875 0-7.917.167-2.063.168-3.691.512-5.139 1.25a12.997 12.997 0 0 0-5.681 5.681c-.738 1.448-1.082 3.076-1.25 5.139-.167 2.042-.167 4.596-.167 7.917V449h161z" stroke="url(#paint4_linear_1916_6764)" stroke-width="2"/></g><defs><radialGradient id="paint0_radial_1916_6764" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0 249 -1497 0 500 463)"><stop stop-color="#3858E9"/><stop offset="1" stop-color="#151515" stop-opacity="0"/></radialGradient><linearGradient id="paint1_linear_1916_6764" x1="221" y1="328" x2="221" y2="448" gradientUnits="userSpaceOnUse"><stop stop-color="#3858E9"/><stop offset="1" stop-color="#151515" stop-opacity="0"/></linearGradient><linearGradient id="paint2_linear_1916_6764" x1="413" y1="328" x2="413" y2="448" gradientUnits="userSpaceOnUse"><stop stop-color="#FFFCB5"/><stop offset="1" stop-color="#151515" stop-opacity="0"/></linearGradient><linearGradient id="paint3_linear_1916_6764" x1="605" y1="328" x2="605" y2="448" gradientUnits="userSpaceOnUse"><stop stop-color="#C7FFDB"/><stop offset="1" stop-color="#151515" stop-opacity="0"/></linearGradient><linearGradient id="paint4_linear_1916_6764" x1="797" y1="328" x2="797" y2="448" gradientUnits="userSpaceOnUse"><stop stop-color="#FFB7A7"/><stop offset="1" stop-color="#151515" stop-opacity="0"/></linearGradient><clipPath id="clip0_1916_6764"><path fill="#fff" d="M0 0h1000v400H0z"/></clipPath></defs></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="346" height="300" fill="none" viewBox="0 0 346 300">
<path fill="#B6BDBC" d="M200 200a100.006 100.006 0 0 1-61.732 92.388A100.006 100.006 0 0 1 100 300v-80a20.006 20.006 0 0 0 14.142-5.858A20.006 20.006 0 0 0 120 200h80Z"/>
<path fill="#D8613C" d="M100 100a100.006 100.006 0 0 1 92.388 61.732A100.006 100.006 0 0 1 200 200h-80a20.006 20.006 0 0 0-5.858-14.142A20.006 20.006 0 0 0 100 180v-80Z"/>
<path fill="#C2A990" d="M100 300a100.01 100.01 0 0 1-70.71-29.289A100 100 0 0 1 0 200h80a20.005 20.005 0 0 0 12.346 18.478A20.002 20.002 0 0 0 100 220v80Z"/>
<path fill="#111" fill-rule="evenodd" d="M170.4 0h-100L0 200h80c0-11.046 8.954-20 20-20 2.329 0 4.564.398 6.642 1.129L170.4 0Z" clip-rule="evenodd"/>
<path fill="#CFCABE" d="M246 100h100v100H246z"/>
<path fill="#D8613C" d="M246 200h100v100H246z"/>
<path fill="#B1C5A4" d="M216.4 0h100L246 200H146L216.4 0Z"/>
<circle cx="179" cy="273" r="27" fill="#F9F9F9"/>
<path fill="#111" d="M180.621 259.886v10.683l7.486-7.485 1.617 1.635-7.522 7.522h10.684v2.308h-10.575l7.577 7.576-1.636 1.636-7.631-7.632v10.757h-2.307v-10.757l-7.668 7.668-1.635-1.617 7.631-7.631h-10.756v-2.308h10.847l-7.577-7.577 1.635-1.635 7.523 7.522v-10.665h2.307Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -1 +1,11 @@
<svg width="1000" height="400" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_1916_7203)"><path fill="#151515" d="M0 0h1000v400H0z"/><ellipse opacity=".2" cx="500" cy="463" rx="1497" ry="249" fill="url(#paint0_radial_1916_7203)"/><path opacity=".4" d="M1138 449h1v-85.046c0-11.162 0-19.596-.55-26.307-.55-6.732-1.66-11.818-3.92-16.261a40.976 40.976 0 0 0-17.92-17.917c-4.44-2.264-9.52-3.371-16.26-3.921-6.71-.548-15.14-.548-26.3-.548H801.953c-11.161 0-19.596 0-26.306.548-6.732.55-11.818 1.657-16.261 3.921a41.006 41.006 0 0 0-17.917 17.917c-2.264 4.443-3.371 9.529-3.921 16.261-.548 6.71-.548 15.145-.548 26.306V449h401z" stroke="url(#paint1_linear_1916_7203)" stroke-width="2"/><path opacity=".4" d="M1058 291a119.98 119.98 0 0 0-35.15-84.853A119.987 119.987 0 0 0 938 171a120.003 120.003 0 0 0-120 120" stroke="url(#paint2_linear_1916_7203)" stroke-width="3"/></g><defs><radialGradient id="paint0_radial_1916_7203" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0 249 -1497 0 500 463)"><stop stop-color="#3858E9"/><stop offset="1" stop-color="#151515" stop-opacity="0"/></radialGradient><linearGradient id="paint1_linear_1916_7203" x1="938" y1="300" x2="938" y2="448" gradientUnits="userSpaceOnUse"><stop stop-color="#C7FFDB"/><stop offset="1" stop-color="#151515" stop-opacity="0"/></linearGradient><linearGradient id="paint2_linear_1916_7203" x1="938" y1="171" x2="938" y2="291" gradientUnits="userSpaceOnUse"><stop stop-color="#3858E9"/><stop offset=".563" stop-color="#3858E9" stop-opacity="0"/></linearGradient><clipPath id="clip0_1916_7203"><path fill="#fff" d="M0 0h1000v400H0z"/></clipPath></defs></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="346" height="300" fill="none" viewBox="0 0 346 300">
<path fill="#636363" d="M200 200a100.006 100.006 0 0 1-61.732 92.388A100.006 100.006 0 0 1 100 300v-80a20.006 20.006 0 0 0 14.142-5.858A20.006 20.006 0 0 0 120 200h80Z"/>
<path fill="#111" d="M100 100a100.006 100.006 0 0 1 92.388 61.732A100.006 100.006 0 0 1 200 200h-80a20.006 20.006 0 0 0-5.858-14.142A20.006 20.006 0 0 0 100 180v-80Z"/>
<path fill="#D8613C" d="M100 300a100.01 100.01 0 0 1-70.71-29.289A100 100 0 0 1 0 200h80a20.005 20.005 0 0 0 12.346 18.478A20.002 20.002 0 0 0 100 220v80Z"/>
<path fill="#C2A990" fill-rule="evenodd" d="M170.4 0h-100L0 200h80c0-11.046 8.954-20 20-20 2.329 0 4.564.398 6.642 1.129L170.4 0Z" clip-rule="evenodd"/>
<path fill="#B1C5A4" d="M246 100h100v100H246z"/>
<path fill="#111" d="M246 200h100v100H246z"/>
<path fill="#B6BDBC" d="M216.4 0h100L246 200H146L216.4 0Z"/>
<circle cx="179" cy="273" r="27" fill="#F9F9F9"/>
<path fill="#111" d="M180.621 259.886v10.683l7.486-7.485 1.617 1.635-7.522 7.522h10.684v2.308h-10.575l7.577 7.576-1.636 1.636-7.631-7.632v10.757h-2.307v-10.757l-7.668 7.668-1.635-1.617 7.631-7.631h-10.756v-2.308h10.847l-7.577-7.577 1.636-1.635 7.522 7.522v-10.665h2.307Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -1 +1,12 @@
<svg width="280" height="280" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_2238_13933)"><rect width="280" height="280" rx="5" fill="#151515"/><ellipse opacity=".2" cx="140" cy="323" rx="928" ry="154" fill="url(#paint0_radial_2238_13933)"/><g clip-path="url(#clip1_2238_13933)" stroke-width="1.5"><path d="M53 135v1635" stroke="url(#paint1_linear_2238_13933)"/><path d="M111 135v1635" stroke="url(#paint2_linear_2238_13933)"/><path d="M169 135v1635" stroke="url(#paint3_linear_2238_13933)"/><path d="M227 135v1635" stroke="url(#paint4_linear_2238_13933)"/></g><path d="M99.984 177.221c-15.576 0-28.466-10.889-28.466-35.596v-.098c0-23.291 10.79-37.207 28.759-37.207 13.037 0 22.754 7.52 25 18.164l.098.537h-12.5l-.195-.439c-1.856-4.834-6.201-7.959-12.5-7.959-11.328 0-16.065 10.84-16.553 24.17-.049.732-.049 1.465-.049 2.246h.244c2.784-6.445 9.815-11.328 19.385-11.328 13.574 0 23.096 9.766 23.096 22.998v.098c0 14.209-11.133 24.414-26.319 24.414zm-14.257-24.219c0 7.812 6.2 13.916 14.062 13.916 7.861 0 14.111-6.055 14.111-13.672v-.098c0-8.007-5.908-13.72-13.965-13.72-8.056 0-14.208 5.664-14.208 13.525v.049zm54.494 23.779c-3.955 0-7.08-3.125-7.08-7.08 0-3.906 3.125-7.031 7.08-7.031s7.031 3.125 7.031 7.031c0 3.955-3.076 7.08-7.031 7.08zm39.357.44c-15.478 0-25.537-8.301-26.514-20.117l-.048-.586h12.06l.049.537c.684 5.713 6.152 9.863 14.404 9.863 8.155 0 13.575-4.492 13.575-10.889v-.097c0-7.422-5.469-11.524-14.454-11.524h-8.349v-9.375h8.056c7.764 0 12.94-4.394 12.94-10.547v-.097c0-6.348-4.297-10.059-11.865-10.059-7.422 0-12.5 3.858-13.135 9.912l-.049.488h-11.719l.049-.585c1.026-11.915 10.645-19.825 24.854-19.825 14.55 0 23.974 7.471 23.974 18.409v.097c0 8.74-6.347 14.551-14.795 16.309v.244c10.401.976 17.285 7.129 17.285 16.894v.098c0 12.256-10.742 20.85-26.318 20.85z" fill="#fff"/></g><defs><radialGradient id="paint0_radial_2238_13933" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="matrix(0 154 -928 0 140 323)"><stop stop-color="#3858E9"/><stop offset="1" stop-color="#151515" stop-opacity="0"/></radialGradient><linearGradient id="paint1_linear_2238_13933" x1="53.5" y1="135" x2="53.5" y2="1770" gradientUnits="userSpaceOnUse"><stop stop-color="#3858E9" stop-opacity="0"/><stop offset=".297" stop-color="#3858E9"/><stop offset=".734" stop-color="#3858E9"/><stop offset="1" stop-color="#3858E9" stop-opacity="0"/><stop offset="1" stop-color="#3858E9" stop-opacity="0"/></linearGradient><linearGradient id="paint2_linear_2238_13933" x1="111.5" y1="135" x2="111.5" y2="1770" gradientUnits="userSpaceOnUse"><stop stop-color="#C7FFDB" stop-opacity="0"/><stop offset=".297" stop-color="#C7FFDB"/><stop offset=".693" stop-color="#C7FFDB"/><stop offset="1" stop-color="#C7FFDB" stop-opacity="0"/></linearGradient><linearGradient id="paint3_linear_2238_13933" x1="169.5" y1="135" x2="169.5" y2="1770" gradientUnits="userSpaceOnUse"><stop stop-color="#FFB7A7" stop-opacity="0"/><stop offset=".297" stop-color="#FFB7A7"/><stop offset=".734" stop-color="#FFB7A7"/><stop offset="1" stop-color="#3858E9" stop-opacity="0"/><stop offset="1" stop-color="#FFB7A7" stop-opacity="0"/></linearGradient><linearGradient id="paint4_linear_2238_13933" x1="227.5" y1="135" x2="227.5" y2="1770" gradientUnits="userSpaceOnUse"><stop stop-color="#7B90FF" stop-opacity="0"/><stop offset=".297" stop-color="#7B90FF"/><stop offset=".734" stop-color="#7B90FF"/><stop offset="1" stop-color="#3858E9" stop-opacity="0"/><stop offset="1" stop-color="#7B90FF" stop-opacity="0"/></linearGradient><clipPath id="clip0_2238_13933"><rect width="280" height="280" rx="5" fill="#fff"/></clipPath><clipPath id="clip1_2238_13933"><path fill="#fff" transform="translate(0 135)" d="M0 0h280v280H0z"/></clipPath></defs></svg>
<svg width="280" height="280" viewBox="0 0 280 280" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="280" height="280" rx="2" fill="#EAE9E7"/>
<path d="M150.492 165.607C150.492 172.201 149.194 178.731 146.67 184.823C144.147 190.915 140.448 196.451 135.785 201.114C131.122 205.776 125.587 209.475 119.495 211.999C113.402 214.522 106.873 215.821 100.279 215.821L100.279 175.65C101.598 175.65 102.903 175.39 104.122 174.885C105.34 174.381 106.447 173.641 107.38 172.708C108.313 171.776 109.052 170.669 109.557 169.45C110.062 168.232 110.321 166.926 110.321 165.607H150.492Z" fill="#111111"/>
<path d="M100.279 115.393C106.873 115.393 113.402 116.692 119.495 119.216C125.587 121.739 131.122 125.438 135.785 130.101C140.448 134.763 144.147 140.299 146.67 146.391C149.194 152.483 150.492 159.013 150.492 165.607L110.321 165.607C110.321 164.288 110.062 162.982 109.557 161.764C109.052 160.545 108.313 159.438 107.38 158.506C106.447 157.573 105.34 156.833 104.122 156.329C102.903 155.824 101.598 155.564 100.279 155.564V115.393Z" fill="#CFCABE"/>
<path d="M100.279 215.821C93.6845 215.821 87.1549 214.522 81.0627 211.999C74.9705 209.475 69.4349 205.776 64.7722 201.114C60.1094 196.451 56.4107 190.915 53.8872 184.823C51.3637 178.731 50.0649 172.201 50.0649 165.607L90.2359 165.607C90.2359 166.926 90.4957 168.232 91.0004 169.45C91.5051 170.669 92.2448 171.776 93.1774 172.708C94.1099 173.641 95.217 174.381 96.4355 174.885C97.6539 175.39 98.9599 175.65 100.279 175.65L100.279 215.821Z" fill="#D8613C"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M135.629 65.1797H85.4154L50.0649 165.607H90.2359C90.2359 165.607 90.2359 165.607 90.2359 165.607C90.2359 160.061 94.7322 155.564 100.279 155.564C101.448 155.564 102.571 155.764 103.614 156.131L135.629 65.1797Z" fill="#B1C5A4"/>
<rect x="173.59" y="115.393" width="50.2137" height="50.2138" fill="#636363"/>
<rect x="173.59" y="165.608" width="50.2137" height="50.2138" fill="#B6BDBC"/>
<path d="M158.727 65.1796H208.941L173.591 165.607H123.377L158.727 65.1796Z" fill="#D8613C"/>
<ellipse cx="139.948" cy="202.263" rx="13.5577" ry="13.5577" fill="#C2A990"/>
<path d="M140.762 195.678V201.043L144.521 197.284L145.333 198.105L141.556 201.883H146.92V203.041H141.61L145.415 206.846L144.594 207.667L140.762 203.835V209.236H139.603V203.835L135.753 207.685L134.932 206.873L138.764 203.041H133.363V201.883H138.809L135.005 198.078L135.826 197.257L139.603 201.034V195.678H140.762Z" fill="#111111"/>
</svg>

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 933 B

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 12 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -1 +1,12 @@
<svg width="320" height="320" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_1916_5672)" fill="#fff" stroke="#151515" stroke-width="1.2" stroke-miterlimit="10"><path d="M256.686.936H63.314C28.862.936.936 28.862.936 63.314V160c0 87.847 71.217 159.064 159.064 159.064S319.064 247.847 319.064 160V63.314c0-34.452-27.926-62.378-62.378-62.378z"/><path d="M231.735 139.259c19.378 0 35.088-15.709 35.088-35.087 0-19.379-15.71-35.088-35.088-35.088s-35.088 15.71-35.088 35.088 15.71 35.087 35.088 35.087z"/><path d="M221.131 149.864c19.378 0 35.087-15.71 35.087-35.088 0-19.379-15.709-35.088-35.087-35.088-19.379 0-35.088 15.71-35.088 35.088s15.709 35.088 35.088 35.088z"/><path d="M210.526 160.468c19.379 0 35.088-15.71 35.088-35.088s-15.709-35.088-35.088-35.088c-19.378 0-35.087 15.71-35.087 35.088s15.709 35.088 35.087 35.088z"/><path d="M199.922 171.072c19.378 0 35.088-15.709 35.088-35.088 0-19.378-15.71-35.087-35.088-35.087s-35.088 15.709-35.088 35.087c0 19.379 15.71 35.088 35.088 35.088z"/><path d="M189.318 181.676c19.378 0 35.087-15.709 35.087-35.087 0-19.379-15.709-35.088-35.087-35.088-19.379 0-35.088 15.709-35.088 35.088 0 19.378 15.709 35.087 35.088 35.087z"/><path d="M178.713 192.281c19.379 0 35.088-15.71 35.088-35.088s-15.709-35.088-35.088-35.088c-19.378 0-35.087 15.71-35.087 35.088s15.709 35.088 35.087 35.088z"/><path d="M168.109 202.885c19.379 0 35.088-15.709 35.088-35.088 0-19.378-15.709-35.087-35.088-35.087-19.378 0-35.088 15.709-35.088 35.087 0 19.379 15.71 35.088 35.088 35.088z"/><path d="M157.505 213.489c19.378 0 35.088-15.709 35.088-35.087 0-19.379-15.71-35.088-35.088-35.088-19.379 0-35.088 15.709-35.088 35.088 0 19.378 15.709 35.087 35.088 35.087z"/><path d="M146.901 224.094c19.378 0 35.087-15.71 35.087-35.088 0-19.379-15.709-35.088-35.087-35.088-19.379 0-35.088 15.709-35.088 35.088 0 19.378 15.709 35.088 35.088 35.088z"/><path d="M136.296 234.698c19.379 0 35.088-15.709 35.088-35.088 0-19.378-15.709-35.088-35.088-35.088-19.378 0-35.087 15.71-35.087 35.088 0 19.379 15.709 35.088 35.087 35.088z"/><path d="M136.296 234.698c19.379 0 35.088-15.709 35.088-35.088 0-19.378-15.709-35.088-35.088-35.088-19.378 0-35.087 15.71-35.087 35.088 0 19.379 15.709 35.088 35.087 35.088z"/><path d="M126.191 224.593c19.378 0 35.088-15.71 35.088-35.088 0-19.379-15.71-35.088-35.088-35.088s-35.088 15.709-35.088 35.088c0 19.378 15.71 35.088 35.088 35.088z"/><path d="M116.086 214.487c19.378 0 35.087-15.709 35.087-35.087 0-19.379-15.709-35.088-35.087-35.088-19.379 0-35.088 15.709-35.088 35.088 0 19.378 15.71 35.087 35.088 35.087z"/><path d="M105.98 204.382c19.379 0 35.088-15.709 35.088-35.088 0-19.378-15.709-35.087-35.088-35.087-19.378 0-35.087 15.709-35.087 35.087 0 19.379 15.71 35.088 35.087 35.088z"/><path d="M95.875 194.277c19.379 0 35.088-15.71 35.088-35.088s-15.709-35.088-35.088-35.088c-19.378 0-35.087 15.71-35.087 35.088s15.709 35.088 35.087 35.088z"/><path d="M85.77 184.172c19.378 0 35.088-15.71 35.088-35.088 0-19.379-15.71-35.088-35.088-35.088s-35.088 15.709-35.088 35.088c0 19.378 15.71 35.088 35.088 35.088z"/></g><defs><clipPath id="clip0_1916_5672"><path fill="#fff" d="M0 0h320v320H0z"/></clipPath></defs></svg>
<svg width="280" height="280" viewBox="0 0 280 280" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_941_5637)">
<path d="M140 0C167.689 0.000396886 194.757 8.21138 217.779 23.5947C240.802 38.978 258.746 60.8427 269.343 86.424C276.379 103.41 280 121.615 280 140H168C168 132.574 165.05 125.452 159.799 120.201C154.548 114.95 147.426 112 140 112V0Z" fill="#CFCABE"/>
<path d="M140 280C112.31 280.001 85.2425 271.79 62.2195 256.406C39.1966 241.023 21.2526 219.157 10.657 193.575C3.62121 176.59 -5.08291e-05 158.385 5.35094e-10 140H112C112 147.426 114.95 154.548 120.201 159.799C125.452 165.05 132.574 168 140 168V280Z" fill="#D8613C"/>
<path d="M168 140C168 155.464 155.464 168 140 168C124.536 168 112 155.464 112 140C112 124.536 124.536 112 140 112C155.464 112 168 124.536 168 140Z" fill="white"/>
</g>
<defs>
<clipPath id="clip0_941_5637">
<rect width="280" height="280" fill="white"/>
</clipPath>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 936 B

View File

@ -60,16 +60,21 @@ $parent_file = 'tools.php';
<div class="wrap">
<h1><?php echo esc_html( $title ); ?></h1>
<?php if ( ! empty( $_GET['invalid'] ) ) : ?>
<div class="error">
<p><strong><?php _e( 'Error:' ); ?></strong>
<?php
/* translators: %s: Importer slug. */
printf( __( 'The %s importer is invalid or is not installed.' ), '<strong>' . esc_html( $_GET['invalid'] ) . '</strong>' );
?>
</p>
</div>
<?php endif; ?>
<?php
if ( ! empty( $_GET['invalid'] ) ) :
$importer_not_installed = '<strong>' . __( 'Error:' ) . '</strong> ' . sprintf(
/* translators: %s: Importer slug. */
__( 'The %s importer is invalid or is not installed.' ),
'<strong>' . esc_html( $_GET['invalid'] ) . '</strong>'
);
wp_admin_notice(
$importer_not_installed,
array(
'additional_classes' => array( 'error' ),
)
);
endif;
?>
<p><?php _e( 'If you have posts or comments in another system, WordPress can import those into this site. To get started, choose a system to import from below:' ); ?></p>
<?php

View File

@ -60,7 +60,8 @@ if ( ! is_customize_preview() ) {
add_action( 'admin_print_scripts', 'print_emoji_detection_script' );
add_action( 'admin_print_scripts', 'print_head_scripts', 20 );
add_action( 'admin_print_footer_scripts', '_wp_footer_scripts' );
add_action( 'admin_print_styles', 'print_emoji_styles' );
add_action( 'admin_enqueue_scripts', 'wp_enqueue_emoji_styles' );
add_action( 'admin_print_styles', 'print_emoji_styles' ); // Retained for backwards-compatibility. Unhooked by wp_enqueue_emoji_styles().
add_action( 'admin_print_styles', 'print_admin_styles', 20 );
add_action( 'admin_print_scripts-index.php', 'wp_localize_community_events' );
@ -168,3 +169,6 @@ add_action( 'post_updated', array( 'WP_Privacy_Policy_Content', '_policy_page_up
// Append '(Draft)' to draft page titles in the privacy page dropdown.
add_filter( 'list_pages', '_wp_privacy_settings_filter_draft_page_titles', 10, 2 );
// Font management.
add_action( 'admin_print_styles', 'wp_print_font_faces', 50 );

View File

@ -2149,7 +2149,7 @@ function wp_ajax_inline_save() {
while ( $parent > 0 ) {
$parent_post = get_post( $parent );
$parent = $parent_post->post_parent;
$level++;
++$level;
}
}
@ -2211,7 +2211,7 @@ function wp_ajax_inline_save_tax() {
while ( $parent > 0 ) {
$parent_tag = get_term( $parent, $taxonomy );
$parent = $parent_tag->parent;
$level++;
++$level;
}
$wp_list_table->single_row( $tag, $level );
@ -2821,7 +2821,7 @@ function wp_ajax_set_attachment_thumbnail() {
}
if ( set_post_thumbnail( $post_id, $thumbnail_id ) ) {
$success++;
++$success;
}
}
@ -3882,13 +3882,29 @@ function wp_ajax_parse_media_shortcode() {
$shortcode = wp_unslash( $_POST['shortcode'] );
// Only process previews for media related shortcodes:
$found_shortcodes = get_shortcode_tags_in_content( $shortcode );
$media_shortcodes = array(
'audio',
'embed',
'playlist',
'video',
'gallery',
);
$other_shortcodes = array_diff( $found_shortcodes, $media_shortcodes );
if ( ! empty( $other_shortcodes ) ) {
wp_send_json_error();
}
if ( ! empty( $_POST['post_ID'] ) ) {
$post = get_post( (int) $_POST['post_ID'] );
}
// The embed shortcode requires a post.
if ( ! $post || ! current_user_can( 'edit_post', $post->ID ) ) {
if ( 'embed' === $shortcode ) {
if ( in_array( 'embed', $found_shortcodes, true ) ) {
wp_send_json_error();
}
} else {
@ -4939,8 +4955,8 @@ function wp_ajax_wp_privacy_export_personal_data() {
* Array of personal data exporters.
*
* @type callable $callback Callable exporter function that accepts an
* email address and a page and returns an array
* of name => value pairs of personal data.
* email address and a page number and returns an
* array of name => value pairs of personal data.
* @type string $exporter_friendly_name Translated user facing friendly name for the
* exporter.
* }
@ -5051,10 +5067,10 @@ function wp_ajax_wp_privacy_export_personal_data() {
*
* @since 4.9.6
*
* @param array $response The personal data for the given exporter and page.
* @param array $response The personal data for the given exporter and page number.
* @param int $exporter_index The index of the exporter that provided this data.
* @param string $email_address The email address associated with this personal data.
* @param int $page The page for this response.
* @param int $page The page number for this response.
* @param int $request_id The privacy request post ID associated with this request.
* @param bool $send_as_email Whether the final results of the export should be emailed to the user.
* @param string $exporter_key The key (slug) of the exporter that provided this data.
@ -5128,8 +5144,8 @@ function wp_ajax_wp_privacy_erase_personal_data() {
* @type array ...$0 {
* Array of personal data exporters.
*
* @type callable $callback Callable eraser that accepts an email address and
* a page and returns an array with boolean values for
* @type callable $callback Callable eraser that accepts an email address and a page
* number, and returns an array with boolean values for
* whether items were removed or retained and any messages
* from the eraser, as well as if additional pages are
* available.
@ -5281,10 +5297,17 @@ function wp_ajax_wp_privacy_erase_personal_data() {
*
* @since 4.9.6
*
* @param array $response The personal data for the given exporter and page.
* @param array $response {
* The personal data for the given exporter and page number.
*
* @type bool $items_removed Whether items were actually removed or not.
* @type bool $items_retained Whether items were retained or not.
* @type string[] $messages An array of messages to add to the personal data export file.
* @type bool $done Whether the eraser is finished or not.
* }
* @param int $eraser_index The index of the eraser that provided this data.
* @param string $email_address The email address associated with this personal data.
* @param int $page The page for this response.
* @param int $page The page number for this response.
* @param int $request_id The privacy request post ID associated with this request.
* @param string $eraser_key The key (slug) of the eraser that provided this data.
*/

View File

@ -143,10 +143,16 @@ class Bulk_Upgrader_Skin extends WP_Upgrader_Skin {
echo '</p></div>';
if ( $this->error || ! $this->result ) {
if ( $this->error ) {
echo '<div class="error"><p>' . sprintf( $this->upgrader->strings['skin_update_failed_error'], $title, '<strong>' . $this->error . '</strong>' ) . '</p></div>';
$after_error_message = sprintf( $this->upgrader->strings['skin_update_failed_error'], $title, '<strong>' . $this->error . '</strong>' );
} else {
echo '<div class="error"><p>' . sprintf( $this->upgrader->strings['skin_update_failed'], $title ) . '</p></div>';
$after_error_message = sprintf( $this->upgrader->strings['skin_update_failed'], $title );
}
wp_admin_notice(
$after_error_message,
array(
'additional_classes' => array( 'error' ),
)
);
echo '<script type="text/javascript">jQuery(\'#progress-' . esc_js( $this->upgrader->update_current ) . '\').show();</script>';
}

View File

@ -239,30 +239,37 @@ class Custom_Background {
<div class="wrap" id="custom-background">
<h1><?php _e( 'Custom Background' ); ?></h1>
<?php if ( current_user_can( 'customize' ) ) { ?>
<div class="notice notice-info hide-if-no-customize">
<p>
<?php
printf(
<?php
if ( current_user_can( 'customize' ) ) {
$message = sprintf(
/* translators: %s: URL to background image configuration in Customizer. */
__( 'You can now manage and live-preview Custom Backgrounds in the <a href="%s">Customizer</a>.' ),
admin_url( 'customize.php?autofocus[control]=background_image' )
);
?>
</p>
</div>
<?php } ?>
wp_admin_notice(
$message,
array(
'type' => 'info',
'additional_classes' => array( 'hide-if-no-customize' ),
)
);
}
<?php if ( ! empty( $this->updated ) ) { ?>
<div id="message" class="updated">
<p>
<?php
/* translators: %s: Home URL. */
printf( __( 'Background updated. <a href="%s">Visit your site</a> to see how it looks.' ), esc_url( home_url( '/' ) ) );
?>
</p>
</div>
<?php } ?>
if ( ! empty( $this->updated ) ) {
$updated_message = sprintf(
/* translators: %s: Home URL. */
__( 'Background updated. <a href="%s">Visit your site</a> to see how it looks.' ),
esc_url( home_url( '/' ) )
);
wp_admin_notice(
$updated_message,
array(
'id' => 'message',
'additional_classes' => array( 'updated' ),
)
);
}
?>
<h2><?php _e( 'Background Image' ); ?></h2>
@ -564,8 +571,9 @@ class Custom_Background {
$thumbnail = wp_get_attachment_image_src( $id, 'thumbnail' );
set_theme_mod( 'background_image_thumb', sanitize_url( $thumbnail[0] ) );
/** This action is documented in wp-admin/includes/class-custom-image-header.php */
do_action( 'wp_create_file_in_uploads', $file, $id ); // For replication.
/** This filter is documented in wp-admin/includes/class-custom-image-header.php */
$file = apply_filters( 'wp_create_file_in_uploads', $file, $id ); // For replication.
$this->updated = true;
}

View File

@ -509,30 +509,37 @@ class Custom_Image_Header {
<div class="wrap">
<h1><?php _e( 'Custom Header' ); ?></h1>
<?php if ( current_user_can( 'customize' ) ) { ?>
<div class="notice notice-info hide-if-no-customize">
<p>
<?php
printf(
<?php
if ( current_user_can( 'customize' ) ) {
$message = sprintf(
/* translators: %s: URL to header image configuration in Customizer. */
__( 'You can now manage and live-preview Custom Header in the <a href="%s">Customizer</a>.' ),
admin_url( 'customize.php?autofocus[control]=header_image' )
);
?>
</p>
</div>
<?php } ?>
wp_admin_notice(
$message,
array(
'type' => 'info',
'additional_classes' => array( 'hide-if-no-customize' ),
)
);
}
<?php if ( ! empty( $this->updated ) ) { ?>
<div id="message" class="updated">
<p>
<?php
/* translators: %s: Home URL. */
printf( __( 'Header updated. <a href="%s">Visit your site</a> to see how it looks.' ), esc_url( home_url( '/' ) ) );
?>
</p>
</div>
<?php } ?>
if ( ! empty( $this->updated ) ) {
$updated_message = sprintf(
/* translators: %s: Home URL. */
__( 'Header updated. <a href="%s">Visit your site</a> to see how it looks.' ),
esc_url( home_url( '/' ) )
);
wp_admin_notice(
$updated_message,
array(
'id' => 'message',
'additional_classes' => array( 'updated' ),
)
);
}
?>
<h2><?php _e( 'Header Image' ); ?></h2>
@ -875,14 +882,16 @@ endif;
$this->set_header_image( compact( 'url', 'attachment_id', 'width', 'height' ) );
/**
* Fires after the header image is set or an error is returned.
* Filters the attachment file path after the custom header or background image is set.
*
* Used for file replication.
*
* @since 2.1.0
*
* @param string $file Path to the file.
* @param int $attachment_id Attachment ID.
*/
do_action( 'wp_create_file_in_uploads', $file, $attachment_id ); // For replication.
$file = apply_filters( 'wp_create_file_in_uploads', $file, $attachment_id ); // For replication.
return $this->finished();
} elseif ( $width > $max_width ) {

View File

@ -153,7 +153,7 @@ class Language_Pack_Upgrader extends WP_Upgrader {
*
* @global WP_Filesystem_Base $wp_filesystem WordPress filesystem subclass.
*
* @param object[] $language_updates Optional. Array of language packs to update. @see wp_get_translation_updates().
* @param object[] $language_updates Optional. Array of language packs to update. See {@see wp_get_translation_updates()}.
* Default empty array.
* @param array $args {
* Other arguments for upgrading multiple language packs. Default empty array.
@ -238,7 +238,7 @@ class Language_Pack_Upgrader extends WP_Upgrader {
$destination .= '/themes';
}
$this->update_current++;
++$this->update_current;
$options = array(
'package' => $language_update->package,

View File

@ -274,6 +274,8 @@ class Plugin_Upgrader extends WP_Upgrader {
* @since 2.8.0
* @since 3.7.0 The `$args` parameter was added, making clearing the plugin update cache optional.
*
* @global string $wp_version The WordPress version string.
*
* @param string[] $plugins Array of paths to plugin files relative to the plugins directory.
* @param array $args {
* Optional. Other arguments for upgrading several plugins at once.
@ -283,6 +285,8 @@ class Plugin_Upgrader extends WP_Upgrader {
* @return array|false An array of results indexed by plugin file, or false if unable to connect to the filesystem.
*/
public function bulk_upgrade( $plugins, $args = array() ) {
global $wp_version;
$defaults = array(
'clear_update_cache' => true,
);
@ -326,7 +330,7 @@ class Plugin_Upgrader extends WP_Upgrader {
$this->update_count = count( $plugins );
$this->update_current = 0;
foreach ( $plugins as $plugin ) {
$this->update_current++;
++$this->update_current;
$this->skin->plugin_info = get_plugin_data( WP_PLUGIN_DIR . '/' . $plugin, false, true );
if ( ! isset( $current->response[ $plugin ] ) ) {
@ -343,23 +347,55 @@ class Plugin_Upgrader extends WP_Upgrader {
$this->skin->plugin_active = is_plugin_active( $plugin );
$result = $this->run(
array(
'package' => $r->package,
'destination' => WP_PLUGIN_DIR,
'clear_destination' => true,
'clear_working' => true,
'is_multi' => true,
'hook_extra' => array(
'plugin' => $plugin,
'temp_backup' => array(
'slug' => dirname( $plugin ),
'src' => WP_PLUGIN_DIR,
'dir' => 'plugins',
if ( isset( $r->requires ) && ! is_wp_version_compatible( $r->requires ) ) {
$result = new WP_Error(
'incompatible_wp_required_version',
sprintf(
/* translators: 1: Current WordPress version, 2: WordPress version required by the new plugin version. */
__( 'Your WordPress version is %1$s, however the new plugin version requires %2$s.' ),
$wp_version,
$r->requires
)
);
$this->skin->before( $result );
$this->skin->error( $result );
$this->skin->after();
} elseif ( isset( $r->requires_php ) && ! is_php_version_compatible( $r->requires_php ) ) {
$result = new WP_Error(
'incompatible_php_required_version',
sprintf(
/* translators: 1: Current PHP version, 2: PHP version required by the new plugin version. */
__( 'The PHP version on your server is %1$s, however the new plugin version requires %2$s.' ),
PHP_VERSION,
$r->requires_php
)
);
$this->skin->before( $result );
$this->skin->error( $result );
$this->skin->after();
} else {
add_filter( 'upgrader_source_selection', array( $this, 'check_package' ) );
$result = $this->run(
array(
'package' => $r->package,
'destination' => WP_PLUGIN_DIR,
'clear_destination' => true,
'clear_working' => true,
'is_multi' => true,
'hook_extra' => array(
'plugin' => $plugin,
'temp_backup' => array(
'slug' => dirname( $plugin ),
'src' => WP_PLUGIN_DIR,
'dir' => 'plugins',
),
),
),
)
);
)
);
remove_filter( 'upgrader_source_selection', array( $this, 'check_package' ) );
}
$results[ $plugin ] = $result;

View File

@ -426,7 +426,7 @@ class Theme_Upgrader extends WP_Upgrader {
$this->update_count = count( $themes );
$this->update_current = 0;
foreach ( $themes as $theme ) {
$this->update_current++;
++$this->update_current;
$this->skin->theme_info = $this->theme_info( $theme );
@ -768,5 +768,4 @@ class Theme_Upgrader extends WP_Upgrader {
return $theme;
}
}

View File

@ -32,7 +32,7 @@ class Walker_Category_Checklist extends Walker {
*
* @param string $output Used to append additional content (passed by reference).
* @param int $depth Depth of category. Used for tab indentation.
* @param array $args An array of arguments. @see wp_terms_checklist()
* @param array $args An array of arguments. See {@see wp_terms_checklist()}.
*/
public function start_lvl( &$output, $depth = 0, $args = array() ) {
$indent = str_repeat( "\t", $depth );
@ -48,7 +48,7 @@ class Walker_Category_Checklist extends Walker {
*
* @param string $output Used to append additional content (passed by reference).
* @param int $depth Depth of category. Used for tab indentation.
* @param array $args An array of arguments. @see wp_terms_checklist()
* @param array $args An array of arguments. See {@see wp_terms_checklist()}.
*/
public function end_lvl( &$output, $depth = 0, $args = array() ) {
$indent = str_repeat( "\t", $depth );
@ -67,7 +67,7 @@ class Walker_Category_Checklist extends Walker {
* @param string $output Used to append additional content (passed by reference).
* @param WP_Term $data_object The current term object.
* @param int $depth Depth of the term in reference to parents. Default 0.
* @param array $args An array of arguments. @see wp_terms_checklist()
* @param array $args An array of arguments. See {@see wp_terms_checklist()}.
* @param int $current_object_id Optional. ID of the current term. Default 0.
*/
public function start_el( &$output, $data_object, $depth = 0, $args = array(), $current_object_id = 0 ) {
@ -130,7 +130,7 @@ class Walker_Category_Checklist extends Walker {
* @param string $output Used to append additional content (passed by reference).
* @param WP_Term $data_object The current term object.
* @param int $depth Depth of the term in reference to parents. Default 0.
* @param array $args An array of arguments. @see wp_terms_checklist()
* @param array $args An array of arguments. See {@see wp_terms_checklist()}.
*/
public function end_el( &$output, $data_object, $depth = 0, $args = array() ) {
$output .= "</li>\n";

View File

@ -123,5 +123,4 @@ class Walker_Nav_Menu_Checklist extends Walker_Nav_Menu {
$output .= '<input type="hidden" class="menu-item-classes" name="menu-item[' . $possible_object_id . '][menu-item-classes]" value="' . esc_attr( implode( ' ', $menu_item->classes ) ) . '" />';
$output .= '<input type="hidden" class="menu-item-xfn" name="menu-item[' . $possible_object_id . '][menu-item-xfn]" value="' . esc_attr( $menu_item->xfn ) . '" />';
}
}

Some files were not shown because too many files have changed in this diff Show More