Index: l10n.php
===================================================================
--- l10n.php	(revision 32971)
+++ l10n.php	(working copy)
@@ -280,6 +280,20 @@
 }
 
 /**
+ * Display translated string with gettext context, and escapes it for safe use in an attribute.
+ *
+ * @since 4.2.3
+ *
+ * @param string $text    Text to translate.
+ * @param string $context Context information for the translators.
+ * @param string $domain  Optional. Text domain. Unique identifier for retrieving translated strings.
+ * @return string Translated text
+ */
+function esc_attr_ex( $text, $context, $domain = 'default' ) {
+	echo esc_attr_x( $text, $context, $domain );
+}
+
+/**
  * Translate string with gettext context, and escapes it for safe use in HTML output.
  *
  * @since 2.9.0
@@ -294,6 +308,20 @@
 }
 
 /**
+ * Display translated string with gettext context, and escapes it for safe use in HTML output.
+ *
+ * @since 4.2.3
+ *
+ * @param string $text    Text to translate.
+ * @param string $context Context information for the translators.
+ * @param string $domain  Optional. Text domain. Unique identifier for retrieving translated strings.
+ * @return string Translated text.
+ */
+function esc_html_ex( $text, $context, $domain = 'default' ) {
+	echo esc_html_x( $text, $context, $domain );
+}
+
+/**
  * Retrieve the plural or single form based on the supplied amount.
  *
  * If the text domain is not set in the $l10n list, then a comparison will be made
