Changeset 48199 for trunk/src/wp-includes/formatting.php
- Timestamp:
- 06/28/2020 02:00:26 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r48185 r48199 929 929 * Default is ENT_NOQUOTES. 930 930 * @param false|string $charset Optional. The character encoding of the string. Default false. 931 * @param bool $double_encode Optional. Whether to encode existing htmlentities. Default false.931 * @param bool $double_encode Optional. Whether to encode existing HTML entities. Default false. 932 932 * @return string The encoded text with HTML entities. 933 933 */ … … 5137 5137 5138 5138 /** 5139 * Safely extracts not more than the first $count characters from htmlstring.5139 * Safely extracts not more than the first $count characters from HTML string. 5140 5140 * 5141 5141 * UTF-8, tags and entities safe prefix extraction. Entities inside will *NOT* … … 6014 6014 * Saving hex colors without a hash puts the burden of adding the hash on the 6015 6015 * UI, which makes it difficult to use or upgrade to other color types such as 6016 * rgba, hsl, rgb, and htmlcolor names.6016 * rgba, hsl, rgb, and HTML color names. 6017 6017 * 6018 6018 * Returns either '', a 3 or 6 digit hex color (without a #), or null.
Note: See TracChangeset
for help on using the changeset viewer.