WordPress.org

Make WordPress Core

Ticket #24212: 24212.3.patch

File 24212.3.patch, 918 bytes (added by dimadin, 22 months ago)
  • wp-includes/l10n.php

     
    206206} 
    207207 
    208208/** 
    209  * Displays translated string with gettext context and escapes it for safe use in an attribute. 
     209 * Retrieves the translation of $text with gettext context and 
     210 * escapes it for safe use in an attribute. If there is no translation, 
     211 * or the domain isn't loaded, the original text is returned. 
    210212 * 
    211213 * @see esc_attr() 
    212214 * @since 2.8.0 
     
    221223} 
    222224 
    223225/** 
    224  * Displays translated string with gettext context and escapes it for safe use in HTML output. 
     226 * Retrieves the translation of $text with gettext context and 
     227 * escapes it for safe use in HTML output. If there is no translation, 
     228 * or the domain isn't loaded, the original text is returned. 
    225229 * 
    226230 * @see esc_html() 
    227231 * @since 2.9.0