WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/28/2020 02:00:26 PM (17 months ago)
Author:
SergeyBiryukov
Message:

Docs: Replace "html" and "xhtml" instances in DocBlocks and comments with "HTML" and "XHTML".

This ensures consistent capitalization where appropriate.

Props navidos, desrosj.
Fixes #50473.

File:
1 edited

Legend:

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

    r48185 r48199  
    929929 *                                    Default is ENT_NOQUOTES.
    930930 * @param false|string $charset       Optional. The character encoding of the string. Default false.
    931  * @param bool         $double_encode Optional. Whether to encode existing html entities. Default false.
     931 * @param bool         $double_encode Optional. Whether to encode existing HTML entities. Default false.
    932932 * @return string The encoded text with HTML entities.
    933933 */
     
    51375137
    51385138/**
    5139  * Safely extracts not more than the first $count characters from html string.
     5139 * Safely extracts not more than the first $count characters from HTML string.
    51405140 *
    51415141 * UTF-8, tags and entities safe prefix extraction. Entities inside will *NOT*
     
    60146014 * Saving hex colors without a hash puts the burden of adding the hash on the
    60156015 * UI, which makes it difficult to use or upgrade to other color types such as
    6016  * rgba, hsl, rgb, and html color names.
     6016 * rgba, hsl, rgb, and HTML color names.
    60176017 *
    60186018 * Returns either '', a 3 or 6 digit hex color (without a #), or null.
Note: See TracChangeset for help on using the changeset viewer.