• $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)
  • Thanks for your suggestion. The core developers do not (often) read the forum, they process changes to the core in a ticket system. If you have specific change recommendations, you are welcome to mention it as a ticket in the core – but there may already be a ticket for the exact spot, have a look: https://core.trac.www.remarpro.com

Viewing 1 replies (of 1 total)
  • The topic ‘strpos() php 8.1 warning in wp-includes/functions.php fixing’ is closed to new replies.