classes/Validate/Check/SamePageTitleInSameSite.php
Avoid using undefined variables such as '::$error_ids' which will lead to PHP notices. Open
Open
static::addErrorToHtml($url, 'same_page_title_in_same_site', static::$error_ids[$url]);
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}