Changeset 3535
- Timestamp:
- 02/15/2006 07:16:58 AM (19 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment-functions.php
r3517 r3535 768 768 if ( $id = url_to_postid($url) ) { 769 769 $post = & get_post($id); 770 if ( 'attachment' == $post->post_ status)770 if ( 'attachment' == $post->post_type ) 771 771 return true; 772 772 } -
trunk/wp-includes/functions.php
r3523 r3535 556 556 'to_ping' => $post->to_ping, 557 557 'pinged' => $post->pinged, 558 'post_type' => $post->post_type, 558 559 'post_name' => $post->post_name 559 560 );
Note: See TracChangeset
for help on using the changeset viewer.