[wp-trac] [WordPress Trac] #33211: get_adjacent_post is not working with post_format

WordPress Trac noreply at wordpress.org
Fri Jul 31 08:10:55 UTC 2015


#33211: get_adjacent_post is not working with post_format
------------------------------------------+------------------------------
 Reporter:  valendesigns                  |       Owner:
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  Awaiting Review
Component:  Query                         |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:  template
------------------------------------------+------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:2 valendesigns]:
 > Could you briefly describe how you tested the issue?

 I've created two asides, added your snippet to `single.php`, and checked
 the values of `$prev` and `$next`.

 `$next` contained Aside 2 when viewing Aside 1, and vice versa.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33211#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list