[Bb-trac] Re: [bbPress] #1002: function get_page_number_links displays "$next_text"

bbPress bb-trac at lists.bbpress.org
Fri Dec 5 20:19:37 GMT 2008


#1002: function get_page_number_links displays "$next_text"
----------------------+-----------------------------------------------------
 Reporter:  _ck_      |        Owner:                    
     Type:  defect    |       Status:  new               
 Priority:  normal    |    Milestone:  1.0-beta & XML-RPC
Component:  Back-end  |      Version:  1.0-beta (trunk)  
 Severity:  normal    |   Resolution:                    
 Keywords:            |  
----------------------+-----------------------------------------------------
Changes (by _ck_):

  * version:  1.0-alpha-2 => 1.0-beta (trunk)

Comment:

 Ah I found the problem.

 I was only looking at the alpha, but in the trunk everything has changed
 (again?!)

 So it's in
 `bb-includes\functions.wp-core.php`
 line 257
 someone changed the echo to single quotes when it was double quotes in the
 alpha

 wrong:
 `
 $page_links[] = '<a class="next page-numbers" href="' . clean_url( $link )
 . '" title="' . attribute_escape( $next_title ) . '">$next_text</a>';
 `

 right
 `
 $page_links[] = '<a class="next page-numbers" href="' . clean_url( $link )
 . '" title="' . attribute_escape( $next_title ) . '">'.$next_text.'</a>';
 `

-- 
Ticket URL: <http://trac.bbpress.org/ticket/1002#comment:1>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list