[wp-trac] [WordPress Trac] #62276: class-wp-user.php can throw a warning for trim() when $value is null

WordPress Trac noreply at wordpress.org
Tue Oct 22 11:33:07 UTC 2024


#62276: class-wp-user.php can throw a warning for trim() when $value is null
-------------------------------------------------+-------------------------
 Reporter:  heuptasje                            |      Owner:  heuptasje
     Type:  defect (bug)                         |     Status:  assigned
 Priority:  normal                               |  Milestone:  Awaiting
                                                 |  Review
Component:  General                              |    Version:  trunk
 Severity:  normal                               |   Keywords:
  Focuses:  coding-standards, php-compatibility  |
-------------------------------------------------+-------------------------
 It seems like the `class-wp-user.php` class can throw a deprecated warning
 on the `trim()` function when `$value` is null.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62276>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list