WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#48980 closed enhancement (fixed)

Javascript coding standard warning - jshint warning

Reported by: ankitmaru Owned by: 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 2 years ago.

Download all attachments as: .zip

Change History (4)

@ankitmaru
2 years ago

#1 @SergeyBiryukov
2 years ago

  • Milestone changed from Awaiting Review to 5.4

#2 @SergeyBiryukov
2 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
2 years ago

#48981 was marked as a duplicate.

Note: See TracTickets for help on using tickets.