Plugin Directory

Changeset 1979129


Ignore:
Timestamp:
11/23/2018 12:09:58 AM (7 years ago)
Author:
Frumph
Message:

logic fix for comiceasel.php and adinfo script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • comic-easel/trunk/comiceasel.php

    r1979119 r1979129  
    607607
    608608function ceo_bf_add_script_to_head() {
    609     if (!empty(ceo_pluginfo('bf_adinfo'))) {
     609    $ceo_options = get_option('comiceasel-config');
     610    if (isset($ceo_options['bf_adinfo']) && !empty($ceo_options['bf_adinfo'])) {
    610611        echo '<script type="text/javascript" src="https://thor.blindferret.media/'.ceo_pluginfo('bf_adinfo').'/jita.js?dfp=1" async defer></script>'."\r\n";
    611612    }
Note: See TracChangeset for help on using the changeset viewer.