diff --git a/wp-admin/includes/plugin-install.php b/wp-admin/includes/plugin-install.php index cc2294ee5a..61bc77fb7e 100644 --- a/wp-admin/includes/plugin-install.php +++ b/wp-admin/includes/plugin-install.php @@ -827,7 +827,7 @@ function install_plugin_information() { printf( /* translators: %s: URL to WordPress Updates screen. */ ' ' . __( 'Click here to update WordPress.' ), - self_admin_url( 'update-core.php' ) + esc_url( self_admin_url( 'update-core.php' ) ) ); } echo '
'; diff --git a/wp-admin/update-core.php b/wp-admin/update-core.php index d4509763b3..087d314fc6 100644 --- a/wp-admin/update-core.php +++ b/wp-admin/update-core.php @@ -686,7 +686,7 @@ function list_theme_updates() { $compat .= sprintf( /* translators: 1: URL to WordPress Updates screen, 2: URL to Update PHP page. */ __( 'Please update WordPress, and then learn more about updating PHP.' ), - self_admin_url( 'update-core.php' ), + esc_url( self_admin_url( 'update-core.php' ) ), esc_url( wp_get_update_php_url() ) ); @@ -699,7 +699,7 @@ function list_theme_updates() { $compat .= sprintf( /* translators: %s: URL to WordPress Updates screen. */ __( 'Please update WordPress.' ), - self_admin_url( 'update-core.php' ) + esc_url( self_admin_url( 'update-core.php' ) ) ); } elseif ( current_user_can( 'update_php' ) ) { $compat .= sprintf( @@ -720,7 +720,7 @@ function list_theme_updates() { $compat .= sprintf( /* translators: %s: URL to WordPress Updates screen. */ __( 'Please update WordPress.' ), - self_admin_url( 'update-core.php' ) + esc_url( self_admin_url( 'update-core.php' ) ) ); } } elseif ( ! $compatible_php ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 022e2fc348..8f4c148627 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53839'; +$wp_version = '6.1-alpha-53840'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.