Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #49431, comment 3


Ignore:
Timestamp:
02/14/2020 08:30:26 AM (5 years ago)
Author:
afercia
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49431, comment 3

    v2 v3  
    11This is an example of the core implementation, where:
    22- the media uploader is initialized only when clicking on the "choose from library" button
    3 - it returns if the media frame already exist
     3- it returns early if the media frame already exist
    44
    55https://core.trac.wordpress.org/browser/trunk/src/js/_enqueues/admin/custom-background.js?rev=43347&marks=86-143#L79