Open NikV opened 10 years ago
I've added some minor comments to this version of the widget.
Using IS_Inbox_Status::get_template for the widget content allows the widget output to be overridden in a theme by copying the inbox-status-theme directory into their theme.
Instructions for overriding input added in the templates directory.
This contains an inline function. The comment is great, however I feel it would be better above the add_action() as it would describe what the entire block of code is doing instead of having the comment inside of it. The reader then has to realize the comment also involves the line of code above it.
Thoughts?