[wp-trac] [WordPress Trac] #10867: next_post_link() and previous_post_link() should be allowed in the loop, even if is_single()

WordPress Trac wp-trac at lists.automattic.com
Mon May 3 21:15:11 UTC 2010


#10867: next_post_link() and previous_post_link() should be allowed in the loop,
even if is_single()
-----------------------------------+----------------------------------------
 Reporter:  jobjorn                |        Owner:        
     Type:  enhancement            |       Status:  closed
 Priority:  low                    |    Milestone:  3.0   
Component:  Themes                 |      Version:        
 Severity:  normal                 |   Resolution:  fixed 
 Keywords:  has-patch 2nd-opinion  |  
-----------------------------------+----------------------------------------
Changes (by mdawaffe):

  * status:  reopened => closed
  * resolution:  => fixed


Comment:

 MarkJaquith, nacin, ryan and I chatted about this OOB.  We looked through
 themes in http://themes.svn.wordpress.org/ and decided that while this
 change breaks back compat, it doesn't affect too many themes.  Most are
 either already wrapping in is_singular() conditionals or using them in
 single.php only.

 We decided the back compat problems are worth the additional flexibility.

 I guess we should sent something out to theme devs about this?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10867#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list