WordPress.org

Make WordPress Core

Changes between Version 4 and Version 5 of Ticket #39338, comment 52


Ignore:
Timestamp:
01/21/2019 12:43:58 AM (3 years ago)
Author:
trongn
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #39338, comment 52

    v4 v5  
    77PHP Warning:  current() expects parameter 1 to be array, ...\\''
    88
    9 So i have modified the fix to use is_array instead of !is_null and it covers both NULL and boolean issues. I have 2 different versions of Wordpress to manage and there are different php files to modify based on error details:
     9So i have modified the fix to use is_array instead of !is_null and it covers both NULL and boolean issues. I have 2 different versions of Wordpress to manage and there are **different php files to modify** based on the error details in error_log file
    1010
    1111Wordpress v4.9.9 (recent version, and fix all similar while loops)\\