Plugin Directory

Changeset 2469259


Ignore:
Timestamp:
02/05/2021 04:52:30 AM (5 years ago)
Author:
jesselsteele
Message:

DOM tweaks for consistency between shortcodes, WP ver check

Location:
badad/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • badad/trunk/functions.php

    r2464269 r2469259  
    4343      }
    4444    }
    45 
     45    $content = '<div class="badad_ad badad_container">'.$content.'</div>';
    4646  return $content;
    4747}
     
    114114    // Filter this glob we got back through the API
    115115    $clean_response = $response['body'];
    116     echo "<p></p>$clean_response<p></p>"; // This $response is the HTML payload fetched from our Dev API
     116    echo $clean_response; // This $response is the HTML payload fetched from our Dev API
    117117  }
    118118
  • badad/trunk/readme.txt

    r2464296 r2469259  
    88Author:            badAd
    99Requires at least: 5.3.2
    10 Tested up to:      5.6
     10Tested up to:      5.6.1
    1111Stable tag:        1.2
    1212Version:           1.2
     
    101101- Porting database to new web hosting or refreshing plugin installation should preserve the API connection
    102102
    103 5. Developer notes:
     1035. Developer notes
    104104- Multisite: Callback files are prefixed with the site ID, seamlessly working with both multisite and single sites
    105105- All keys and settings are stored in the database
     
    111111- Visiting the admin dashboard will automatically confirm and/or create the callback file, but the callback is only needed if making or checking the API connection, which requires visiting the plugin settings page in admin dashboard anyway. So, this is moot, but may be useful information for some developers.
    112112- Security improvement: The callback file simply captures and redirects the API connection response to the admin dashboard, which guarantees more security and level permissions checks so script kiddies have less room to mess
     113
     114= 1.2.1 =
     115
     116- Backend tweaks so both shortcodes render more similarly in HTML
     117- Tested wtih WP 5.6.1
Note: See TracChangeset for help on using the changeset viewer.