Make WordPress Core


Ignore:
Timestamp:
07/02/2021 07:05:46 PM (4 years ago)
Author:
desrosj
Message:

Twenty Twenty-One: Improve documentation per the documentation standards:

  • Remove unnecessary @access tags that were previously removed from core.
  • Remove an empty line between @param and @return tags.
  • Correct alignment of @param tags.

Follow-up to [41161], [41162], [41168], [49216], [49220].

Props SergeyBiryukov.
Merges [51294] to the 5.8 branch.
See #52628, #53461.

Location:
branches/5.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.8

  • branches/5.8/src/wp-content/themes/twentytwentyone/inc/menu-functions.php

    r49826 r51319  
    2323 * @param int    $depth  Depth.
    2424 * @param object $args   Nav menu args.
    25  *
    2625 * @return string Nav menu item start element.
    2726 */
     
    4544 * @since Twenty Twenty-One 1.0
    4645 *
    47  * @param string $uri Social link.
     46 * @param string $uri  Social link.
    4847 * @param int    $size The icon size in pixels.
    49  *
    5048 * @return string
    5149 */
     
    8583 * @param WP_Post  $item  Menu item data object.
    8684 * @param int      $depth Depth of menu item. Used for padding.
    87  *
    8885 * @return stdClass
    8986 */
Note: See TracChangeset for help on using the changeset viewer.