Changeset 11450 for trunk/wp-includes/post.php
- Timestamp:
- 05/24/2009 11:47:49 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/post.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r11410 r11450 1198 1198 } 1199 1199 1200 wp_clear_scheduled_hook('publish_future_post', $postid); 1201 1200 wp_clear_scheduled_hook('publish_future_post', $postid); 1201 1202 1202 do_action('deleted_post', $postid); 1203 1203 … … 1735 1735 * @param string $post_type 1736 1736 * @param integer $post_parent 1737 * @return string unique slug for the post, based on $post_name (with a -1, -2, etc. suffix) 1737 * @return string unique slug for the post, based on $post_name (with a -1, -2, etc. suffix) 1738 1738 */ 1739 1739 function wp_unique_post_slug($slug, $post_ID, $post_status, $post_type, $post_parent) { … … 1748 1748 $post_name_check = $wpdb->get_var($wpdb->prepare($check_sql, $slug, $post_type, $post_ID, $post_parent)); 1749 1749 } 1750 1750 1751 1751 if ( $post_name_check || in_array($slug, $wp_rewrite->feeds) ) { 1752 1752 $suffix = 2;
Note: See TracChangeset
for help on using the changeset viewer.