Changeset 14948
- Timestamp:
- 05/26/2010 05:25:57 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/link-template.php
r14924 r14948 186 186 $slug = $post->post_name; 187 187 188 $draft_or_pending = 'draft' == $post->post_status || 'pending' == $post->post_status;188 $draft_or_pending = in_array( $post->post_status, array( 'draft', 'pending', 'auto-draft' ) ); 189 189 190 190 $post_type = get_post_type_object($post->post_type);
Note: See TracChangeset
for help on using the changeset viewer.