strpos() php 8.1 warning in wp-includes/functions.php fixing
-
$path = !empty($path) ? strpos( $path, '://' ) : false; $scheme_separator = $path;
instead
$scheme_separator = strpos( $path, '://' );
to stop the warnings. Please, add that in the next version. Tks! ??
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘strpos() php 8.1 warning in wp-includes/functions.php fixing’ is closed to new replies.