• Resolved perryrylance

    (@perryrylance)


    The variable $attributes is not defined in ml-slider-lightbox.php on line 180.

    I’m not sure if it’s supposed to be passed in or global, but in any case it’s undefined

    I suggest changing

    !strlen($attributes[‘href’])

    to

    empty($attributes[‘href’])

    As this would give identical behaviour without issuing a warning

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Undefined variable issuing warning (with WP_DEBUG on)’ is closed to new replies.