Changeset 1291 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-forms-to-drafts/wordcamp-forms-to-drafts.php
- Timestamp:
- 02/20/2015 08:44:16 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-forms-to-drafts/wordcamp-forms-to-drafts.php
r1290 r1291 76 76 global $current_user, $post; 77 77 78 if ( ! is_user_logged_in() ) {78 if ( ! is_user_logged_in() || ! is_a( $post, 'WP_Post' ) ) { 79 79 return; 80 80 }
Note: See TracChangeset
for help on using the changeset viewer.