Make WordPress Core

Ticket #44951: author-template.php.patch

File author-template.php.patch, 509 bytes (added by promz, 6 years ago)
  • author-template.php

     
    8888 * @return string|void The author's display name.
    8989 */
    9090function get_the_modified_author() {
    91         if ( $last_id = get_post_meta( get_post()->ID, '_edit_last', true ) ) {
     91       
     92        $last_id = get_post_meta( get_post()->ID, '_edit_last', true );
     93
     94        if ( $last_id ) {
    9295                $last_user = get_userdata( $last_id );
    9396
    9497                /**