Changeset 31090 for trunk/src/wp-includes/rewrite.php
- Timestamp:
- 01/08/2015 07:04:40 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rewrite.php
r31078 r31090 1377 1377 1378 1378 //only on pages with comments add ../comment-page-xx/ 1379 if ( EP_PAGES & $ep_mask || EP_PERMALINK & $ep_mask ) 1379 if ( EP_PAGES & $ep_mask || EP_PERMALINK & $ep_mask ) { 1380 1380 $rewrite = array_merge($rewrite, array($commentmatch => $commentquery)); 1381 else if ( EP_ROOT & $ep_mask && get_option('page_on_front') )1381 } elseif ( EP_ROOT & $ep_mask && get_option('page_on_front') ) { 1382 1382 $rewrite = array_merge($rewrite, array($rootcommentmatch => $rootcommentquery)); 1383 1383 } 1384 1384 //do endpoints 1385 1385 if ( $endpoints ) {
Note: See TracChangeset
for help on using the changeset viewer.