Changeset 2469259
- Timestamp:
- 02/05/2021 04:52:30 AM (5 years ago)
- Location:
- badad/trunk
- Files:
-
- 2 edited
-
functions.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
badad/trunk/functions.php
r2464269 r2469259 43 43 } 44 44 } 45 45 $content = '<div class="badad_ad badad_container">'.$content.'</div>'; 46 46 return $content; 47 47 } … … 114 114 // Filter this glob we got back through the API 115 115 $clean_response = $response['body']; 116 echo "<p></p>$clean_response<p></p>"; // This $response is the HTML payload fetched from our Dev API116 echo $clean_response; // This $response is the HTML payload fetched from our Dev API 117 117 } 118 118 -
badad/trunk/readme.txt
r2464296 r2469259 8 8 Author: badAd 9 9 Requires at least: 5.3.2 10 Tested up to: 5.6 10 Tested up to: 5.6.1 11 11 Stable tag: 1.2 12 12 Version: 1.2 … … 101 101 - Porting database to new web hosting or refreshing plugin installation should preserve the API connection 102 102 103 5. Developer notes :103 5. Developer notes 104 104 - Multisite: Callback files are prefixed with the site ID, seamlessly working with both multisite and single sites 105 105 - All keys and settings are stored in the database … … 111 111 - 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. 112 112 - 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.