[wp-trac] [WordPress Trac] #52030: Media metaboxes return fatal error if no author metadata present

WordPress Trac noreply at wordpress.org
Fri Dec 11 19:02:49 UTC 2020


#52030: Media metaboxes return fatal error if no author metadata present
-------------------------------------+---------------------
 Reporter:  carloscastilloadhoc      |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  5.6.1
Component:  Media                    |     Version:  5.6
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------
Changes (by antpb):

 * keywords:   => has-patch needs-testing


Comment:

 Thanks @SergeyBiryukov , good call on consistency. I've uploaded an
 initial patch for us to work off of. @garrett-eclipse would really
 appreciate a review. Is there any other level of guard this needs? I
 assume since `new WP_User()` it can't result in fatal.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52030#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list