Skip to content

Commit bfb3fc6

Browse files
author
deployment_bot
committed
Refresh WordPress Nightly
1 parent 4726892 commit bfb3fc6

File tree

6 files changed

+23
-6
lines changed

6 files changed

+23
-6
lines changed
Binary file not shown.

packages/playground/wordpress-builds/public/wp-nightly/wp-content/debug.log

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[30-Jul-2025 08:05:19 UTC] WordPress database error <div style="clear:both">&nbsp;</div>
1+
[31-Jul-2025 08:06:00 UTC] WordPress database error <div style="clear:both">&nbsp;</div>
22
<div class="queries" style="clear:both;margin-bottom:2px;border:red dotted thin;">
33
<p>MySQL query:</p>
44
<p>SELECT option_value FROM wp_options WHERE option_name = 'active_plugins' LIMIT 1</p>
@@ -13,7 +13,7 @@
1313
SQLSTATE[HY000]: General error: 1 no such table: wp_options
1414
</div>
1515
<p>Backtrace:</p>
16-
<pre>#0 /internal/shared/sqlite-database-integration/wp-includes/sqlite-ast/class-wp-sqlite-driver.php(739): WP_SQLite_Driver->new_driver_exception('SQLSTATE[HY000]...', 'HY000', Object(PDOException))
16+
<pre>#0 /internal/shared/sqlite-database-integration/wp-includes/sqlite-ast/class-wp-sqlite-driver.php(719): WP_SQLite_Driver->new_driver_exception('SQLSTATE[HY000]...', 'HY000', Object(PDOException))
1717
#1 /internal/shared/sqlite-database-integration/wp-includes/sqlite/class-wp-sqlite-db.php(537): WP_SQLite_Driver->query('SELECT option_v...')
1818
#2 /internal/shared/sqlite-database-integration/wp-includes/sqlite/class-wp-sqlite-db.php(449): WP_SQLite_DB->_do_query('SELECT option_v...')
1919
#3 /wordpress/wp-includes/class-wpdb.php(3075): WP_SQLite_DB->query('SELECT option_v...')

packages/playground/wordpress-builds/public/wp-nightly/wp-includes/js/customize-preview.js

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -635,11 +635,28 @@
635635
/**
636636
* Preview changes to custom css.
637637
*
638-
* @param {string} value Custom CSS..
638+
* @param {string} value Custom CSS.
639639
* @return {void}
640640
*/
641641
custom_css: function( value ) {
642-
$( '#wp-custom-css' ).text( value );
642+
var style;
643+
if ( api.settings.theme.isBlockTheme ) {
644+
style = $( 'style#global-styles-inline-css' );
645+
646+
// Forbid milestone comments from appearing in Custom CSS which would break live preview.
647+
value = value.replace( /\/\*(BEGIN|END)_CUSTOMIZER_CUSTOM_CSS\*\//g, '' );
648+
649+
var textContent = style.text().replace(
650+
/(\/\*BEGIN_CUSTOMIZER_CUSTOM_CSS\*\/)((?:.|\s)*?)(\/\*END_CUSTOMIZER_CUSTOM_CSS\*\/)/,
651+
function ( match, beforeComment, oldValue, afterComment ) {
652+
return beforeComment + '\n' + value + '\n' + afterComment;
653+
}
654+
);
655+
style.text( textContent );
656+
} else {
657+
style = $( 'style#wp-custom-css' );
658+
style.text( value );
659+
}
643660
},
644661

645662
/**

packages/playground/wordpress-builds/public/wp-nightly/wp-includes/js/customize-preview.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/playground/wordpress-builds/src/wordpress/get-wordpress-module-details.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function getWordPressModuleDetails(wpVersion: string = "6.8"): { size: nu
2828
case 'nightly':
2929
/** @ts-ignore */
3030
return {
31-
size: 24735862,
31+
size: 24736387,
3232
url: url_nightly,
3333
};
3434

Binary file not shown.

0 commit comments

Comments
 (0)