Changeset 15582 for trunk/wp-includes/post.php
- Timestamp:
- 09/07/2010 01:18:42 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r15564 r15582 2551 2551 $post_name_check = $wpdb->get_var( $wpdb->prepare( $check_sql, $slug, $post_ID, $post_parent ) ); 2552 2552 2553 if ( $post_name_check || in_array( $slug, $feeds ) || preg_match( '@^(page)?\d+$@', $slug ) ) {2553 if ( $post_name_check || in_array( $slug, $feeds ) || preg_match( "@^($wp_rewrite->pagination_base)?\d+$@", $slug ) ) { 2554 2554 $suffix = 2; 2555 2555 do {
Note: See TracChangeset
for help on using the changeset viewer.