Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix WP version and release notes #269

Merged
merged 4 commits into from
Feb 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/license.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ClassicPress - Web publishing software

Copyright © 2018-2023 ClassicPress and contributors
Copyright © 2018-2024 ClassicPress and contributors

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -31,7 +31,7 @@ and

WordPress - Web publishing software

Copyright 2003-2023 by the WordPress contributors
Copyright 2003-2024 by the WordPress contributors

WordPress is released under the GPL

Expand Down
18 changes: 17 additions & 1 deletion src/wp-admin/about.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,23 @@ classicpress_version()
<?php
printf(
/* translators: %s: WordPress version number */
__( '<strong>Version %s</strong> addressed some security issues.' ),
__( '<strong>WordPress Version %s</strong> addressed some security issues.' ),
'4.9.25'
);
?>
<?php
printf(
/* translators: %s: HelpHub URL */
__( 'For more information, see <a href="%s">the blog post</a>.' ),
esc_url( __( 'https://wordpress.org/news/2024/01/wordpress-6-4-3-maintenance-and-security-release/' ) )
);
?>
</p>
<p>
<?php
printf(
/* translators: %s: WordPress version number */
__( '<strong>WordPress Version %s</strong> addressed some security issues.' ),
'4.9.24'
);
?>
Expand Down
2 changes: 1 addition & 1 deletion src/wp-admin/includes/class-file-upload-upgrader.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function __construct( $form, $urlholder ) {
}
}

$this->filename = $_FILES[$form]['name'];
$this->filename = $_FILES[ $form ]['name'];
$this->package = $file['file'];

// Construct the object array
Expand Down
2 changes: 1 addition & 1 deletion src/wp-admin/includes/schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ function populate_options() {

$value = maybe_serialize( sanitize_option( $option, $value ) );

$insert .= $wpdb->prepare( "(%s, %s, %s)", $option, $value, $autoload );
$insert .= $wpdb->prepare( '(%s, %s, %s)', $option, $value, $autoload );
}

if ( ! empty( $insert ) ) {
Expand Down
4 changes: 2 additions & 2 deletions src/wp-admin/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
wp_die( __( 'Only .zip archives may be uploaded.' ) );
}

$file_upload = new File_Upload_Upgrader('pluginzip', 'package');
$file_upload = new File_Upload_Upgrader( 'pluginzip', 'package' );

$title = __( 'Upload Plugin' );
$parent_file = 'plugins.php';
Expand Down Expand Up @@ -290,7 +290,7 @@
wp_die( __( 'Only .zip archives may be uploaded.' ) );
}

$file_upload = new File_Upload_Upgrader('themezip', 'package');
$file_upload = new File_Upload_Upgrader( 'themezip', 'package' );

$title = __( 'Upload Theme' );
$parent_file = 'themes.php';
Expand Down
2 changes: 1 addition & 1 deletion src/wp-includes/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.9.24';
$wp_version = '4.9.25';

/**
* Holds the ClassicPress DB revision, increments when changes are made to the ClassicPress DB schema.
Expand Down
Loading