[wp-trac] [WordPress Trac] #45708: Allow retrieving adjacent image link markup without echoing it

WordPress Trac noreply at wordpress.org
Wed Dec 19 17:25:47 UTC 2018


#45708: Allow retrieving adjacent image link markup without echoing it
-------------------------------------------------+-------------------------
 Reporter:  flixos90                             |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Media                                |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  2nd-opinion has-patch needs-unit-    |     Focuses:  template
  tests                                          |
-------------------------------------------------+-------------------------
Changes (by DrewAPicture):

 * keywords:  2nd-opinion has-patch => 2nd-opinion has-patch needs-unit-
               tests


Comment:

 Seems sensible to have a getter, though I'm a little torn on whether we
 need to introduce three new functions just so there's getter parity for
 both of them.

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


More information about the wp-trac mailing list