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

WordPress Trac noreply at wordpress.org
Wed Jun 16 17:30:22 UTC 2021


#45708: Allow retrieving adjacent image link markup without echoing it
-------------------------------------------------+-------------------------
 Reporter:  flixos90                             |       Owner:  whyisjake
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  5.8
Component:  Media                                |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests has-        |     Focuses:  template
  testing-info commit                            |
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 In [changeset:"51172" 51172]:
 {{{
 #!CommitTicketReference repository="" revision="51172"
 Tests: Make some optional parameters required in unit tests for
 previous/next attachment links.

 This resolves a "Deprecated: Required parameter follows optional
 parameter" notice on PHP 8.

 Follow-up to [48794], [51122].

 See #45708, #52625.
 }}}

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


More information about the wp-trac mailing list