Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#15422 closed defect (bug) (fixed)

Clean up variable parsing in wp_transition_comment_status

Reported by: johnjamesjacoby Owned by:
Priority: normal Milestone: 3.1
Component: Comments Version: 3.0.1
Severity: trivial Keywords: has-patch
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 3 years ago.
Variable parsing improvements

Download all attachments as: .zip

Change History (3)

Variable parsing improvements

  • 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

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