[PATCH] Undefined variable: $r
In some posts I get the following warning with WP_DEBUG turned on:
Notice: Undefined variable: r in /path/to/wp-content/plugins/better-related/inc/frontend.php on line 169
Method get_the_related() should either define $r at the top and use $r .= everywhere else or change
return isset($r) ? $r : '';
at the end of the function.
- The topic ‘[PATCH] Undefined variable: $r’ is closed to new replies.