Changeset 13770 for trunk/wp-includes/post.php
- Timestamp:
- 03/19/2010 09:29:21 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r13733 r13770 2079 2079 // Create a valid post name. Drafts and pending posts are allowed to have an empty 2080 2080 // post name. 2081 if ( !isset($post_name) ||empty($post_name) ) {2081 if ( empty($post_name) ) { 2082 2082 if ( !in_array( $post_status, array( 'draft', 'pending', 'auto-draft' ) ) ) 2083 2083 $post_name = sanitize_title($post_title);
Note: See TracChangeset
for help on using the changeset viewer.