Make WordPress Core

Ticket #48383: 48383.diff

File 48383.diff, 1.4 KB (added by atachibana, 6 years ago)
  • l10n.php

     
    304304/**
    305305 * Display translated text that has been escaped for safe use in an attribute.
    306306 *
     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 *
    307311 * @since 2.8.0
    308312 *
    309313 * @param string $text   Text to translate.
     
    317321/**
    318322 * Display translated text that has been escaped for safe use in HTML output.
    319323 *
     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 *
    320327 * @since 2.8.0
    321328 *
    322329 * @param string $text   Text to translate.
     
    366373/**
    367374 * Translate string with gettext context, and escapes it for safe use in an attribute.
    368375 *
     376 * If there is no translation or the domain isn't loaded, the escaped original text is returned.
     377 *
    369378 * @since 2.8.0
    370379 *
    371380 * @param string $text    Text to translate.
     
    381390/**
    382391 * Translate string with gettext context, and escapes it for safe use in HTML output.
    383392 *
     393 * If there is no translation, or the domain isn't loaded, the escaped original text is returned.
     394 *
    384395 * @since 2.9.0
    385396 *
    386397 * @param string $text    Text to translate.