[wp-trac] [WordPress Trac] #37292: Check if $category is object before outputting

WordPress Trac noreply at wordpress.org
Tue Jul 5 17:02:06 UTC 2016


#37292: Check if $category is object before outputting
--------------------------+-----------------------------
 Reporter:  michalzuber   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Taxonomy      |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 After auto upgrade I got a `Notice: Trying to get property of non-object
 in /wp-includes/category-template.php on line 238`
 with WP version 4.2.9
 Upgrade was from 4.2.7 as I can remember.

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


More information about the wp-trac mailing list