Make WordPress Core

Changeset 63320

Timestamp:
08/17/2026 01:13:55 PM (2 months ago)
Author:
SergeyBiryukov
Message:

Docs: Remove a blank line between @param and @return in core docblocks.

The ​PHP inline documentation standards place @return immediately after the last @param tag, with no blank line between them:

/**
 * Summary.
 *
 * @since x.x.x
 *
 * @param string $var Description.
 * @return string Description.
 */

This corrects 44 docblocks across 33 files in src/wp-includes that used a line break between the two tags.

Developed in ​https://github.com/WordPress/wordpress-develop/pull/13063.

Props mukesh27, dhruvang21.
See #65818, #65860.

Location:
trunk/src/wp-includes
Files:
33 edited

Changeset view not shown, since the total size (4.2 MB) exceeds 4.0 MB

Note: See TracChangeset for help on using the changeset viewer.