Forums

[Plugin: AdSense Integrator] Margins always reset to px (with solution) (3 posts)

  1. eistea
    Member
    Posted 2 years ago #

    Hi,

    Great plugin.

    There's just a little issue with margins: the measurement unit always gets reset to px and can't be changed permanently.

    That's caused by two little typos.
    Line 1349 and 1350 currently are:

    if($_POST['asd_int_margin_um'] != '')
      $ads_int_ads['margin_um'] = trim($_POST['asd_int_margin_um']);

    While they should be:

    if($_POST['ads_int_margin_um'] != '')
      $ads_int_ads['margin_um'] = trim($_POST['ads_int_margin_um']);

    cheers,
    eistea

  2. mywpplugin
    Member
    Posted 2 years ago #

    Hi!
    Many thanks, I've just updated the plugin with this bugfix and others!

    best,
    Alan

  3. dragonblogger
    Member
    Posted 2 years ago #

    I have the following problem with plug-in:

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of preg_match_all(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/germinoj/dragonblogger.com/wp-content/plugins/adsense-integrator/adsense-integrator.php on line 711

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of preg_match_all(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /home/germinoj/dragonblogger.com/wp-content/plugins/adsense-integrator/adsense-integrator.php on line 725

Topic Closed

This topic has been closed to new replies.

About this Topic