WordPress.org

Make WordPress Core

Ticket #52030: 52030.patch

File 52030.patch, 457 bytes (added by antpb, 6 months ago)

initial patch for attachment_submitbox_metadata

  • src/wp-admin/includes/media.php

     
    32883288
    32893289        $att_url = wp_get_attachment_url( $attachment_id );
    32903290
    3291         $author = get_userdata( $post->post_author );
     3291        $author = new WP_User( $post->post_author );
    32923292
    32933293        $uploaded_by_name = __( '(no author)' );
    32943294        $uploaded_by_link = '';