[wp-trac] [WordPress Trac] #17673: get_adjacent_post() uses ' and ' as undocumented separator for excluded categories

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 4 07:19:41 UTC 2011


#17673: get_adjacent_post() uses ' and ' as undocumented separator for excluded
categories
------------------------------+-----------------------------
 Reporter:  kawauso           |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Future Release
Component:  Template          |     Version:  3.1
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+-----------------------------

Comment (by solarissmoke):

 Second patch accepts arrays as well. While writing this I noticed that
 there was a bug in `get_boundary_post()`  - `$excluded_categories` was
 being reset to an empty array so it would never exclude anything. Seems
 nobody uses that feature, otherwise they would have noticed..

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


More information about the wp-trac mailing list