[wp-trac] Re: [WordPress Trac] #1492: comments_popup_link() doesn't work on pages

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 7 07:01:11 GMT 2007


#1492: comments_popup_link() doesn't work on pages
----------------------------+-----------------------------------------------
 Reporter:  gregh           |        Owner:  anonymous
     Type:  defect          |       Status:  closed   
 Priority:  normal          |    Milestone:           
Component:  Administration  |      Version:  1.5.1.2  
 Severity:  normal          |   Resolution:  fixed    
 Keywords:                  |  
----------------------------+-----------------------------------------------
Changes (by johnbillion):

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

Comment:

 Closing as fixed.

 In `wp-includes/comment-template.php` the function `comments_popup_link`
 now checks for:
 {{{
 is_single() || is_page()
 }}}
 and therefore works with pages.

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


More information about the wp-trac mailing list