Make WordPress Core

Changeset 48210


Ignore:
Timestamp:
06/29/2020 09:47:11 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Customize: Ensure the default message in LockedNotification is set to a string instead of null.

This avoids a JS error when passing the message to wp.a11y.speak() when showing the "changeset is locked" overlay to prevent two users from editing the same changeset simultaneously.

Props dlh.
Fixes #50500.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/js/_enqueues/wp/customize/controls.js

    r48168 r48210  
    81298129                    _params = _.extend(
    81308130                        {
     8131                            message: '',
    81318132                            type: 'warning',
    81328133                            containerClasses: '',
Note: See TracChangeset for help on using the changeset viewer.