[wp-trac] [WordPress Trac] #59824: PHP Warning raised in pluggable.php when passing NULL instead of a string

WordPress Trac noreply at wordpress.org
Sat Feb 1 21:46:36 UTC 2025


#59824: PHP Warning raised in pluggable.php when passing NULL instead of a string
-------------------------------------+-------------------------------------
 Reporter:  budiony                  |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Security                 |     Version:  6.3.3
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch reporter-      |     Focuses:  administration,
  feedback                           |  privacy
-------------------------------------+-------------------------------------

Comment (by debarghyabanerjee):

 Hi! @johnbillion, sorry, my bad, I didn't check how Core was using this
 function, I verified the issue by calling the wp_check_password() function
 by passing null, and I was getting the Error, that's why I raised a PR for
 it.

 Additionally, I wrote the PR description myself, and just used AI to fix
 it grammatically.

 I will be more careful from the next PR. Thanks for mentioning. Really
 appreciate your valuable feedback, and sorry for the mistake.

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


More information about the wp-trac mailing list