WordPress.org

Make WordPress Core

Changeset 51122 for trunk/phpcs.xml.dist


Ignore:
Timestamp:
06/08/2021 11:12:22 PM (6 months ago)
Author:
whyisjake
Message:

Media: Add new functions to return the previous/next attachment links.

New functions:

  • get_adjacent_image_link()
  • get_next_image_link()
  • get_previous_image_link()

Fixes #45708.

Props flixos90, DrewAPicture, mor10, antpb, hellofromTonya, whyisjake.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpcs.xml.dist

    r50697 r51122  
    250250                <element value="Tests_Query_Conditionals"/>
    251251                <element value="WP_Test_XML_TestCase"/>
     252                <element value="WP_Test_Adjacent_Image_Link_TestCase"/>
    252253
    253254                <!-- Mock classes. -->
Note: See TracChangeset for help on using the changeset viewer.