Clarify phpdoc descriptions for `esc_attr_x()` and `esc_html_x()`.
props ericlewis. Fixes #24212. git-svn-id: https://develop.svn.wordpress.org/trunk@25493 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b6c078fc00
commit
799e129e1f
|
@ -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
|
* @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
|
* @since 2.9.0
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue