WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 4 years ago

#10245 closed enhancement (fixed)

Remove some variables unecessarily wrapped in quotes

Reported by: johnbillion Owned by:
Milestone: 3.0 Priority: lowest
Severity: minor Version: 2.8
Component: Optimization Keywords: has-patch early
Focuses: Cc:

Description

Several variables are unecessarily wrapped in "double quotes" when echoing/assigning/etc. Let's pull them out to gain a millisecond or three.

Attachments (1)

10245.patch (13.2 KB) - added by johnbillion 5 years ago.

Download all attachments as: .zip

Change History (6)

johnbillion5 years ago

comment:1 johnbillion5 years ago

  • Keywords has-patch added

Patch

comment:2 Denis-de-Bernardy5 years ago

  • Keywords close added
  • Milestone changed from Unassigned to 2.9

I believe most of this is done on purpose

comment:3 Denis-de-Bernardy5 years ago

  • Owner Denis-de-Bernardy deleted
  • Status changed from new to assigned

comment:4 ryan4 years ago

  • Keywords early added; close removed
  • Milestone changed from 2.9 to 3.0

Seems fine, but let's wait for 3.0.

comment:5 ryan4 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [12513]) Remove unneeded quotes around vars. Props johnbillion. fixes #10245

Note: See TracTickets for help on using tickets.