Changeset 2452 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/formatting.php
- Timestamp:
- 02/03/2016 09:44:26 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/formatting.php
r2430 r2452 220 220 */ 221 221 public static function format_param_description( $text ) { 222 // Encode all htmlentities .223 $text = htmlentities( $text );222 // Encode all htmlentities (but don't double-encode). 223 $text = htmlentities( $text, ENT_COMPAT | ENT_HTML401, 'UTF-8', false ); 224 224 225 225 // Simple allowable tags that should get unencoded.
Note: See TracChangeset
for help on using the changeset viewer.