Index: author-template.php
===================================================================
--- author-template.php	(revision 32295)
+++ author-template.php	(working copy)
@@ -69,12 +69,19 @@
  * Retrieve the author who last edited the current post.
  *
  * @since 2.8.0
+ * @since 4.3.0 Added the `$field` parameter.
+ * @param string $field Optional. User field to retrieve for the modified author. Accepts any WP_User field. Default 'display_name'.
  *
  * @return string The author's display name.
  */
-function get_the_modified_author() {
+function get_the_modified_author( $field = 'display_name' ) {
 	if ( $last_id = get_post_meta( get_post()->ID, '_edit_last', true) ) {
 		$last_user = get_userdata($last_id);
+		
+		if ( in_array ( $field, array( 'login', 'pass', 'nicename', 'email', 'url', 'registered', 'activation_key', 'status' ) ) )
+                $field = 'user_' . $field;
+		if( ! isset ( $last_user->$field ) )
+				$field = '';
 
 		/**
 		 * Filter the display name of the author who last edited the current post.
@@ -83,7 +90,7 @@
 		 *
 		 * @param string $last_user->display_name The author's display name.
 		 */
-		return apply_filters('the_modified_author', $last_user->display_name);
+		return apply_filters('the_modified_author', $last_user->$field);
 	}
 }
 
@@ -91,12 +98,14 @@
  * Display the name of the author who last edited the current post.
  *
  * @since 2.8.0
+ * @since 4.3.0 Added the `$field` parameter.
+ * @param string $field Optional. User field to retrieve for the modified author. Accepts any WP_User field. Default 'display_name'.
  *
  * @see get_the_author()
  * @return string The author's display name, from get_the_modified_author().
  */
-function the_modified_author() {
-	echo get_the_modified_author();
+function the_modified_author( $field = 'display_name' ) {
+	echo get_the_modified_author( $field );
 }
 
 /**
