Changeset 8637 for trunk/wp-includes/post.php
- Timestamp:
- 08/13/2008 06:21:52 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r8636 r8637 764 764 * @return bool 765 765 */ 766 function is_sticky($post_id) { 766 function is_sticky($post_id = null) { 767 global $id; 768 769 $post_id = absint($post_id); 770 771 if ( !$post_id ) 772 $post_id = absint($id); 773 767 774 $stickies = get_option('sticky_posts'); 768 775 … … 775 782 return false; 776 783 } 784 777 785 778 786 /**
Note: See TracChangeset
for help on using the changeset viewer.