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/custom-css.php

    r49826 r51319  
    1414 *
    1515 * @param string $selector The CSS selector.
    16  * @param string $style The CSS style.
    17  * @param string $value The CSS value.
    18  * @param string $prefix The CSS prefix.
    19  * @param string $suffix The CSS suffix.
    20  * @param bool   $echo Echo the styles.
    21  *
     16 * @param string $style    The CSS style.
     17 * @param string $value    The CSS value.
     18 * @param string $prefix   The CSS prefix.
     19 * @param string $suffix   The CSS suffix.
     20 * @param bool   $echo     Echo the styles.
    2221 * @return string
    2322 */
     
    3231
    3332    if ( $echo ) {
    34         /**
     33        /*
    3534         * Note to reviewers: $css contains auto-generated CSS.
    3635         * It is included inside <style> tags and can only be interpreted as CSS on the browser.
Note: See TracChangeset for help on using the changeset viewer.