[wp-trac] [WordPress Trac] #51395: The attachment modal is not opened when reloading the page

WordPress Trac noreply at wordpress.org
Sun Sep 27 08:48:21 UTC 2020


#51395: The attachment modal is not opened when reloading the page
---------------------------------+-----------------------------------------
 Reporter:  Mista-Flo            |       Owner:  SergeyBiryukov
     Type:  defect (bug)         |      Status:  closed
 Priority:  normal               |   Milestone:  5.6
Component:  Media                |     Version:
 Severity:  normal               |  Resolution:  fixed
 Keywords:  has-patch dev-       |     Focuses:  javascript, administration
  feedback                       |
---------------------------------+-----------------------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"49062" 49062]:
 {{{
 #!CommitTicketReference repository="" revision="49062"
 Media: Check if the item is defined before setting the `skipHistory`
 property in media frame router.

 This avoids a JS error when refreshing the "Attachment details" modal for
 an item that is not currently queried.

 Follow-up to [41021].

 Props Mista-Flo, mukesh27.
 Fixes #51395.
 }}}

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


More information about the wp-trac mailing list