Changeset 30480 for trunk/src/wp-includes/post.php
- Timestamp:
- 11/20/2014 04:45:48 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r30287 r30480 3721 3721 do { 3722 3722 $alt_post_name = _truncate_post_slug( $slug, 200 - ( strlen( $suffix ) + 1 ) ) . "-$suffix"; 3723 $post_name_check = $wpdb->get_var( $wpdb->prepare( $check_sql, $alt_post_name, $post_ ID, $post_parent ) );3723 $post_name_check = $wpdb->get_var( $wpdb->prepare( $check_sql, $alt_post_name, $post_type, $post_ID, $post_parent ) ); 3724 3724 $suffix++; 3725 3725 } while ( $post_name_check );
Note: See TracChangeset
for help on using the changeset viewer.