Changeset 13424 for trunk/wp-includes/post.php
- Timestamp:
- 02/26/2010 04:53:30 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r13382 r13424 2393 2393 $post_name_check = $wpdb->get_var( $wpdb->prepare( $check_sql, $slug, $post_ID, $post_parent ) ); 2394 2394 2395 if ( $post_name_check || in_array( $slug, $feeds ) ) {2395 if ( $post_name_check || in_array( $slug, $feeds ) || preg_match( '@^\d+$@', $slug ) ) { 2396 2396 $suffix = 2; 2397 2397 do {
Note: See TracChangeset
for help on using the changeset viewer.