[wp-trac] Re: [WordPress Trac] #9023: paged comments should use simple logic

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 3 01:43:58 GMT 2009


#9023: paged comments should use simple  logic
--------------------------+-------------------------------------------------
 Reporter:  hailin        |        Owner:  anonymous
     Type:  defect (bug)  |       Status:  new      
 Priority:  normal        |    Milestone:  2.8      
Component:  General       |      Version:           
 Severity:  normal        |   Resolution:           
 Keywords:                |  
--------------------------+-------------------------------------------------
Comment (by hailin):

 And the current complex logic causes bad issues such as:

 http://trac.wordpress.org/ticket/8755

 My proposed logic is:

 Only use comment_order, which has default value of "asc".
 When it is "asc", we assume default_comment_page as "oldest";
 when it is "desc", we assume default_comments_page "newest".

 This is more natual, less error-prone, and easier to maintain.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/9023#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list