[wp-trac] Re: [WordPress Trac] #3039: <?php wp_link_pages(); ?> related bug in all versions of WP

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 18 08:19:46 GMT 2006


#3039: <?php wp_link_pages(); ?> related bug in all versions of WP
-----------------------------------+----------------------------------------
 Reporter:  resist                 |        Owner:  markjaquith
     Type:  defect                 |       Status:  assigned   
 Priority:  normal                 |    Milestone:             
Component:  General                |      Version:  2.1        
 Severity:  minor                  |   Resolution:             
 Keywords:  has-patch 2nd-opinion  |  
-----------------------------------+----------------------------------------
Changes (by markjaquith):

  * keywords:  => has-patch 2nd-opinion
  * version:  2.0.4 => 2.1

Comment:

 Patch does the following:

  * Checks to see if the requested $page is greater than the number of
 total pages
  * If it is, $page is reduced to equal the total number of pages (i.e. the
 highest numbered page).

 thus, for a post with 4 pages, requesting page 5 or any page above 4 will
 give you page 4.

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


More information about the wp-trac mailing list