Skip to content

Commit

Permalink
Recompile WordPress major and beta versions
Browse files Browse the repository at this point in the history
  • Loading branch information
deployment_bot committed Mar 28, 2024
1 parent 0b38914 commit 97af37c
Show file tree
Hide file tree
Showing 24 changed files with 123 additions and 43 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,10 @@
display: none !important;
}

.about__container code {
font-size: inherit;
}

.about__section {
font-size: 1.125rem;
line-height: 1.55;
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,10 @@
display: none !important;
}

.about__container code {
font-size: inherit;
}

.about__section {
font-size: 1.125rem;
line-height: 1.55;
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
=== Twenty Twenty-Four ===
Contributors: wordpressdotorg
Requires at least: 6.4
Tested up to: 6.4
Tested up to: 6.5
Requires PHP: 7.0
Stable tag: 1.0
Stable tag: 1.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -13,6 +13,11 @@ Twenty Twenty-Four is designed to be flexible, versatile and applicable to any w

== Changelog ==

= 1.1 =
* Released: April 2, 2024

https://wordpress.org/documentation/article/twenty-twenty-four-changelog/#Version_1.1

= 1.0 =
* Released: November 7, 2023

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Four is designed to be flexible, versatile and applicable to any website. Its collection of templates and patterns tailor to different needs, such as presenting a business, blogging and writing or showcasing work. A multitude of possibilities open up with just a few adjustments to color and typography. Twenty Twenty-Four comes with style variations and full page designs to help speed up the site building process, is fully compatible with the site editor, and takes advantage of new design tools introduced in WordPress 6.4.
Requires at least: 6.4
Tested up to: 6.4
Tested up to: 6.5
Requires PHP: 7.0
Version: 1.0
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfour
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
=== Twenty Twenty-Three ===
Contributors: wordpressdotorg
Requires at least: 6.1
Tested up to: 6.4
Tested up to: 6.5
Requires PHP: 5.6
Stable tag: 1.3
Stable tag: 1.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -15,6 +15,11 @@ Whether you want to build a complex or incredibly simple website, you can do it

== Changelog ==

= 1.4 =
* Released: April 2, 2024

https://wordpress.org/documentation/article/twenty-twenty-three-changelog/#Version_1.4

= 1.3 =
* Released: November 7, 2023

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Three is designed to take advantage of the new design tools introduced in WordPress 6.1. With a clean, blank base as a starting point, this default theme includes ten diverse style variations created by members of the WordPress community. Whether you want to build a complex or incredibly simple website, you can do it quickly and intuitively through the bundled styles or dive into creation and full customization yourself.
Requires at least: 6.1
Tested up to: 6.4
Tested up to: 6.5
Requires PHP: 5.6
Version: 1.3
Version: 1.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: twentytwentythree
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
=== Twenty Twenty-Two ===
Contributors: wordpressdotorg
Requires at least: 5.9
Tested up to: 6.4
Tested up to: 6.5
Requires PHP: 5.6
Stable tag: 1.6
Stable tag: 1.7
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -17,6 +17,11 @@ Whether you’re building a single-page website, a blog, a business website, or

== Changelog ==

= 1.7 =
* Released: April 2, 2024

https://wordpress.org/documentation/article/twenty-twenty-two-changelog/#Version_1.7

= 1.6 =
* Released: November 7, 2023

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ Author: the WordPress team
Author URI: https://wordpress.org/
Description: Built on a solidly designed foundation, Twenty Twenty-Two embraces the idea that everyone deserves a truly unique website. The theme’s subtle styles are inspired by the diversity and versatility of birds: its typography is lightweight yet strong, its color palette is drawn from nature, and its layout elements sit gently on the page. The true richness of Twenty Twenty-Two lies in its opportunity for customization. The theme is built to take advantage of the Site Editor features introduced in WordPress 5.9, which means that colors, typography, and the layout of every single page on your site can be customized to suit your vision. It also includes dozens of block patterns, opening the door to a wide range of professionally designed layouts in just a few clicks. Whether you’re building a single-page website, a blog, a business website, or a portfolio, Twenty Twenty-Two will help you create a site that is uniquely yours.
Requires at least: 5.9
Tested up to: 6.4
Tested up to: 6.5
Requires PHP: 5.6
Version: 1.6
Version: 1.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentytwo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,20 @@ const {
} = (0,interactivity_namespaceObject.getContext)();
if (type === 'submenu' &&
// Only open on hover if the overlay is closed.
Object.values(overlayOpenedBy || {}).filter(Boolean).length === 0) actions.openMenu('hover');
Object.values(overlayOpenedBy || {}).filter(Boolean).length === 0) {
actions.openMenu('hover');
}
},
closeMenuOnHover() {
actions.closeMenu('hover');
const {
type,
overlayOpenedBy
} = (0,interactivity_namespaceObject.getContext)();
if (type === 'submenu' &&
// Only close on hover if the overlay is closed.
Object.values(overlayOpenedBy || {}).filter(Boolean).length === 0) {
actions.closeMenu('hover');
}
},
openMenuOnClick() {
const ctx = (0,interactivity_namespaceObject.getContext)();
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -2819,7 +2819,7 @@
.media-frame .wp-filter .media-toolbar-secondary {
position: unset;
}

.media-frame .media-toolbar-secondary .spinner {
position: absolute;
top: 0;
Expand All @@ -2829,13 +2829,13 @@
left: 0;
z-index: 9;
}

.media-bg-overlay {
content: '';
background: #ffffff;
width: 100%;
height: 100%;
display: hidden;
display: none;
position: absolute;
right: 0;
left: 0;
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2818,7 +2818,7 @@
.media-frame .wp-filter .media-toolbar-secondary {
position: unset;
}

.media-frame .media-toolbar-secondary .spinner {
position: absolute;
top: 0;
Expand All @@ -2828,13 +2828,13 @@
right: 0;
z-index: 9;
}

.media-bg-overlay {
content: '';
background: #ffffff;
width: 100%;
height: 100%;
display: hidden;
display: none;
position: absolute;
left: 0;
right: 0;
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -49267,7 +49267,7 @@ const BlockSwitcher = ({
invalidBlocks: true
};
}
const rootClientId = getBlockRootClientId(clientIds);
const rootClientId = getBlockRootClientId(Array.isArray(clientIds) ? clientIds[0] : clientIds);
const [{
name: firstBlockName
}] = _blocks;
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -26792,8 +26792,26 @@ function makeFontFacesFormData(font) {
}
}
async function batchInstallFontFaces(fontFamilyId, fontFacesData) {
const promises = fontFacesData.map(faceData => fetchInstallFontFace(fontFamilyId, faceData));
const responses = await Promise.allSettled(promises);
const responses = [];

/*
* Uses the same response format as Promise.allSettled, but executes requests in sequence to work
* around a race condition that can cause an error when the fonts directory doesn't exist yet.
*/
for (const faceData of fontFacesData) {
try {
const response = await fetchInstallFontFace(fontFamilyId, faceData);
responses.push({
status: 'fulfilled',
value: response
});
} catch (error) {
responses.push({
status: 'rejected',
reason: error
});
}
}
const results = {
errors: [],
successes: []
Expand Down Expand Up @@ -27021,12 +27039,23 @@ function FontLibraryProvider({
// Library Fonts
const [modalTabOpen, setModalTabOpen] = (0,external_wp_element_namespaceObject.useState)(false);
const [libraryFontSelected, setLibraryFontSelected] = (0,external_wp_element_namespaceObject.useState)(null);
const baseThemeFonts = baseFontFamilies?.theme ? baseFontFamilies.theme.map(f => setUIValuesNeeded(f, {
source: 'theme'
})).sort((a, b) => a.name.localeCompare(b.name)) : [];

// Themes Fonts are the fonts defined in the global styles (database persisted theme.json data).
const themeFonts = fontFamilies?.theme ? fontFamilies.theme.map(f => setUIValuesNeeded(f, {
source: 'theme'
})).sort((a, b) => a.name.localeCompare(b.name)) : [];
const themeFontsSlugs = new Set(themeFonts.map(f => f.slug));

/*
* Base Theme Fonts are the fonts defined in the theme.json *file*.
*
* Uses the fonts from global styles + the ones from the theme.json file that hasn't repeated slugs.
* Avoids incosistencies with the fonts listed in the font library modal as base (unactivated).
* These inconsistencies can happen when the active theme fonts in global styles aren't defined in theme.json file as when a theme style variation is applied.
*/
const baseThemeFonts = baseFontFamilies?.theme ? themeFonts.concat(baseFontFamilies.theme.filter(f => !themeFontsSlugs.has(f.slug)).map(f => setUIValuesNeeded(f, {
source: 'theme'
})).sort((a, b) => a.name.localeCompare(b.name))) : [];
const customFonts = fontFamilies?.custom ? fontFamilies.custom.map(f => setUIValuesNeeded(f, {
source: 'custom'
})).sort((a, b) => a.name.localeCompare(b.name)) : [];
Expand All @@ -27046,7 +27075,7 @@ function FontLibraryProvider({
setLibraryFontSelected(null);
return;
}
const fonts = font.source === 'theme' ? baseThemeFonts : baseCustomFonts;
const fonts = font.source === 'theme' ? themeFonts : baseCustomFonts;

// Tries to find the font in the installed fonts
const fontSelected = fonts.find(f => f.slug === font.slug);
Expand Down Expand Up @@ -27127,8 +27156,10 @@ function FontLibraryProvider({
// Use the sucessfully installed font faces
// As well as any font faces that were already installed (those will be activated)
if (sucessfullyInstalledFontFaces?.length > 0 || alreadyInstalledFontFaces?.length > 0) {
fontFamilyToInstall.fontFace = [...sucessfullyInstalledFontFaces, ...alreadyInstalledFontFaces];
fontFamiliesToActivate.push(fontFamilyToInstall);
// Use font data from REST API not from client to ensure
// correct font information is used.
installedFontFamily.fontFace = [...sucessfullyInstalledFontFaces];
fontFamiliesToActivate.push(installedFontFamily);
}

// If it's a system font but was installed successfully, activate it.
Expand Down Expand Up @@ -27200,14 +27231,30 @@ function FontLibraryProvider({
}
};
const activateCustomFontFamilies = fontsToAdd => {
// Merge the existing custom fonts with the new fonts.
// Removes the id from the families and faces to avoid saving that to global styles post content.
const fontsToActivate = fontsToAdd.map(({
id: _familyDbId,
fontFace,
...font
}) => ({
...font,
...(fontFace && fontFace.length > 0 ? {
fontFace: fontFace.map(({
id: _faceDbId,
...face
}) => face)
} : {})
}));

// Activate the fonts by set the new custom fonts array.
setFontFamilies({
...fontFamilies,
custom: mergeFontFamilies(fontFamilies?.custom, fontsToAdd)
// Merge the existing custom fonts with the new fonts.
custom: mergeFontFamilies(fontFamilies?.custom, fontsToActivate)
});

// Add custom fonts to the browser.
fontsToAdd.forEach(font => {
fontsToActivate.forEach(font => {
if (font.fontFace) {
font.fontFace.forEach(face => {
// Load font faces just in the iframe because they already are in the document.
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
"text": true
},
"shadow": {
"defaultPresets": false,
"defaultPresets": true,
"presets": [
{
"name": "Natural",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function getWordPressModuleDetails(wpVersion: string = "6.4"): { size: nu
case 'beta':
/** @ts-ignore */
return {
size: 5127291,
size: 5127315,
url: url_beta,
};

Expand Down
Binary file modified packages/playground/wordpress/src/wordpress/wp-beta.zip
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"nightly": "nightly",
"beta": "6.5-RC3",
"beta": "6.5-RC4",
"6.4": "6.4.3",
"6.3": "6.3.3",
"6.2": "6.2.4",
Expand Down

0 comments on commit 97af37c

Please sign in to comment.