[wp-trac] [WordPress Trac] #62767: Featured image: media-models.min.js?ver=6.8-alpha-59568:2 Uncaught TypeError: t.get is not a function

WordPress Trac noreply at wordpress.org
Thu Feb 6 17:25:18 UTC 2025


#62767: Featured image: media-models.min.js?ver=6.8-alpha-59568:2 Uncaught
TypeError: t.get is not a function
-------------------------------------+-------------------------------------
 Reporter:  nataliat2004             |       Owner:  desrosj
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  6.8
Component:  Media                    |     Version:  trunk
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-testing-info has-    |     Focuses:  javascript,
  patch commit                       |  administration
-------------------------------------+-------------------------------------
Changes (by desrosj):

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


Comment:

 In [changeset:"59768" 59768]:
 {{{
 #!CommitTicketReference repository="" revision="59768"
 Build/Test Tools: Configure UglifyJS to preserve previous behavior.

 As of UglifyJS >= 3.18.0, the default behavior is to process input as an
 ES module. This updates the relevant configurations to ensure the build
 process continues to use the previous behavior to avoid JavaScript errors
 in the minified versions of files.

 Follow up to [58563], [58586], and [59509].

 Props siliconforks, nataliat2004, poena, mai21, SergeyBiryukov.
 Fixes #62767. See #61519, #62220.
 }}}

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


More information about the wp-trac mailing list