[wp-trac] Re: [WordPress Trac] #2578: Setting "Show at most N posts" to 0 appears to break Page display (with a 404)

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 18 08:06:59 GMT 2006


#2578: Setting "Show at most N posts" to 0 appears to break Page display (with a
404)
----------------------------+-----------------------------------------------
       Id:  2578            |      Status:  assigned                
Component:  Administration  |    Modified:  Sat Mar 18 08:06:59 2006
 Severity:  major           |   Milestone:  2.1                     
 Priority:  normal          |     Version:  2.0                     
    Owner:  westi           |    Reporter:  gt4329b                 
----------------------------+-----------------------------------------------
Changes (by westi):

  * keywords:  Pages show at most 404 bg|needs-patch => Pages show at most
               404 bg|has-patch

Comment:

 Ok Looking through the code the issue here is the post paging code in
 {{{get_posts}}} is used even when we are trying to get a Static Page.

 The attached patches should fix this one against 2.0.2 and one against
 trunk.

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


More information about the wp-trac mailing list