Skip to content

Commit

Permalink
Recompile WordPress
Browse files Browse the repository at this point in the history
  • Loading branch information
deployment_bot committed Feb 19, 2024
1 parent f778628 commit 7a1a304
Show file tree
Hide file tree
Showing 14 changed files with 51 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,21 @@ window.setPostThumbnailL10n = window.setPostThumbnailL10n || {

window.setPostThumbnailL10n = deprecateL10nObject( 'setPostThumbnailL10n', window.setPostThumbnailL10n, '5.5.0' );

/**
* Removed in 6.5.0, needed for back-compatibility.
*
* @since 4.5.0
* @deprecated 6.5.0
*/
window.uiAutocompleteL10n = window.uiAutocompleteL10n || {
noResults: '',
oneResult: '',
manyResults: '',
itemSelected: ''
};

window.uiAutocompleteL10n = deprecateL10nObject( 'uiAutocompleteL10n', window.uiAutocompleteL10n, '6.5.0' );

/**
* Removed in 3.3.0, needed for back-compatibility.
*
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@
* @output wp-admin/js/tags-suggest.js
*/
( function( $ ) {
if ( typeof window.uiAutocompleteL10n === 'undefined' ) {
return;
}

var tempID = 0;
var separator = wp.i18n._x( ',', 'tag delimiter' ) || ',';
var __ = wp.i18n.__,
_n = wp.i18n._n,
sprintf = wp.i18n.sprintf;

function split( val ) {
return val.split( new RegExp( separator + '\\s*' ) );
Expand Down Expand Up @@ -139,13 +138,17 @@
collision: 'none'
},
messages: {
noResults: window.uiAutocompleteL10n.noResults,
noResults: __( 'No results found.' ),
results: function( number ) {
if ( number > 1 ) {
return window.uiAutocompleteL10n.manyResults.replace( '%d', number );
}

return window.uiAutocompleteL10n.oneResult;
return sprintf(
/* translators: %d: Number of search results found. */
_n(
'%d result found. Use up and down arrow keys to navigate.',
'%d results found. Use up and down arrow keys to navigate.',
number
),
number
);
}
}
}, options );
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 @@ -98,6 +98,9 @@
var urlRegex2 = /^https?:\/\/[^\/]+\.[^\/]+($|\/)/i;
var speak = ( typeof window.wp !== 'undefined' && window.wp.a11y && window.wp.a11y.speak ) ? window.wp.a11y.speak : function() {};
var hasLinkError = false;
var __ = window.wp.i18n.__;
var _n = window.wp.i18n._n;
var sprintf = window.wp.i18n.sprintf;

function getSelectedLink() {
var href, html,
Expand Down Expand Up @@ -457,15 +460,17 @@
my: 'left top+2'
},
messages: {
noResults: ( typeof window.uiAutocompleteL10n !== 'undefined' ) ? window.uiAutocompleteL10n.noResults : '',
noResults: __( 'No results found.' ) ,
results: function( number ) {
if ( typeof window.uiAutocompleteL10n !== 'undefined' ) {
if ( number > 1 ) {
return window.uiAutocompleteL10n.manyResults.replace( '%d', number );
}

return window.uiAutocompleteL10n.oneResult;
}
return sprintf(
/* translators: %d: Number of search results found. */
_n(
'%d result found. Use up and down arrow keys to navigate.',
'%d results found. Use up and down arrow keys to navigate.',
number
),
number
);
}
}
} ).autocomplete( 'instance' )._renderItem = function( ul, item ) {
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -24,42 +24,42 @@ export function getWordPressModuleDetails(wpVersion: string = "6.4"): { size: nu
case 'nightly':
/** @ts-ignore */
return {
size: 5126006,
size: 5125945,
url: url_nightly,
};

case 'beta':
/** @ts-ignore */
return {
size: 5121891,
size: 5121889,
url: url_beta,
};

case '6.4':
/** @ts-ignore */
return {
size: 5015117,
size: 5015120,
url: url_6_4,
};

case '6.3':
/** @ts-ignore */
return {
size: 3760137,
size: 3760135,
url: url_6_3,
};

case '6.2':
/** @ts-ignore */
return {
size: 3654402,
size: 3654390,
url: url_6_2,
};

case '6.1':
/** @ts-ignore */
return {
size: 3533950,
size: 3533945,
url: url_6_1,
};

Expand Down
Binary file modified packages/playground/wordpress/src/wordpress/wp-6.1.zip
Binary file not shown.
Binary file modified packages/playground/wordpress/src/wordpress/wp-6.2.zip
Binary file not shown.
Binary file modified packages/playground/wordpress/src/wordpress/wp-6.3.zip
Binary file not shown.
Binary file modified packages/playground/wordpress/src/wordpress/wp-6.4.zip
Binary file not shown.
Binary file modified packages/playground/wordpress/src/wordpress/wp-beta.zip
Binary file not shown.
Binary file modified packages/playground/wordpress/src/wordpress/wp-nightly.zip
Binary file not shown.

0 comments on commit 7a1a304

Please sign in to comment.