[wp-trac] [WordPress Trac] #37292: Check if $category is object before outputting
WordPress Trac
noreply at wordpress.org
Wed Jul 6 05:00:19 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 | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by michalzuber):
Tried to migrate the database to use the same data with the new code
(trunk) and it worked.
But it would be great to check before using the object. The same might
happen and this prevents it. Surely this is only Notice and errors on
production should be turned off so not a big issue.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37292#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list