Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #54877, comment 42


Ignore:
Timestamp:
10/17/2022 12:59:42 AM (3 years ago)
Author:
nickchomey
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #54877, comment 42

    v2 v3  
    1 I hate to re-open a discussion that was closed by a bunch of considerably more competent people than I. But, I'm getting various deprecation warnings - multiple times per page load - related to this issue when using PHP 8.1 on my site. I know that @jrf pointed to the php source code to say that the parameters should be nullable, but it doesn't seem to be the case in practice. It could be because I'm using lsphp rather than normal php.
    2 
    3 Anyway, as I described in this issue that I just opened and closed (#56836), if you simply pass an empty string {{{""}}} rather than {{{null}}}, the problem goes away. Is that not an acceptable solution here?
     1Disregard this comment. I've decided to report a bug to Litespeed related to their lsphp81