[wp-trac] [WordPress Trac] #34638: New function for retrieving previous and next adjacent image

WordPress Trac noreply at wordpress.org
Fri Jan 31 04:28:50 UTC 2020


#34638: New function for retrieving previous and next adjacent image
-------------------------------------+-----------------------------
 Reporter:  solidcolour              |       Owner:  (none)
     Type:  feature request          |      Status:  new
 Priority:  normal                   |   Milestone:  Future Release
Component:  Media                    |     Version:  4.4
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------------
Changes (by markparnell):

 * keywords:  needs-patch => has-patch needs-testing


Comment:

 Patch adds `get_previous_image_link()`, `get_next_image_link()` and
 `get_adjacent_image_link()` which return the link instead of echoing it.

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


More information about the wp-trac mailing list