Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#15422 closed defect (bug) (fixed)

Clean up variable parsing in wp_transition_comment_status

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


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 5 years ago.
Variable parsing improvements

Download all attachments as: .zip

Change History (3)

5 years ago

Variable parsing improvements

#1 @scribu
5 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
5 years ago

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