mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-01 21:21:24 +01:00
Clarify phpdoc descriptions for esc_attr_x()
and esc_html_x()
.
props ericlewis. Fixes #24212. Built from https://develop.svn.wordpress.org/trunk@25493 git-svn-id: http://core.svn.wordpress.org/trunk@25414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4cab8cefd6
commit
bd2425dd9c
@ -219,7 +219,7 @@ function _ex( $text, $context, $domain = 'default' ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Display translated string with gettext context, and escapes it for safe use in an attribute.
|
||||
* Translate string with gettext context, and escapes it for safe use in an attribute.
|
||||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
@ -233,7 +233,7 @@ function esc_attr_x( $text, $context, $domain = 'default' ) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Display translated string with gettext context, and escapes it for safe use in HTML output.
|
||||
* Translate string with gettext context, and escapes it for safe use in HTML output.
|
||||
*
|
||||
* @since 2.9.0
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user