Changeset 12733 for trunk/wp-includes/link-template.php
- Timestamp:
- 01/15/2010 10:11:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/link-template.php
r12680 r12733 683 683 $action = '&action=edit'; 684 684 685 $post_type_object = get_post_type_object( $post->post_type ); 685 $post_type_object = get_post_type_object( $post->post_type ); 686 686 if ( !$post_type_object ) 687 687 return; … … 1099 1099 if ( empty($posts) ) 1100 1100 return; 1101 1101 1102 1102 // Even though we limited get_posts to return only 1 item it still returns an array of objects. 1103 1103 $post = $posts[0];
Note: See TracChangeset
for help on using the changeset viewer.