Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#48980 closed enhancement (fixed)

Javascript coding standard warning - jshint warning

Reported by: ankitmaru's profile ankitmaru Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 5.4 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch
Focuses: javascript, coding-standards Cc:

Description

If condition curly braces missing / not as per coding standards.

Attachments (1)

util.js.patch (619 bytes) - added by ankitmaru 5 years ago.

Download all attachments as: .zip

Change History (4)

@ankitmaru
5 years ago

#1 @SergeyBiryukov
5 years ago

  • Milestone changed from Awaiting Review to 5.4

#2 @SergeyBiryukov
5 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 46960:

Coding Standards: Add missing braces to if conditions in js/_enqueues/wp/util.js.

Props ankitmaru.
Fixes #48980.

#3 @SergeyBiryukov
5 years ago

#48981 was marked as a duplicate.

Note: See TracTickets for help on using tickets.