[wp-trac] [WordPress Trac] #8598: When a Static page is set as the front page, Comment paging doesnt work.

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 13 09:05:11 GMT 2008


#8598: When a Static page is set as the front page, Comment paging doesnt work.
----------------------+-----------------------------------------------------
 Reporter:  DD32      |       Owner:             
     Type:  defect    |      Status:  new        
 Priority:  normal    |   Milestone:  2.7.1      
Component:  Comments  |     Version:  2.7        
 Severity:  normal    |    Keywords:  needs-patch
----------------------+-----------------------------------------------------
 As reported by Malaiac here:
 http://trac.wordpress.org/ticket/8398#comment:3 Comment paging links do
 not work on static home pages.

 Looking at the rewrite rules, It seems that the Bitmask for the homepage
 isnt set to allow for posts/pages on the front page..

 {{{
 portfolio/[0-9]+/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$ =>
 index.php?attachment=$matches[1]&cpage=$matches[2]
 portfolio/([0-9]+)/([^/]+)/comment-page-([0-9]{1,})/?$ =>
 index.php?p=$matches[1]&name=$matches[2]&cpage=$matches[3]
 portfolio/[0-9]+/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$ =>
 index.php?attachment=$matches[1]&cpage=$matches[2]
 portfolio/[0-9]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$ =>
 index.php?attachment=$matches[1]&cpage=$matches[2]
 portfolio/([0-9]+)/comment-page-([0-9]{1,})/?$ =>
 index.php?p=$matches[1]&cpage=$matches[2]
 portfolio/[0-9]+/([^/]+)/comment-page-([0-9]{1,})/?$ =>
 index.php?attachment=$matches[1]&cpage=$matches[2]
 .+?/attachment/([^/]+)/comment-page-([0-9]{1,})/?$ =>
 index.php?attachment=$matches[1]&cpage=$matches[2]
 (.+?)/comment-page-([0-9]{1,})/?$ =>
 index.php?pagename=$matches[1]&cpage=$matches[2]
 }}}
 (Thats a permalink structure of /portfolio/%post_id%/%postname%)

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8598>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list