Support » Plugin: Google Fonts Typography » Undefined variable: time includes/class-ogf-notifications.php line 268

  • Resolved Modern Web Services

    (@modernwebservices)


    Version: 1.6.2
    File: olympus-google-fonts/includes/class-ogf-notifications.php
    Function: OGF_Notifications::addon()

    Issue: Line ~286 has a fragment esc_html( $time ), however $time is undefined.

    I believe this function should have something like the following at line ~2:
    $time = $this->seconds_to_words( time() - get_site_option( $this->date_option ) );

    The effect of this is that in dev environments (ie debugging on), the system renders a stack trace in the ‘Speed Up Your Website!’ notice on admin pages.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Undefined variable: time includes/class-ogf-notifications.php line 268’ is closed to new replies.