Making WordPress.org


Ignore:
Timestamp:
05/17/2016 08:17:44 PM (9 years ago)
Author:
iandunn
Message:

Central Theme: Check if $post is a WP_Post before treating it like one.

Otherwise, PHP will throw a warning on 404 pages, and other contexts where it doesn't exist.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.