Make WordPress Core


Ignore:
Timestamp:
07/23/2020 09:09:04 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Another pass at some inline docs fixes mostly made by PHPCBF.

See #49572, #50744

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/formatting.php

    r48575 r48590  
    747747 * @since 4.2.3
    748748 *
    749  * @param string $haystack The text which has to be formatted.
    750  * @param array $replace_pairs In the form array('from' => 'to', ...).
     749 * @param string $haystack      The text which has to be formatted.
     750 * @param array  $replace_pairs In the form array('from' => 'to', ...).
    751751 * @return string The formatted text.
    752752 */
     
    10911091 * @since 2.8.0
    10921092 *
    1093  * @param string  $string The text which is to be checked.
    1094  * @param bool    $strip  Optional. Whether to attempt to strip out invalid UTF8. Default false.
     1093 * @param string $string The text which is to be checked.
     1094 * @param bool   $strip  Optional. Whether to attempt to strip out invalid UTF8. Default false.
    10951095 * @return string The checked text.
    10961096 */
     
    49244924 * Parses a string into variables to be stored in an array.
    49254925 *
    4926  *
    49274926 * @since 2.2.1
    49284927 *
     
    53645363 * @access private
    53655364 *
    5366  * @param string $str String to sanitize.
    5367  * @param bool $keep_newlines optional Whether to keep newlines. Default: false.
     5365 * @param string $str           String to sanitize.
     5366 * @param bool   $keep_newlines Optional. Whether to keep newlines. Default: false.
    53685367 * @return string Sanitized string.
    53695368 */
Note: See TracChangeset for help on using the changeset viewer.