Make WordPress Core

Ticket #60415: 60415.8.patch

File 60415.8.patch, 944 bytes (added by upadalavipul, 9 months ago)

Added new patch

  • wp-includes/js/colorpicker.js

     
    284284        this.getXYPosition(anchorname);
    285285        this.x += this.offsetX;
    286286        this.y += this.offsetY;
    287         if (!this.populated && (this.contents != "")) {
     287        if (!this.populated && (this.contents !== "")) {
    288288                this.populated = true;
    289289                this.refresh();
    290290                }
  • wp-includes/js/tinymce/utils/form_utils.js

     
    129129    var stylesAr = styles.split(';');
    130130
    131131    for (var i = 0; i < stylesAr.length; i++) {
    132       if (stylesAr != "") {
     132      if (stylesAr !== "") {
    133133        var key, value;
    134134
    135135        key = stylesAr[i].split('=')[0];