WordPress.org

Make WordPress Core

Opened 4 months ago

Last modified 4 months ago

#53755 new defect (bug)

WordPress 5.8 DatePicker component crashes

Reported by: ilenejohnson Owned by:
Milestone: Awaiting Review Priority: normal
Severity: blocker Version:
Component: Date/Time Keywords:
Focuses: Cc:

Description

when using the DatePicker component in the editor, try to change the month to input a different date. WP will crash and the error in the console is TypeError: t.onMonthPreviewed is not a function

I noticed in an article "Whats new in Gutenberg 10.9" from June of this year that bug # 31751 fix addresses this. I'm NOT using the gutenberg plugin, rather what comes with WordPress. This was not an issue in the previous version of WP.

I have cleared all caches etc tried on different computers with different test scenarios.

Change History (3)

#1 @SergeyBiryukov
4 months ago

  • Summary changed from WordPress 5.8 DatePickercomponent crashes to WordPress 5.8 DatePicker component crashes

#2 @CrazyJaco
4 months ago

Can confirm this bug. We are also experiencing this issue.
Seems to only affect DatePicker. We have temporarily changed to the DateTimePicker until this is fixed.

Looks like this was the fix in Gutenberg 10.9
https://github.com/WordPress/gutenberg/commit/749088ddf0072ca82ae297318dd29cd12d0a3c41

Note: See TracTickets for help on using tickets.