Index: wp-includes/formatting.php
===================================================================
--- wp-includes/formatting.php	(revision 31811)
+++ wp-includes/formatting.php	(working copy)
@@ -3209,6 +3209,18 @@
 }
 
 /**
+ * Wrapper for esc_attr
+ *
+ * @since 4.2
+ * @uses esc_attr
+ *
+ * @param $text
+ */
+function echo_attr( $text ) {
+	echo esc_attr( $text );
+}
+
+/**
  * Escaping for textarea values.
  *
  * @since 3.1.0
