Changeset 15582 for trunk/wp-includes/link-template.php
- Timestamp:
- 09/07/2010 01:18:42 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/link-template.php
r15563 r15582 1412 1412 } 1413 1413 1414 $request = preg_replace( '|page/\d+/?$|', '', $request);1414 $request = preg_replace( "|$wp_rewrite->pagination_base/\d+/?$|", '', $request); 1415 1415 $request = preg_replace( '|^index\.php|', '', $request); 1416 1416 $request = ltrim($request, '/'); … … 1422 1422 1423 1423 if ( $pagenum > 1 ) { 1424 $request = ( ( !empty( $request ) ) ? trailingslashit( $request ) : $request ) . user_trailingslashit( 'page/'. $pagenum, 'paged' );1424 $request = ( ( !empty( $request ) ) ? trailingslashit( $request ) : $request ) . user_trailingslashit( $wp_rewrite->pagination_base . "/" . $pagenum, 'paged' ); 1425 1425 } 1426 1426
Note: See TracChangeset
for help on using the changeset viewer.