Skip to content

Commit

Permalink
Merge pull request #274 from dxw/fix/warning
Browse files Browse the repository at this point in the history
Define function variables
  • Loading branch information
leedxw authored Dec 17, 2024
2 parents c24ffe5 + 26d860c commit bc8f3fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/about-widget.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ public function widget($args, $instance)

public function form($instance)
{
$title = '';
$desc = '';
if (isset($instance[ 'title' ])) {
$title = $instance[ 'title' ];
}
Expand Down

0 comments on commit bc8f3fe

Please sign in to comment.