Changeset 12273
- Timestamp:
- 11/24/2009 04:52:32 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r12265 r12273 1611 1611 } 1612 1612 1613 if ( ('' == $post_content) && ('' == $post_title) && ('' == $post_excerpt) ) {1613 if ( ('' == $post_content) && ('' == $post_title) && ('' == $post_excerpt) && ('attachment' != $post_type) ) { 1614 1614 if ( $wp_error ) 1615 1615 return new WP_Error('empty_content', __('Content, title, and excerpt are empty.'));
Note: See TracChangeset
for help on using the changeset viewer.