Ticket #48383: 48383.diff
File 48383.diff, 1.4 KB (added by , 6 years ago) |
---|
-
l10n.php
304 304 /** 305 305 * Display translated text that has been escaped for safe use in an attribute. 306 306 * 307 * Encodes < > & " ' (less than, greater than, ampersand, double quote, single quote). 308 * Will never double encode entities. 309 * If you need the value for use in PHP, use esc_attr__(). 310 * 307 311 * @since 2.8.0 308 312 * 309 313 * @param string $text Text to translate. … … 317 321 /** 318 322 * Display translated text that has been escaped for safe use in HTML output. 319 323 * 324 * If there is no translation or the domain isn't loaded, the escaped original text is shown. 325 * If you need the value for use in PHP, use esc_html__(). 326 * 320 327 * @since 2.8.0 321 328 * 322 329 * @param string $text Text to translate. … … 366 373 /** 367 374 * Translate string with gettext context, and escapes it for safe use in an attribute. 368 375 * 376 * If there is no translation or the domain isn't loaded, the escaped original text is returned. 377 * 369 378 * @since 2.8.0 370 379 * 371 380 * @param string $text Text to translate. … … 381 390 /** 382 391 * Translate string with gettext context, and escapes it for safe use in HTML output. 383 392 * 393 * If there is no translation, or the domain isn't loaded, the escaped original text is returned. 394 * 384 395 * @since 2.9.0 385 396 * 386 397 * @param string $text Text to translate.