[wp-trac] [WordPress Trac] #50408: Update moment.js lib to its latest version
WordPress Trac
noreply at wordpress.org
Wed Jun 17 09:50:08 UTC 2020
#50408: Update moment.js lib to its latest version
--------------------------------+-----------------------------
Reporter: yoancutillas | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: External Libraries | Version: 5.4.2
Severity: normal | Keywords:
Focuses: |
--------------------------------+-----------------------------
Hello,
The core-bundled **momentjs library hasn't been updated in two years**
(2.22.2 - Jun 1, 2018).
JQMigrate displays a deprecation warning:
{{{
Deprecation warning: use moment.updateLocale(localeName, config) to change
an existing locale. moment.defineLocale(localeName, config) should only be
used for creating a new locale See http://momentjs.com/guides/#/warnings
/define-locale/ for more info.
}}}
And some plugins and themes encounter **javascript fatal errors
(blocking)** because of it:
- https://wordpress.org/support/topic/cannot-edit-calendar-or-activities/
- https://wordpress.org/support/topic/moment-js-integration-conflict/
- https://wordpress.org/support/topic/minified-moment-js-library-causes-
conflict-with-the-events-calendar-plugin/
- https://wordpress.org/support/topic/calendar-not-loading-9/
Is it possible to update momentjs to its latest version (currently 2.26.0
- May 20, 2020)?
{{{
wp-includes\js\dist\vendor\moment.js
wp-includes\js\dist\vendor\moment.min.js
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50408>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list