Commit 380cbade authored by alain's avatar alain 🐙
Browse files

wp updates

parent 6ac5df99
......@@ -39,6 +39,62 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
</nav>
</div>
<div class="about__section changelog">
<div class="column">
<h2><?php _e( 'Maintenance and Security Releases' ); ?></h2>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: Plural number of bugs. More than one security issue. */
_n(
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
1
),
'5.9.2',
number_format_i18n( 1 )
);
?>
<?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( '5.9.2' )
)
);
?>
</p>
<p>
<?php
printf(
/* translators: 1: WordPress version number, 2: plural number of bugs. */
_n(
'<strong>Version %1$s</strong> addressed %2$s bug.',
'<strong>Version %1$s</strong> addressed %2$s bugs.',
82
),
'5.9.1',
number_format_i18n( 82 )
);
?>
<?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( '5.9.1' )
)
);
?>
</p>
</div>
</div>
<hr class="is-large" />
<div class="about__section">
......
......@@ -111,6 +111,11 @@
max-width: 100%;
}
/* Screen meta exception for when the "Dashboard" heading is missing or located below the Welcome Panel. */
.index-php #screen-meta-links {
margin: 0 0 8px 20px;
}
/* Welcome Panel */
.welcome-panel {
position: relative;
......@@ -121,6 +126,7 @@
background-blend-mode: overlay;
font-size: 14px;
line-height: 1.3;
clear: both;
}
.welcome-panel::before {
......
......@@ -110,6 +110,11 @@
max-width: 100%;
}
/* Screen meta exception for when the "Dashboard" heading is missing or located below the Welcome Panel. */
.index-php #screen-meta-links {
margin: 0 20px 8px 0;
}
/* Welcome Panel */
.welcome-panel {
position: relative;
......@@ -120,6 +125,7 @@
background-blend-mode: overlay;
font-size: 14px;
line-height: 1.3;
clear: both;
}
.welcome-panel::before {
......
This diff is collapsed.
......@@ -191,7 +191,6 @@ $editor_settings = array(
'titlePlaceholder' => apply_filters( 'enter_title_here', __( 'Add title' ), $post ),
'bodyPlaceholder' => $body_placeholder,
'autosaveInterval' => AUTOSAVE_INTERVAL,
'styles' => get_block_editor_theme_styles(),
'richEditingEnabled' => user_can_richedit(),
'postLock' => $lock_details,
'postLockUtils' => array(
......
......@@ -115,7 +115,7 @@ class Theme_Installer_Skin extends WP_Upgrader_Skin {
$install_actions = array();
if ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) {
if ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) && ! $theme_info->is_block_theme() ) {
$customize_url = add_query_arg(
array(
'theme' => urlencode( $stylesheet ),
......
......@@ -1198,6 +1198,8 @@ function download_url( $url, $timeout = 300, $signature_verification = false ) {
if ( $tmpfname_disposition && is_string( $tmpfname_disposition )
&& ( 0 === validate_file( $tmpfname_disposition ) )
) {
$tmpfname_disposition = dirname( $tmpfname ) . '/' . $tmpfname_disposition;
if ( rename( $tmpfname, $tmpfname_disposition ) ) {
$tmpfname = $tmpfname_disposition;
}
......
......@@ -2269,9 +2269,12 @@ function upgrade_590() {
if ( $wp_current_db_version < 51917 ) {
$crons = _get_cron_array();
// Remove errant `false` values, see #53950.
$crons = array_filter( $crons );
_set_cron_array( $crons );
if ( $crons && is_array( $crons ) ) {
// Remove errant `false` values, see #53950, #54906.
$crons = array_filter( $crons );
_set_cron_array( $crons );
}
}
}
......
......@@ -206,18 +206,26 @@ function dismissed_updates() {
'available' => false,
)
);
if ( $dismissed ) {
if ( $dismissed ) {
$show_text = esc_js( __( 'Show hidden updates' ) );
$hide_text = esc_js( __( 'Hide hidden updates' ) );
?>
<script type="text/javascript">
jQuery(function( $ ) {
$( 'dismissed-updates' ).show();
$( '#show-dismissed' ).toggle( function() { $( this ).text( '<?php echo $hide_text; ?>' ).attr( 'aria-expanded', 'true' ); }, function() { $( this ).text( '<?php echo $show_text; ?>' ).attr( 'aria-expanded', 'false' ); } );
$( '#show-dismissed' ).click( function() { $( '#dismissed-updates' ).toggle( 'fast' ); } );
});
</script>
<script type="text/javascript">
jQuery( function( $ ) {
$( '#show-dismissed' ).on( 'click', function() {
var isExpanded = ( 'true' === $( this ).attr( 'aria-expanded' ) );
if ( isExpanded ) {
$( this ).text( '<?php echo $show_text; ?>' ).attr( 'aria-expanded', 'false' );
} else {
$( this ).text( '<?php echo $hide_text; ?>' ).attr( 'aria-expanded', 'true' );
}
$( '#dismissed-updates' ).toggle( 'fast' );
});
});
</script>
<?php
echo '<p class="hide-if-no-js"><button type="button" class="button" id="show-dismissed" aria-expanded="false">' . __( 'Show hidden updates' ) . '</button></p>';
echo '<ul id="dismissed-updates" class="core-updates dismissed">';
......
{"translation-revision-date":"2022-02-02 13:13:13+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"nl"},"Editor tips":["Editor tips"],"Disable tips":["Tips uitschakelen"],"Got it":["Ik snap het"],"See next tip":["Volgende tip bekijken"]}},"comment":{"reference":"wp-includes\/js\/dist\/nux.js"}}
\ No newline at end of file
{"translation-revision-date":"2022-03-21 11:40:26+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"nl"},"Editor tips":["Editor tips"],"Disable tips":["Tips uitschakelen"],"Got it":["Ik snap het"],"See next tip":["Volgende tip bekijken"]}},"comment":{"reference":"wp-includes\/js\/dist\/nux.js"}}
\ No newline at end of file
{"translation-revision-date":"2022-02-02 13:13:13+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"nl"},"Create Reusable block":["Herbruikbaar blok maken"],"Manage Reusable blocks":["Herbruikbare blokken beheren"],"Reusable block created.":["Herbruikbaar blok gemaakt."],"Untitled Reusable block":["Naamloos herbruikbaar blok"],"Convert to regular blocks":["Naar reguliere blokken converteren"],"Add to Reusable blocks":["Aan herbruikbare blokken toevoegen"],"Close":["Sluiten"],"Cancel":["Annuleren"],"Name":["Naam"],"Save":["Opslaan"]}},"comment":{"reference":"wp-includes\/js\/dist\/reusable-blocks.js"}}
\ No newline at end of file
{"translation-revision-date":"2022-03-21 11:40:26+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"nl"},"Create Reusable block":["Herbruikbaar blok maken"],"Manage Reusable blocks":["Herbruikbare blokken beheren"],"Reusable block created.":["Herbruikbaar blok gemaakt."],"Untitled Reusable block":["Naamloos herbruikbaar blok"],"Convert to regular blocks":["Naar reguliere blokken converteren"],"Add to Reusable blocks":["Aan herbruikbare blokken toevoegen"],"Close":["Sluiten"],"Cancel":["Annuleren"],"Name":["Naam"],"Save":["Opslaan"]}},"comment":{"reference":"wp-includes\/js\/dist\/reusable-blocks.js"}}
\ No newline at end of file
{"translation-revision-date":"2022-02-02 13:13:13+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"nl"},"%1$s Block. Row %2$d":["%1$s blok. Rij %2$d"],"Design":["Ontwerp"],"%s Block":["%s blok"],"%1$s Block. %2$s":["%1$s blok. %2$s"],"%1$s Block. Column %2$d":["%1$s blok. Kolom %2$d"],"%1$s Block. Column %2$d. %3$s":["%1$s blok. Kolom %2$d. %3$s"],"%1$s Block. Row %2$d. %3$s":["%1$s blok. Rij %2$d. %3$s"],"Reusable blocks":["Herbruikbare blokken"],"Embeds":["Insluitingen"],"Text":["Tekst"],"Widgets":["Widgets"],"Theme":["Thema"],"Media":["Media"]}},"comment":{"reference":"wp-includes\/js\/dist\/blocks.js"}}
\ No newline at end of file
{"translation-revision-date":"2022-03-21 11:40:26+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"nl"},"%1$s Block. Row %2$d":["%1$s blok. Rij %2$d"],"Design":["Ontwerp"],"%s Block":["%s blok"],"%1$s Block. %2$s":["%1$s blok. %2$s"],"%1$s Block. Column %2$d":["%1$s blok. Kolom %2$d"],"%1$s Block. Column %2$d. %3$s":["%1$s blok. Kolom %2$d. %3$s"],"%1$s Block. Row %2$d. %3$s":["%1$s blok. Rij %2$d. %3$s"],"Reusable blocks":["Herbruikbare blokken"],"Embeds":["Insluitingen"],"Text":["Tekst"],"Widgets":["Widgets"],"Theme":["Thema"],"Media":["Media"]}},"comment":{"reference":"wp-includes\/js\/dist\/blocks.js"}}
\ No newline at end of file
{"translation-revision-date":"2022-02-02 13:13:13+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"nl"},"You are probably offline.":["Je bent waarschijnlijk offline."],"Media upload failed. If this is a photo or a large image, please scale it down and try again.":["Uploaden media mislukt. Als dit een foto of een grote afbeelding is, verklein deze dan en probeer opnieuw."],"The response is not a valid JSON response.":["De reactie is geen geldige JSON-reactie."],"An unknown error occurred.":["Er is een onbekende fout opgetreden."]}},"comment":{"reference":"wp-includes\/js\/dist\/api-fetch.js"}}
\ No newline at end of file
{"translation-revision-date":"2022-03-21 11:40:26+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"nl"},"You are probably offline.":["Je bent waarschijnlijk offline."],"Media upload failed. If this is a photo or a large image, please scale it down and try again.":["Uploaden media mislukt. Als dit een foto of een grote afbeelding is, verklein deze dan en probeer opnieuw."],"The response is not a valid JSON response.":["De reactie is geen geldige JSON-reactie."],"An unknown error occurred.":["Er is een onbekende fout opgetreden."]}},"comment":{"reference":"wp-includes\/js\/dist\/api-fetch.js"}}
\ No newline at end of file
{"translation-revision-date":"2022-02-02 13:13:13+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"nl"},"Reusable block imported successfully!":["Herbruikbaar blok succesvol ge\u00efmporteerd!"],"button label\u0004Import":["Importeer"],"Unknown error":["Onbekende fout"],"Invalid Reusable block JSON file":["Ongeldig herbruikbaar blok JSON bestand"],"Invalid JSON file":["Ongeldig JSON-bestand"],"Import from JSON":["Importeer vanuit JSON"],"File":["Bestand"]}},"comment":{"reference":"wp-includes\/js\/dist\/list-reusable-blocks.js"}}
\ No newline at end of file
{"translation-revision-date":"2022-03-21 11:40:26+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"nl"},"Reusable block imported successfully!":["Herbruikbaar blok succesvol ge\u00efmporteerd!"],"button label\u0004Import":["Importeer"],"Unknown error":["Onbekende fout"],"Invalid Reusable block JSON file":["Ongeldig herbruikbaar blok JSON bestand"],"Invalid JSON file":["Ongeldig JSON-bestand"],"Import from JSON":["Importeer vanuit JSON"],"File":["Bestand"]}},"comment":{"reference":"wp-includes\/js\/dist\/list-reusable-blocks.js"}}
\ No newline at end of file
{"translation-revision-date":"2022-02-02 13:13:13+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"nl"},"Annotation":["Aantekening"]}},"comment":{"reference":"wp-includes\/js\/dist\/annotations.js"}}
\ No newline at end of file
{"translation-revision-date":"2022-03-21 11:40:26+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"nl"},"Annotation":["Aantekening"]}},"comment":{"reference":"wp-includes\/js\/dist\/annotations.js"}}
\ No newline at end of file
{"translation-revision-date":"2022-02-02 13:13:13+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"nl"},"Notifications":["Meldingen"]}},"comment":{"reference":"wp-includes\/js\/dist\/a11y.js"}}
\ No newline at end of file
{"translation-revision-date":"2022-03-21 11:40:26+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"nl"},"Notifications":["Meldingen"]}},"comment":{"reference":"wp-includes\/js\/dist\/a11y.js"}}
\ No newline at end of file
{"translation-revision-date":"2022-02-02 13:13:13+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"nl"},"Global Styles":["Algemene stijlen"],"Widget types":["Widget types"],"Menu Item":["Menu-item"],"Comment":["Reactie"],"Widget areas":["Widget gebieden"],"Site":["Site"],"Navigation Area":["Navigatiegebied"],"Post Type":["Berichttype"],"Taxonomy":["Taxonomie"],"Menu Location":["Menu locatie"],"Menu":["Menu"],"User":["Gebruiker"],"Base":["Basis"],"Widgets":["Widgets"],"Site Title":["Site titel"],"Themes":["Thema's"],"(no title)":["(geen titel)"],"Media":["Media"],"Plugins":["Plugins"]}},"comment":{"reference":"wp-includes\/js\/dist\/core-data.js"}}
\ No newline at end of file
{"translation-revision-date":"2022-03-21 11:40:26+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"nl"},"Global Styles":["Algemene stijlen"],"Widget types":["Widget types"],"Menu Item":["Menu-item"],"Comment":["Reactie"],"Widget areas":["Widget gebieden"],"Site":["Site"],"Navigation Area":["Navigatiegebied"],"Post Type":["Berichttype"],"Taxonomy":["Taxonomie"],"Menu Location":["Menu locatie"],"Menu":["Menu"],"User":["Gebruiker"],"Base":["Basis"],"Widgets":["Widgets"],"Site Title":["Site titel"],"Themes":["Thema's"],"(no title)":["(geen titel)"],"Media":["Media"],"Plugins":["Plugins"]}},"comment":{"reference":"wp-includes\/js\/dist\/core-data.js"}}
\ No newline at end of file
{"translation-revision-date":"2022-02-02 13:13:13+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"nl"},"Create Page: <mark>%s<\/mark>":["Pagina maken: <mark>%s<\/mark>"],"Highlight":["Markeren"],"Keyboard input":["Toetsenbord ingave"],"Inline code":["Inline code"],"Link edited.":["Link bewerkt."],"Link removed.":["Link verwijderd."],"Inline image":["Inline afbeelding"],"media":["media"],"photo":["foto"],"Warning: the link has been inserted but may have errors. Please test it.":["Waarschuwing: de link is toegevoegd, maar kan fouten bevatten. Graag goed testen."],"Link inserted.":["Link ingevoegd."],"Link":["Link"],"Background":["Achtergrond"],"Superscript":["Superscript"],"Subscript":["Subscript"],"Unlink":["Link verwijderen"],"Strikethrough":["Doorgehaald"],"Underline":["Onderstreept"],"Italic":["Cursief"],"Bold":["Vet"],"Text":["Tekst"],"Width":["Breedte"],"Apply":["Toepassen"]}},"comment":{"reference":"wp-includes\/js\/dist\/format-library.js"}}
\ No newline at end of file
{"translation-revision-date":"2022-03-21 11:40:26+0000","generator":"GlotPress\/3.0.0-alpha.2","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=2; plural=n != 1;","lang":"nl"},"Create Page: <mark>%s<\/mark>":["Pagina maken: <mark>%s<\/mark>"],"Highlight":["Markeren"],"Keyboard input":["Toetsenbord ingave"],"Inline code":["Inline code"],"Link edited.":["Link bewerkt."],"Link removed.":["Link verwijderd."],"Inline image":["Inline afbeelding"],"media":["media"],"photo":["foto"],"Warning: the link has been inserted but may have errors. Please test it.":["Waarschuwing: de link is toegevoegd, maar kan fouten bevatten. Graag goed testen."],"Link inserted.":["Link ingevoegd."],"Link":["Link"],"Background":["Achtergrond"],"Superscript":["Superscript"],"Subscript":["Subscript"],"Unlink":["Link verwijderen"],"Strikethrough":["Doorgehaald"],"Underline":["Onderstreept"],"Italic":["Cursief"],"Bold":["Vet"],"Text":["Tekst"],"Width":["Breedte"],"Apply":["Toepassen"]}},"comment":{"reference":"wp-includes\/js\/dist\/format-library.js"}}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment