WordPress.org

Make WordPress Core

Ticket #43331: 43331.diff

File 43331.diff, 554 bytes (added by afercia, 3 years ago)
  • src/wp-admin/js/color-picker.js

     
    2828                        type: 'full',
    2929                        slider: 'horizontal'
    3030                },
     31                /*
     32                 * Avoid error with plugins that overwrite the _create method and haven't
     33                 * updated it after changeset 41329 in WordPress 4.9. See Trac ticket #43331.
     34                 */
     35                inputWrapper: $(),
    3136                /**
    3237                 * Creates a color picker that only allows you to adjust the hue.
    3338                 *