--- a/wp/wp-includes/class-phpass.php Thu Sep 29 08:06:27 2022 +0200
+++ b/wp/wp-includes/class-phpass.php Fri Sep 05 18:40:08 2025 +0200
@@ -173,8 +173,8 @@
$itoa64 = './ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
$output = '$2a$';
- $output .= chr(ord('0') + $this->iteration_count_log2 / 10);
- $output .= chr(ord('0') + $this->iteration_count_log2 % 10);
+ $output .= chr((int)(ord('0') + $this->iteration_count_log2 / 10));
+ $output .= chr((ord('0') + $this->iteration_count_log2 % 10));
$output .= '$';
$i = 0;