[wp-trac] [WordPress Trac] #3156: Uninitialized var (PHP Notice) in ternary expressions - wp-db.php

WordPress Trac noreply at wordpress.org
Sun Feb 11 07:16:05 UTC 2024


#3156: Uninitialized var (PHP Notice) in ternary expressions - wp-db.php
-----------------------------------+---------------------
 Reporter:  alexkingorg            |       Owner:  (none)
     Type:  defect (bug)           |      Status:  closed
 Priority:  normal                 |   Milestone:  2.3
Component:  General                |     Version:  2.1
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+---------------------

Comment (by kingmzb61ps):

 Could you provide more details about the uninitialized variable causing
 PHP notices in the ternary expressions within `wp-db.php`? Additionally,
 could you explain the changes made in your patch to address this issue,
 and do you need assistance with verifying the correctness of the patch?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/3156#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list