Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#15422 closed defect (bug) (fixed)

Clean up variable parsing in wp_transition_comment_status

Reported by: johnjamesjacoby's profile johnjamesjacoby Owned by:
Milestone: 3.1 Priority: normal
Severity: trivial Version: 3.0.1
Component: Comments Keywords: has-patch
Focuses: Cc:

Description

Patch improves readability of variable parsing inside do_action's.

A quick grep pulled about 30 other seemingly functional but unpretty cases like this.

Attachments (1)

wp_transition_comment_status.patch (603 bytes) - added by johnjamesjacoby 13 years ago.
Variable parsing improvements

Download all attachments as: .zip

Change History (3)

@johnjamesjacoby
13 years ago

Variable parsing improvements

#1 @scribu
13 years ago

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

(In [16365]) Improve hook readability via curly brackets. Props jjj for initial patch. Fixes #15422

#2 @scribu
13 years ago

  • Milestone changed from Awaiting Review to 3.1
Note: See TracTickets for help on using tickets.