[wp-trac] [WordPress Trac] #30395: next_post_link and previous_post_link excuding wrong category

WordPress Trac noreply at wordpress.org
Tue Nov 18 20:19:05 UTC 2014


#30395: next_post_link and previous_post_link excuding wrong category
--------------------------+-----------------------------
 Reporter:  kevinhaig     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Testing my new theme I have discovered a bug in the post links

 next_post_link( '<div class="right">%link  <i class="fa fa-
 hand-o-right"></i></div>','%title',false,'190,191,192' );
 if I want to exclude 189,190, and 191 id's I must use 190,191, and 192
 id's.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30395>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list