[wp-trac] [WordPress Trac] #57835: class-wp-term-query.php no error checking

WordPress Trac noreply at wordpress.org
Wed Mar 1 11:04:59 UTC 2023


#57835: class-wp-term-query.php no error checking
---------------------------+-----------------------------
 Reporter:  coleatkinson1  |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  General        |    Version:
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 Attempt to read property "count" on null in **/**/**/class-wp-term-
 query.php on line 768.
 Does not check for failure of get_term function. Causes very annoying PHP
 warnings.

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


More information about the wp-trac mailing list